An issue about add elementwise layer


I face a problem/

I am contributing a network layer by layer for custom layer exist.
when I add elementwise layer(sum) with tensor from relu layer and network input,
there would be an error like:
ERROR: engine.cpp(381), Cuda Error in enqueueInternal : 700 (an illegal memory access was encounted).
I check the tensor shape and make sure that they are same.

so why this happens?


TensorRT Version: 7.1.3
GPU Type: GTX 2080TI
Nvidia Driver Version: 440
CUDA Version: 10.2
CUDNN Version: 7.6.5
Operating System + Version: ubuntu18.04
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi @lc5104hit,

Could you please provide us more info and error reproduce scripts/model. So we can assist better.

Thank you.