Type for holding a Torch tensor.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(c_ptr), | public | :: | p | = | c_null_ptr |
pointer to the tensor in memory |
type torch_tensor type(c_ptr) :: p = c_null_ptr !! pointer to the tensor in memory end type torch_tensor