(git:e68414f)
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 59 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 144 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 236 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 328 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 420 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 513 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 607 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 701 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 795 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 890 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 986 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 1082 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 1178 of file torch_api.F.


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