Commit 21991697 authored by Khalique's avatar Khalique
Browse files

Merge branch 'develop' of https://github.com/ROCmSoftwarePlatform/AMDMIGraphX into tf_pb_py

parents 7faa706b 154f21f6
...@@ -157,7 +157,7 @@ struct onnx_parser ...@@ -157,7 +157,7 @@ struct onnx_parser
template <class T> template <class T>
instruction_ref add_broadcastable_binary_op(instruction_ref arg0, instruction_ref arg1, T x) instruction_ref add_broadcastable_binary_op(instruction_ref arg0, instruction_ref arg1, T x)
{ {
if(arg0->get_shape() != arg1->get_shape()) if(arg0->get_shape().lens() != arg1->get_shape().lens())
{ {
// Example: // Example:
// s0 = (3,2,4,5) and s1 = (2,1,1) // s0 = (3,2,4,5) and s1 = (2,1,1)
......
...@@ -167,7 +167,7 @@ struct tf_parser ...@@ -167,7 +167,7 @@ struct tf_parser
template <class T> template <class T>
instruction_ref add_broadcastable_binary_op(instruction_ref arg0, instruction_ref arg1, T x) instruction_ref add_broadcastable_binary_op(instruction_ref arg0, instruction_ref arg1, T x)
{ {
if(arg0->get_shape() != arg1->get_shape()) if(arg0->get_shape().lens() != arg1->get_shape().lens())
{ {
// Example: // Example:
// s0 = (3,2,4,5) and s1 = (2,1,1) // s0 = (3,2,4,5) and s1 = (2,1,1)
......
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