Skip to content

Conversation

hlu1
Copy link
Contributor

@hlu1 hlu1 commented Jun 18, 2019

I'm hitting use of undeclared identifier errors when using tvm as an external library because the header file <tvm/relay/base.h> was not included.

tvm/tvm/include/tvm/relay/attrs/nn.h:52:9: error: use of undeclared identifier 'IndexExpr'
  Array<IndexExpr> strides;
        ^
tvm/tvm/include/tvm/relay/attrs/nn.h:53:9: error: use of undeclared identifier 'IndexExpr'
  Array<IndexExpr> padding;
        ^
tvm/tvm/include/tvm/relay/attrs/nn.h:54:9: error: use of undeclared identifier 'IndexExpr'
  Array<IndexExpr> dilation;
        ^
tvm/tvm/include/tvm/relay/attrs/nn.h:56:3: error: unknown type name 'IndexExpr'
  IndexExpr channels;
  ^
tvm/tvm/include/tvm/relay/attrs/nn.h:57:9: error: use of undeclared identifier 'IndexExpr'
  Array<IndexExpr> kernel_size;
        ^
tvm/tvm/include/tvm/relay/attrs/nn.h:61:3: error: unknown type name 'DataType'; did you mean 'DLDataType'?
  DataType out_dtype;
  ^~~~~~~~
  DLDataType
tvm/tvm/3rdparty/dlpack/include/dlpack/dlpack.h:106:3: note: 'DLDataType' declared here
} DLDataType;

@tqchen tqchen merged commit 947131c into apache:master Jun 19, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants