Skip to content

Commit

Permalink
delete declaration of unused op_node (apache#6102)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzwqf authored and Trevor Morris committed Aug 26, 2020
1 parent 695c3f7 commit b2c3991
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 b2c3991

Please sign in to comment.