You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/05/14 14:13:22 UTC
[GitHub] [tvm] sahooora opened a new issue #8046: Tvm.parser.fromtext() doesn't work with custom data type?!
sahooora opened a new issue #8046:
URL: https://github.com/apache/tvm/issues/8046
Hi,
I'm using my custom data type in tvm-byodt framework. For the following code snippet I get an error:
```
...
r = """
#[version = "0.0.5"]
def @main (%x: Tensor[(3), custom[myfloat]32], %y: Tensor[(3), custom[myfloat]32]) {
%0 = subtract(%x, %y);
multiply(%0, %0)
}
"""
module = tvm.parser.fromtext(source = r)
```
Error:
`TVMError: expected opening brace after 'custom' type incustom`
Does anybody know why I get this error?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org