Interface for deleting generic torch objects
Deallocates a TorchScript model
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(torch_model), | intent(in) | :: | model |
Torch Model to deallocate |
Deallocates a tensor.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(torch_tensor), | intent(inout) | :: | tensor |
Deallocates an array of tensors.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(torch_tensor), | intent(inout), | dimension(:) | :: | tensor_array |