(git:d18deda)
Loading...
Searching...
No Matches
torch_api::torch_tensor_data_ptr Interface Reference

Public Member Functions

subroutine torch_tensor_data_ptr_float_1d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_int64_1d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_double_1d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_float_2d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_int64_2d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_double_2d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_float_3d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_int64_3d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 
subroutine torch_tensor_data_ptr_double_3d (tensor, data_ptr)
 Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!
 

Detailed Description

Definition at line 55 of file torch_api.F.

Member Function/Subroutine Documentation

◆ torch_tensor_data_ptr_float_1d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_float_1d ( type(torch_tensor_type), intent(in)  tensor,
real(sp), dimension(:), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 137 of file torch_api.F.

◆ torch_tensor_data_ptr_int64_1d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_int64_1d ( type(torch_tensor_type), intent(in)  tensor,
integer(kind=int_8), dimension(:), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 229 of file torch_api.F.

◆ torch_tensor_data_ptr_double_1d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_double_1d ( type(torch_tensor_type), intent(in)  tensor,
real(dp), dimension(:), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 321 of file torch_api.F.

◆ torch_tensor_data_ptr_float_2d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_float_2d ( type(torch_tensor_type), intent(in)  tensor,
real(sp), dimension(:, :), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 414 of file torch_api.F.

◆ torch_tensor_data_ptr_int64_2d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_int64_2d ( type(torch_tensor_type), intent(in)  tensor,
integer(kind=int_8), dimension(:, :), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 508 of file torch_api.F.

◆ torch_tensor_data_ptr_double_2d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_double_2d ( type(torch_tensor_type), intent(in)  tensor,
real(dp), dimension(:, :), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 602 of file torch_api.F.

◆ torch_tensor_data_ptr_float_3d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_float_3d ( type(torch_tensor_type), intent(in)  tensor,
real(sp), dimension(:, :, :), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 697 of file torch_api.F.

◆ torch_tensor_data_ptr_int64_3d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_int64_3d ( type(torch_tensor_type), intent(in)  tensor,
integer(kind=int_8), dimension(:, :, :), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 793 of file torch_api.F.

◆ torch_tensor_data_ptr_double_3d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_double_3d ( type(torch_tensor_type), intent(in)  tensor,
real(dp), dimension(:, :, :), pointer  data_ptr 
)

Copies data from a Torch tensor to an array. The returned pointer is only valide during the tensor's lifetime!

Author
Ole Schuett

Definition at line 889 of file torch_api.F.


The documentation for this interface was generated from the following file: