Hi Everyone,
I am trying to build the below graph
def @main(%data: Tensor[(32, 64, 224, 224), float32]) -> Tensor[(32, 224, 224, 2, 8), uint8] {
%0 = cast(%data, dtype="int16") /* ty=Tensor[(32, 64, 224, 224), int16] */;
%1 = layout_transform(%0, src_layout="NCHW", dst_layout="NHWC") /* ty=Tensor[(32, 224, 224, 64), int16] */;
nn.bitpack(%1, bits=2, pack_axis=3, bit_axis=3, pack_type="uint8", name="bitpack") /* ty=Tensor[(32, 224, 224, 2, 8), uint8] */
}
with target = tvm.target.Target("llvm -device=arm_cpu -mtriple=aarch64-linux-gnu")
But it throws an error:
Check failed: compute->body.size() == 1U (2 vs. 1) : can only inline compute op with 1 output
Is there any error in the graph? thanks