tfe_tensor_f64_release

Function tfe_tensor_f64_release 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tfe_tensor_f64_release( _tensor: *mut TfeTensorF64, )
Expand description

Release (free) a tensor.

After this call, tensor is invalid and must not be used. Passing a null pointer is a no-op.

For tensors imported via DLPack, this calls the DLPack deleter to notify the external owner that the data is no longer needed.

ยงSafety

tensor must be null or a valid pointer returned by a tfe_tensor_f64_* creation function that has not yet been released.