Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RELAY][PASS] AlterOpLayout handling for Tuple #2382

Closed
srkreddy1238 opened this issue Jan 7, 2019 · 2 comments
Closed

[RELAY][PASS] AlterOpLayout handling for Tuple #2382

srkreddy1238 opened this issue Jan 7, 2019 · 2 comments

Comments

@srkreddy1238
Copy link
Contributor

 File "./tests/python/frontend/tensorflow/test_forward.py", line 1060, in <module>
   test_forward_inception_v3()
 File "./tests/python/frontend/tensorflow/test_forward.py", line 701, in test_forward_inception_v3
   tvm_output = run_tvm_graph(graph_def, data, 'input')
 File "./tests/python/frontend/tensorflow/test_forward.py", line 60, in run_tvm_graph
   graph, lib, params = relay.build(sym, target, params=params)
 File "/home/srk/.local/lib/python3.6/site-packages/tvm-0.5.dev0-py3.6-linux-x86_64.egg/tvm/relay/build_module.py", line 227, in build
   func = ir_pass.infer_type(func)
 File "/home/srk/.local/lib/python3.6/site-packages/tvm-0.5.dev0-py3.6-linux-x86_64.egg/tvm/relay/ir_pass.py", line 44, in infer_type
   return _ir_pass.infer_type(expr, mod)
 File "/home/srk/.local/lib/python3.6/site-packages/tvm-0.5.dev0-py3.6-linux-x86_64.egg/tvm/_ffi/_ctypes/function.py", line 185, in __call__
   ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
 File "/home/srk/.local/lib/python3.6/site-packages/tvm-0.5.dev0-py3.6-linux-x86_64.egg/tvm/_ffi/base.py", line 72, in check_call
   raise TVMError(py_str(_LIB.TVMGetLastError()))
tvm._ffi.base.TVMError: [16:21:13] /home/srk/work/DMLC/tvm/src/relay/pass/type_infer.cc:317: the function is provided too many arguments (nullptr)

Tuple arguments not retained as Tuple after layout handling for operators like Concatenate.

@srkreddy1238
Copy link
Contributor Author

#2383

@srkreddy1238
Copy link
Contributor Author

#2536 fix this issue.

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

No branches or pull requests

1 participant