提交 cc3d9492 编写于 作者: Z zlsh80826

remove slice, scale op, will add later

上级 6e3255a1
...@@ -54,35 +54,38 @@ struct SimpleOpTypeSetTeller : public Teller { ...@@ -54,35 +54,38 @@ struct SimpleOpTypeSetTeller : public Teller {
"leaky_relu", "leaky_relu",
"fc", "fc",
"relu6", "relu6",
"concat"}; "concat",
std::unordered_set<std::string> teller_set{"mul", "scale",
"conv2d", "elementwise_mul",
"pool2d", "conv2d_transpose"};
"relu", std::unordered_set<std::string> teller_set{
"softmax", "mul",
"sigmoid", "conv2d",
"hard_swish", "pool2d",
"depthwise_conv2d", "relu",
"batch_norm", "softmax",
"concat", "sigmoid",
"tanh", "hard_swish",
"pad", "depthwise_conv2d",
"elementwise_add", "batch_norm",
"elementwise_mul", "concat",
"dropout", "tanh",
"prelu", "pad",
"conv2d_transpose", "elementwise_add",
"leaky_relu", "elementwise_mul",
"fc", "dropout",
"shuffle_channel", "prelu",
"swish", "conv2d_transpose",
"split", "leaky_relu",
"instance_norm", "fc",
"gelu", "shuffle_channel",
"layer_norm", "swish",
"scale", "split",
"slice", "instance_norm",
"stack"}; "gelu",
"layer_norm",
"scale",
};
}; };
bool OpTeller::Tell(const std::string& op_type, const framework::OpDesc& desc, bool OpTeller::Tell(const std::string& op_type, const framework::OpDesc& desc,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册