def alter_conv2d_layout(attrs, inputs, out): layout = attrs['layout'] if is_packed_layout(layout): return None with tvm.target.arm_cpu(tvm.target.current_target().model): return _nn.alter_conv2d_layout(attrs, inputs, out)
def alter_conv2d_layout(attrs, inputs, out): layout = attrs['layout'] if is_packed_layout(layout): return None return _nn.alter_conv2d_layout(attrs, inputs, out)