Unverified Commit 7aa5e8ee authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Fix DepthToSpace in op_tbl (#4376)

Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
parent e5d122c8
...@@ -78,7 +78,7 @@ NGRAPH_OP(CrossEntropyBackprop, ngraph::op, 0) ...@@ -78,7 +78,7 @@ NGRAPH_OP(CrossEntropyBackprop, ngraph::op, 0)
NGRAPH_OP(CumSum, ngraph::op::v0, 0) NGRAPH_OP(CumSum, ngraph::op::v0, 0)
NGRAPH_OP(DeformableConvolution, ngraph::op::v1, 1) NGRAPH_OP(DeformableConvolution, ngraph::op::v1, 1)
NGRAPH_OP(DeformablePSROIPooling, ngraph::op::v1, 1) NGRAPH_OP(DeformablePSROIPooling, ngraph::op::v1, 1)
NGRAPH_OP(DepthToSpace, ngraph::op::v0, 1) NGRAPH_OP(DepthToSpace, ngraph::op::v0, 0)
NGRAPH_OP(Dequantize, ngraph::op, 0) NGRAPH_OP(Dequantize, ngraph::op, 0)
NGRAPH_OP(DetectionOutput, ngraph::op::v0, 0) NGRAPH_OP(DetectionOutput, ngraph::op::v0, 0)
NGRAPH_OP(Divide, ngraph::op::v0, 0) NGRAPH_OP(Divide, ngraph::op::v0, 0)
......
...@@ -1761,7 +1761,7 @@ std::string runtime::gpu::GPU_Emitter::emit_v0_CTCGreedyDecoder(EMIT_ARGS) ...@@ -1761,7 +1761,7 @@ std::string runtime::gpu::GPU_Emitter::emit_v0_CTCGreedyDecoder(EMIT_ARGS)
throw unsupported_op("Unsupported op '" + node->description() + "'"); throw unsupported_op("Unsupported op '" + node->description() + "'");
} }
std::string runtime::gpu::GPU_Emitter::emit_v1_DepthToSpace(EMIT_ARGS) std::string runtime::gpu::GPU_Emitter::emit_v0_DepthToSpace(EMIT_ARGS)
{ {
throw unsupported_op("Unsupported op '" + node->description() + "'"); throw unsupported_op("Unsupported op '" + node->description() + "'");
} }
......
...@@ -1431,7 +1431,7 @@ shared_ptr<Node> JSONDeserializer::deserialize_node(json node_js) ...@@ -1431,7 +1431,7 @@ shared_ptr<Node> JSONDeserializer::deserialize_node(json node_js)
} }
break; break;
} }
case OP_TYPEID::DepthToSpace_v1: case OP_TYPEID::DepthToSpace:
{ {
auto mode = node_js.at("mode").get<op::DepthToSpace::DepthToSpaceMode>(); auto mode = node_js.at("mode").get<op::DepthToSpace::DepthToSpaceMode>();
auto block_size = node_js.at("block_size").get<size_t>(); auto block_size = node_js.at("block_size").get<size_t>();
...@@ -3572,7 +3572,7 @@ json JSONSerializer::serialize_node(const Node& n) ...@@ -3572,7 +3572,7 @@ json JSONSerializer::serialize_node(const Node& n)
node["axes"] = serialize_axis_set(tmp->get_axes()); node["axes"] = serialize_axis_set(tmp->get_axes());
break; break;
} }
case OP_TYPEID::DepthToSpace_v1: case OP_TYPEID::DepthToSpace:
{ {
auto tmp = static_cast<const op::DepthToSpace*>(&n); auto tmp = static_cast<const op::DepthToSpace*>(&n);
node["type"] = write_element_type(tmp->get_element_type()); node["type"] = write_element_type(tmp->get_element_type());
......
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