This will skip fix_shape for TFAdd node when it's disconnected from some transformation
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
{
auto x = node->x();
auto y = node->y();
+ if (x == nullptr || y == nullptr)
+ {
+ // this node maybe disconnected by some transformation
+ // TODO remove this block after fixing to iterate only active nodes
+ return false;
+ }
auto x_shapedata = x->annot<ShapeInferenceData>();
auto y_shapedata = y->annot<ShapeInferenceData>();
if (x_shapedata == nullptr || y_shapedata == nullptr)