Commit aaf0f9e1 authored by Khalique's avatar Khalique
Browse files

fix merge issue with constantfill

parent 924aa8e5
...@@ -599,6 +599,11 @@ struct onnx_parser ...@@ -599,6 +599,11 @@ struct onnx_parser
input_as_shape = parse_value(attributes.at("input_as_shape")).at<int>(); input_as_shape = parse_value(attributes.at("input_as_shape")).at<int>();
} }
if(contains(attributes, "value"))
{
value = parse_value(attributes.at("value")).at<float>();
}
if(contains(attributes, "extra_shape")) if(contains(attributes, "extra_shape"))
{ {
MIGRAPHX_THROW("ConstantFill: cannot handle extra shape attribute"); MIGRAPHX_THROW("ConstantFill: cannot handle extra shape attribute");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment