Rate this Page

Typedef torch::stable::DeleterFnPtr#

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.