[Apache TVM Discuss] [Questions] Question about the GoogLeNet relay

2021-12-29 Thread Tatsumi via Apache TVM Discuss
I want to test the function "CombineParallelConv2D", so I use the GoogLenet. The below is my code. import numpy as np import tvm from tvm import relay from tvm.autotvm.graph_tuner import DPTuner from tvm.contrib import graph_runtime import torch import torchvision from torchvision import

[Apache TVM Discuss] [Questions] The doc about InferBound seems to be out-dated

2021-12-29 Thread haozech via Apache TVM Discuss
In the **Limitations of PassUpDomain** section of [InferBound Pass](https://tvm.apache.org/docs/arch/inferbound.html), I ran the code in Ex.6 in TVM ver0.8. And my result is not the same with the result given in the doc. Doc's result : ```python // attr [B] storage_scope = "global" allocate

[Apache TVM Discuss] [Questions] Question about vgg16

2021-12-29 Thread LK via Apache TVM Discuss
Does anyone know how to solve this problem or how to import the vgg16 model? --- [Visit Topic](https://discuss.tvm.apache.org/t/question-about-vgg16/11797/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://d

[Apache TVM Discuss] [Questions] Question about vgg16

2021-12-29 Thread LK via Apache TVM Discuss
AssertionError: User specified the shape for inputs that weren't found in the graph: {'input0': (1, 3, 224, 224)} --- [Visit Topic](https://discuss.tvm.apache.org/t/question-about-vgg16/11797/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from

[Apache TVM Discuss] [Questions] Question about vgg16

2021-12-29 Thread LK via Apache TVM Discuss
from tvm import relay from tvm import nd import numpy as np import torch import torchvision from op_runtime import op_run from PIL import Image from torchvision import transforms from torchvision import models import onnx import tvm onnx_model = onnx.load_model('vgg16.onnx') x = np.ra