Function TVMFFITensorToDLPack#
Defined in File c_api.h
Function Documentation#
-
int TVMFFITensorToDLPack(TVMFFIObjectHandle from, DLManagedTensor **out)#
Produce a DLManagedTensor from the array that shares data memory with the array.
- Parameters:
from – The source array.
out – The DLManagedTensor handle.
- Returns:
0 on success, nonzero on failure.