提交 6d366187 编写于 作者: J Juncheng

fix



Former-commit-id: fe7f367d4410e66d9559566ccc175bf0632ecf0f
上级 35e93a89
......@@ -52,7 +52,8 @@ void BoxingAlignBroadcastReshapeOp::InferOutputBlobModelSplitAxis(
std::function<int32_t*(const std::string&)> ModelSplitAxis4BnInOp,
std::function<int32_t(const std::string&)> ShapeNumAxes4BnInOp,
const ParallelContext* parallel_context) const {
UNIMPLEMENTED();
CHECK_EQ(parallel_context->policy(), kDataParallel);
NaiveInferOutputBlobModelSplitAxis(ModelSplitAxis4BnInOp, ShapeNumAxes4BnInOp, parallel_context);
}
REGISTER_OP(OperatorConf::kBoxingAlignBroadcastReshapeConf, BoxingAlignBroadcastReshapeOp);
......
......@@ -44,7 +44,8 @@ void MultipleGatherOp::InferOutputBlobModelSplitAxis(
std::function<int32_t*(const std::string&)> ModelSplitAxis4BnInOp,
std::function<int32_t(const std::string&)> ShapeNumAxes4BnInOp,
const ParallelContext* parallel_context) const {
UNIMPLEMENTED();
CHECK_EQ(parallel_context->policy(), kDataParallel);
NaiveInferOutputBlobModelSplitAxis(ModelSplitAxis4BnInOp, ShapeNumAxes4BnInOp, parallel_context);
}
REGISTER_OP(OperatorConf::kMultipleGatherConf, MultipleGatherOp);
......
......@@ -30,7 +30,8 @@ void ResizeReshapeOp::InferOutputBlobModelSplitAxis(
std::function<int32_t*(const std::string&)> ModelSplitAxis4BnInOp,
std::function<int32_t(const std::string&)> ShapeNumAxes4BnInOp,
const ParallelContext* parallel_context) const {
UNIMPLEMENTED();
CHECK_EQ(parallel_context->policy(), kDataParallel);
NaiveInferOutputBlobModelSplitAxis(ModelSplitAxis4BnInOp, ShapeNumAxes4BnInOp, parallel_context);
}
REGISTER_OP(OperatorConf::kResizeReshapeConf, ResizeReshapeOp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册