提交 affce29b 编写于 作者: L liuqi

Remove unsed code.

上级 241b8fd8
...@@ -19,10 +19,7 @@ struct SpaceToBatchFunctor { ...@@ -19,10 +19,7 @@ struct SpaceToBatchFunctor {
const Tensor *block_shape_tensor, const Tensor *block_shape_tensor,
const Tensor *paddings_tensor, const Tensor *paddings_tensor,
Tensor *output_tensor) { Tensor *output_tensor) {
MACE_CHECK_NOTNULL(input_tensor); MACE_NOT_IMPLEMENTED;
MACE_CHECK_NOTNULL(block_shape_tensor);
MACE_CHECK_NOTNULL(paddings_tensor);
MACE_CHECK_NOTNULL(output_tensor);
} }
bool b2s_; bool b2s_;
......
...@@ -62,34 +62,6 @@ cc_test( ...@@ -62,34 +62,6 @@ cc_test(
], ],
) )
cc_test(
name = "space_to_batch_test",
testonly = 1,
srcs = glob(["space_to_batch_test.cc"]),
copts = ["-std=c++11"],
linkopts = ["-fopenmp"] + if_android(["-ldl"]),
linkstatic = 1,
deps = [
":ops",
":test",
"@gtest//:gtest_main",
],
)
cc_test(
name = "conv_atrous_2d_test",
testonly = 1,
srcs = glob(["conv_atrous_2d_test.cc"]),
copts = ["-std=c++11"],
linkopts = ["-fopenmp"] + if_android(["-ldl"]),
linkstatic = 1,
deps = [
":ops",
":test",
"@gtest//:gtest_main",
],
)
cc_test( cc_test(
name = "ops_benchmark", name = "ops_benchmark",
testonly = 1, testonly = 1,
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
namespace mace { namespace mace {
REGISTER_CPU_OPERATOR(BatchToSpaceND, BatchToSpaceNDOp<DeviceType::CPU, float>);
REGISTER_OPENCL_OPERATOR(BatchToSpaceND, BatchToSpaceNDOp<DeviceType::OPENCL, float>); REGISTER_OPENCL_OPERATOR(BatchToSpaceND, BatchToSpaceNDOp<DeviceType::OPENCL, float>);
} // namespace mace } // namespace mace
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
namespace mace { namespace mace {
REGISTER_CPU_OPERATOR(SpaceToBatchND, SpaceToBatchNDOp<DeviceType::CPU, float>);
REGISTER_OPENCL_OPERATOR(SpaceToBatchND, SpaceToBatchNDOp<DeviceType::OPENCL, float>); REGISTER_OPENCL_OPERATOR(SpaceToBatchND, SpaceToBatchNDOp<DeviceType::OPENCL, float>);
} // namespace mace } // namespace mace
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册