From: QingFu Wei <31616486+yzwqf@users.noreply.github.com> Date: Tue, 21 Jul 2020 14:51:33 +0000 (+0800) Subject: delete declaration of unused op_node (#6102) X-Git-Tag: upstream/0.7.0~377 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cc0c93403a4a465f2b4be53964e4ad5504be4f2;p=platform%2Fupstream%2Ftvm.git delete declaration of unused op_node (#6102) --- 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;