Implementing kernel
C++ engine symbols that back this Python API.In-place ReLU — x is overwritten with max(0, x).
Backed by the engine's native in-place ReLU kernel (no temporary
buffer). inplace is accepted for API parity but ignored:
this entry point is always in-place.
Parameters
Input; modified in place and also returned.
inplacebool= TrueIgnored; retained for signature symmetry with the out-of-place
relu. Default True.Returns
TensorThe same x tensor, now holding max(0, x).