Skip to content

Commit 6ac7d3a

Browse files
committed
[checkpoint] rebase
1 parent 10ca25c commit 6ac7d3a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/relay/op/memory/on_device.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,7 @@ RELAY_REGISTER_OP("on_device")
8888
.set_attr<TOpPattern>("TOpPattern", kOpaque)
8989
.set_attr<TOpIsStateful>("TOpIsStateful", false)
9090
.set_attr<FInferCorrectLayout>("FInferCorrectLayout", ElemwiseArbitraryLayout)
91-
.set_attr<TNonComputational>("TNonComputational", true)
92-
.set_attr<FTVMCompute>("FTVMCompute",
93-
[](const Attrs& attrs, const Array<te::Tensor>& inputs,
94-
const Type& out_type) -> Array<te::Tensor> {
95-
return {topi::identity(inputs[0])};
96-
});
91+
.set_attr<TNonComputational>("TNonComputational", true);
9792

9893
OnDeviceProps GetOnDeviceProps(const CallNode* call_node) {
9994
if (call_node->op == OnDeviceOp()) {

0 commit comments

Comments
 (0)