Skip to content

Commit

Permalink
delete declaration of unused op_node (#6102)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzwqf authored Jul 21, 2020
1 parent cd28149 commit 7cc0c93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/te/operation/compute_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Array<PrimExpr> BaseComputeOpNode::output_shape(size_t idx) const {

Tensor compute(Array<PrimExpr> shape, FCompute fcompute, std::string name, std::string tag,
Map<String, ObjectRef> attrs) {
auto op_node = make_object<ComputeOpNode>();
// compute dimension.
size_t ndim = shape.size();
std::vector<IterVar> axis;
Expand All @@ -105,7 +104,6 @@ Tensor compute(Array<PrimExpr> shape, FCompute fcompute, std::string name, std::

Array<Tensor> compute(Array<PrimExpr> shape, FBatchCompute fcompute, std::string name,
std::string tag, Map<String, ObjectRef> attrs) {
auto op_node = make_object<ComputeOpNode>();
// compute dimension.
size_t ndim = shape.size();
std::vector<IterVar> axis;
Expand Down

0 comments on commit 7cc0c93

Please sign in to comment.