Just wondering whether there is any updates? I met a similar problem, however, not sure how to solve it.

I install the TVM about half month ago by cloning from â€śhttps://github.com/dmlc/tvmâ€ť, so I thought it should be the latest version.

Any comments are greatly appreciated. Thanks.

The bug report is attached:

fn () {

free_var %data/Placeholder: Tensor[(64, 224, 224, 3), float32]

%0 = nn.pad(%data/Placeholder, pad_width=[[0, 0], [3, 3], [3, 3], [0, 0]])

free_var %model/resnet_model/conv2d/kernel: Tensor[(7, 7, 3, 64), float32]

%1 = nn.conv2d(%0, %model/resnet_model/conv2d/kernel, strides=[2, 2], channels=64, kernel_size=[7, 7], data_layout=â€śNHWCâ€ť, kernel_layout=â€śHWIOâ€ť)

%2 = nn.max_pool2d(%1, pool_size=[3, 3], strides=[2, 2], padding=[0, 0, 1, 1], layout=â€śNHWCâ€ť)

free_var %model/resnet_model/batch_normalization/gamma: Tensor[(64,), float32]

free_var %model/resnet_model/batch_normalization/beta: Tensor[(64,), float32]

free_var %model/resnet_model/batch_normalization/Const: Tensor[(0,), float32]

free_var %model/resnet_model/batch_normalization/Const_1: Tensor[(0,), float32]

%3 = nn.batch_norm(%2, %model/resnet_model/batch_normalization/gamma, %model/resnet_model/batch_normalization/beta, %model/resnet_model/batch_normalization/Const, %model/resnet_model/batch_normalization/Const_1, axis=3, epsilon=1.001e-05)an internal invariant was violated while typechecking your program [11:44:17] /apsarapangu/disk3/jiandong.mjd/tvm/src/relay/pass/type_solver.cc:119: Check failed: resolved.defined(): Unable to unify parent types: TensorType([64], float32) and TensorType([0], float32)

;

%3.0

}