We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ca25c commit 6ac7d3aCopy full SHA for 6ac7d3a
src/relay/op/memory/on_device.cc
@@ -88,12 +88,7 @@ RELAY_REGISTER_OP("on_device")
88
.set_attr<TOpPattern>("TOpPattern", kOpaque)
89
.set_attr<TOpIsStateful>("TOpIsStateful", false)
90
.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
- });
+ .set_attr<TNonComputational>("TNonComputational", true);
97
98
OnDeviceProps GetOnDeviceProps(const CallNode* call_node) {
99
if (call_node->op == OnDeviceOp()) {
0 commit comments