ir_version: 6 producer_name: "nGraph ONNX Importer" graph { node { input: "data" input: "shape" output: "reshaped" op_type: "Reshape" } name: "test_reshape_negative_dim" initializer { dims: 3 data_type: 7 int64_data: 2 int64_data: -1 int64_data: 2 name: "shape" } input { name: "data" type { tensor_type { elem_type: 1 shape { dim { dim_value: 2 } dim { dim_value: 3 } dim { dim_value: 4 } } } } } input { name: "shape" type { tensor_type { elem_type: 7 shape { dim { dim_value: 3 } } } } } output { name: "reshaped" type { tensor_type { elem_type: 1 shape { dim { dim_value: 2 } dim { dim_value: 6 } dim { dim_value: 2 } } } } } } opset_import { version: 1 }