[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

[Apache TVM Discuss] [Questions] Add new backend to TVM

2021-11-26 Thread LK via Apache TVM Discuss
@chiuchiu , Hello, have you solved this problem? I want to get some suggestions --- [Visit Topic](https://discuss.tvm.apache.org/t/add-new-backend-to-tvm/10373/7) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](http

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-24 Thread LK via Apache TVM Discuss
Thank you for your reply very much. --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/19) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.o

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-23 Thread LK via Apache TVM Discuss
Please forgive for my ignorance. What is the relationship between libtvm_runtime.so and BYOC? --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/17) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe fr

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-23 Thread LK via Apache TVM Discuss
Thanks for your answer, that makes a lot of sense. After reading the BYOC's blog, I suddenly have a question(I guess it's the last), the BYOC can apply to specific operator. If I convert the front model to a relay function which contains more than one operators or functions, the BYOC can take

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-23 Thread LK via Apache TVM Discuss
Sorry for my ignorance, I gradually get to know a little about BYOC flow. So I want to confirm something. First: If I use the BYOC flow, will the TVM's graph optimization passes apply to the relay function? Second: BYOC won't generate the TIR, it transform the relay to C code? Looking forward t

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-22 Thread LK via Apache TVM Discuss
Ummm, it seems too opaque for me. I have to admit that I am not only a beginner to TVM, and a beginner to programming. I will think your reply for a long time. Thank you for your clarification @Mousius --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-pro

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-22 Thread LK via Apache TVM Discuss
hello, in fact, I'm a lot confused by the terminology "C code generation". I wonder whether I can understand that you can generate the C code compiled by GCC. Looking forward to your reply. --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/1

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-21 Thread LK via Apache TVM Discuss
Ok, thank you for your reply. --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/7) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/ema

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-21 Thread LK via Apache TVM Discuss
Because I want to add a new backend in TVM, but there is no LLVM support for our backend. So I plan to compile the model to c code(it only supports c). --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/5) to respond. You are receiving this

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-21 Thread LK via Apache TVM Discuss
Thank you for your reply. I'm confused whether tvm can compile the a tensorflow model to a c program . --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/3) to respond. You are receiving this because you enabled mailing list mode. To unsub

[Apache TVM Discuss] [Questions] C code generator

2021-11-20 Thread LK via Apache TVM Discuss
Hello, did you solve this question? I'm also confused with this problem. --- [Visit Topic](https://discuss.tvm.apache.org/t/c-code-generator/442/10) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tv

[Apache TVM Discuss] [Questions] If target = 'c', how to execute the c program?

2021-11-20 Thread LK via Apache TVM Discuss
I'm new to TVM, does anyone know how to execute the C code generated by "relay.build"? --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these