| Procedure | Location | Procedure Type | Description |
|---|---|---|---|
| allclose | ftorch_test_utils | Interface | |
| allclose_real32_1d | ftorch_test_utils | Function | Determines whether two real32-valued 1D arrays coincide to a given relative tolerance |
| allclose_real32_2d | ftorch_test_utils | Function | Determines whether two real32-valued 2D arrays coincide to a given relative tolerance |
| allclose_real32_3d | ftorch_test_utils | Function | Determines whether two real32-valued 3D arrays coincide to a given relative tolerance |
| allclose_real64_1d | ftorch_test_utils | Function | Determines whether two real64-valued 1D arrays coincide to a given relative tolerance |
| allclose_real64_2d | ftorch_test_utils | Function | Determines whether two real64-valued 2D arrays coincide to a given relative tolerance |
| allclose_real64_3d | ftorch_test_utils | Function | Determines whether two real64-valued 3D arrays coincide to a given relative tolerance |
| assert_allclose | ftorch_test_utils | Interface | |
| assert_allclose_real32_1d | ftorch_test_utils | Function | Alias for allclose_real32_1d |
| assert_allclose_real32_2d | ftorch_test_utils | Function | Alias for allclose_real32_2d |
| assert_allclose_real32_3d | ftorch_test_utils | Function | Alias for allclose_real32_3d |
| assert_allclose_real64_1d | ftorch_test_utils | Function | Alias for allclose_real64_1d |
| assert_allclose_real64_2d | ftorch_test_utils | Function | Alias for allclose_real64_2d |
| assert_allclose_real64_3d | ftorch_test_utils | Function | Alias for allclose_real64_3d |
| assert_isclose | ftorch_test_utils | Interface | |
| assert_isclose_real32 | ftorch_test_utils | Function | Alias for isclose_real32 |
| assert_isclose_real64 | ftorch_test_utils | Function | Alias for isclose_real64 |
| assignment (=) | ftorch_tensor | Interface | |
| isclose | ftorch_test_utils | Interface | |
| isclose_real32 | ftorch_test_utils | Function | Determines whether two real32 values coincide to a given relative tolerance |
| isclose_real64 | ftorch_test_utils | Function | Determines whether two real64 values coincide to a given relative tolerance |
| operator (*) | ftorch_tensor | Interface | |
| operator (**) | ftorch_tensor | Interface | |
| operator (+) | ftorch_tensor | Interface | |
| operator (-) | ftorch_tensor | Interface | |
| operator (/) | ftorch_tensor | Interface | |
| test_print | ftorch_test_utils | Subroutine | Print the result of a test to the terminal |
| torch_delete | ftorch | Interface | Interface for deleting generic torch objects |
| torch_from_blob_c | ftorch_tensor | Interface | |
| torch_model_delete | ftorch_model | Subroutine | Deallocates a TorchScript model |
| torch_model_forward | ftorch_model | Subroutine | Performs a forward pass of the model with the input tensors |
| torch_model_is_training | ftorch_model | Function | Determines whether a model is set up for training |
| torch_model_load | ftorch_model | Subroutine | Loads a TorchScript nn.module (pre-trained PyTorch model saved with TorchScript) |
| torch_model_print_parameters | ftorch_model | Subroutine | Prints the parameters associated with a model NOTE: While viewing parameters in this way can be helpful for small toy models, it will produce large amounts of output for models with many, large, or high-dimensional parameters. In particular, tensors of 3 or more dimensions will be represented in terms of 2D arrays. |
| torch_tensor_add | ftorch_tensor | Function | Overloads addition operator for two tensors. |
| torch_tensor_array_delete | ftorch_tensor | Subroutine | Deallocates an array of tensors. |
| torch_tensor_assign | ftorch_tensor | Subroutine | Overloads assignment operator for tensors. |
| torch_tensor_backward | ftorch_tensor | Subroutine | Performs back-propagation on a Torch Tensor, given some external gradient. |
| torch_tensor_delete | ftorch_tensor | Subroutine | Deallocates a tensor. |
| torch_tensor_divide | ftorch_tensor | Function | Overloads division operator for two tensors. |
| torch_tensor_divide_c | ftorch_tensor | Interface | |
| torch_tensor_empty | ftorch_tensor | Subroutine | Returns a tensor with uninitialised values. |
| torch_tensor_from_array | ftorch_tensor | Interface | Interface for directing |
| torch_tensor_from_array_int16_1d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int16_1d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int16_2d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int16_2d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int16_3d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int16_3d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int16_4d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int16_4d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int16_5d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int16_5d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int32_1d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int32_1d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int32_2d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int32_2d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int32_3d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int32_3d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int32_4d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int32_4d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int32_5d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int32_5d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int64_1d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int64_1d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int64_2d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int64_2d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int64_3d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int64_3d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int64_4d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int64_4d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int64_5d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int64_5d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int8_1d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int8_1d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_int8_2d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int8_2d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_int8_3d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int8_3d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_int8_4d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int8_4d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_int8_5d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_int8_5d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_real32_1d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_real32_1d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_real32_2d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_real32_2d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_real32_3d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_real32_3d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_real32_4d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_real32_4d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_real32_5d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_real32_5d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_real64_1d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_real64_1d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 1 containing data of type |
| torch_tensor_from_array_real64_2d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_real64_2d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 2 containing data of type |
| torch_tensor_from_array_real64_3d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_real64_3d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 3 containing data of type |
| torch_tensor_from_array_real64_4d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_real64_4d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 4 containing data of type |
| torch_tensor_from_array_real64_5d | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_array_real64_5d_default_layout | ftorch_tensor | Subroutine | Return a Torch tensor pointing to data_in array of rank 5 containing data of type |
| torch_tensor_from_blob | ftorch_tensor | Subroutine | Exposes the given data as a tensor without taking ownership of the original data. This routine will take an (i, j, k) array and return an (k, j, i) tensor. |
| torch_tensor_get_device_index | ftorch_tensor | Function | Determines the device index of a tensor. |
| torch_tensor_get_device_type | ftorch_tensor | Function | Returns the device type of a tensor. |
| torch_tensor_get_dtype | ftorch_tensor | Function | Returns the data type of a tensor. |
| torch_tensor_get_gradient | ftorch_tensor | Subroutine | Retrieves the gradient with respect to a Torch Tensor. |
| torch_tensor_get_rank | ftorch_tensor | Function | Determines the rank of a tensor. |
| torch_tensor_get_shape | ftorch_tensor | Function | Determines the shape of a tensor. |
| torch_tensor_get_stride | ftorch_tensor | Function | Return the strides of the tensor |
| torch_tensor_mean | ftorch_tensor | Subroutine | Overloads mean operator over the values in a tensor. |
| torch_tensor_multiply | ftorch_tensor | Function | Overloads multiplication operator for two tensors. |
| torch_tensor_multiply_c | ftorch_tensor | Interface | |
| torch_tensor_negative | ftorch_tensor | Function | Overloads negative operator for a single tensor. |
| torch_tensor_ones | ftorch_tensor | Subroutine | Returns a tensor filled with the scalar value 1. |
| torch_tensor_power_int16 | ftorch_tensor | Function | Overloads exponentiation operator for a tensor and a scalar of type |
| torch_tensor_power_int32 | ftorch_tensor | Function | Overloads exponentiation operator for a tensor and a scalar of type |
| torch_tensor_power_int64 | ftorch_tensor | Function | Overloads exponentiation operator for a tensor and a scalar of type |
| torch_tensor_power_int8 | ftorch_tensor | Function | Overloads exponentiation operator for a tensor and a scalar of type |
| torch_tensor_power_real32 | ftorch_tensor | Function | Overloads exponentiation operator for a tensor and a scalar of type |
| torch_tensor_power_real64 | ftorch_tensor | Function | Overloads exponentiation operator for a tensor and a scalar of type |
| torch_tensor_print | ftorch_tensor | Subroutine | Prints the contents of a tensor. |
| torch_tensor_requires_grad | ftorch_tensor | Function | Determines whether a tensor requires the autograd module. |
| torch_tensor_subtract | ftorch_tensor | Function | Overloads subtraction operator for two tensors. |
| torch_tensor_sum | ftorch_tensor | Subroutine | Overloads summation operator over the values in a tensor. |
| torch_tensor_to | ftorch_tensor | Subroutine | Moves a source_tensor tensor to a target tensor's device and dtype |
| torch_tensor_zero | ftorch_tensor | Subroutine | Fills a tensor with the scalar value 0. |
| torch_tensor_zero_grad | ftorch_tensor | Subroutine | Resets a tensor's gradient to zero. |
| torch_tensor_zeros | ftorch_tensor | Subroutine | Returns a tensor filled with the scalar value 0. |