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

Public Member Functions

subroutine torch_tensor_data_ptr_int32_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_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_int32_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_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_int32_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_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 65 of file torch_api.F.

Member Function/Subroutine Documentation

◆ torch_tensor_data_ptr_int32_1d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_int32_1d ( type(torch_tensor_type), intent(in) tensor,
integer(kind=int_4), 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 161 of file torch_api.F.

◆ 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 254 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 347 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 440 of file torch_api.F.

◆ torch_tensor_data_ptr_int32_2d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_int32_2d ( type(torch_tensor_type), intent(in) tensor,
integer(kind=int_4), 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 534 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 629 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 724 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 819 of file torch_api.F.

◆ torch_tensor_data_ptr_int32_3d()

subroutine torch_api::torch_tensor_data_ptr::torch_tensor_data_ptr_int32_3d ( type(torch_tensor_type), intent(in) tensor,
integer(kind=int_4), 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 915 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 1012 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 1109 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 1206 of file torch_api.F.


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