opaque
torch_to_nnef.tensor.opaque
OpaqueTensor
OpaqueTensorRef
Bases: Tensor
Allow to pass through 'tracing'.
find_opaque_ref_by_py_id
Allow to fetch back the opaque parameter once passed the jit 'wall'.
opaque_to_final_tensor
Even if OpaqueTensor are composed it exposes fully expanded tensor.
So for example: an OffloadedTensor that contains a QTensor will 'load' then 'decompress' to show final fp tensor.