From 7cc0c93403a4a465f2b4be53964e4ad5504be4f2 Mon Sep 17 00:00:00 2001 From: QingFu Wei <31616486+yzwqf@users.noreply.github.com> Date: Tue, 21 Jul 2020 22:51:33 +0800 Subject: [PATCH] delete declaration of unused op_node (#6102) --- src/te/operation/compute_op.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/te/operation/compute_op.cc b/src/te/operation/compute_op.cc index 36d2d33..62369f9 100644 --- a/src/te/operation/compute_op.cc +++ b/src/te/operation/compute_op.cc @@ -88,7 +88,6 @@ Array BaseComputeOpNode::output_shape(size_t idx) const { Tensor compute(Array shape, FCompute fcompute, std::string name, std::string tag, Map attrs) { - auto op_node = make_object(); // compute dimension. size_t ndim = shape.size(); std::vector axis; @@ -105,7 +104,6 @@ Tensor compute(Array shape, FCompute fcompute, std::string name, std:: Array compute(Array shape, FBatchCompute fcompute, std::string name, std::string tag, Map attrs) { - auto op_node = make_object(); // compute dimension. size_t ndim = shape.size(); std::vector axis; -- 2.7.4