(git:6344619)
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 162 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 255 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 348 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 441 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 535 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 630 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 725 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 820 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 916 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 1013 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 1110 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 1207 of file torch_api.F.


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