Typedef torch::stable::DeleterFnPtr#
Defined in File ops.h
Typedef Documentation#
-
using torch::stable::DeleterFnPtr = void (*)(void*)#
A function pointer type for data deleters used with from_blob.
The deleter is called with the data pointer when the tensor’s storage is deallocated.