[−][src]Crate tension
Modules
prelude |
Macros
shape |
Structs
CommonTensor | An intermediate structure that contains most of the Tensor functionality. |
DeviceBuffer | Buffer that stores data on device. Wrapper over OpenCL buffer. |
DeviceContext | Buffer context. Determines buffer context. |
DeviceTensor | Tensor structure. It consists of a contiguous one-dimensional array and a shape. Tensor tries to reuse resources as long as possible and implements copy-on-write mechanism. |
HostBuffer | Buffer that stores data on the host. Simply a wrapper around |
HostTensor | Tensor structure. It consists of a contiguous one-dimensional array and a shape. Tensor tries to reuse resources as long as possible and implements copy-on-write mechanism. |
HostTensorIter | Iterator over host tensor content. |
Range | Struture representing range for one dimension for tensor slicing operation. |
Shape | Structure representing shape of the tensor. |
Enums
Index | Index for one dimension for tensor slicing operaion. |
Traits
Buffer | |
Float | Wrapper for |
IdentInterop | Type which representation remains the same for both host and device. |
Interop | Types that can be transformed from host representation to device one and back. |
Num | Wrapper for |
One | Analog of |
Prm | Type that could be put in tensor. |
Tensor | Tensor a.k.a. N-dimensional array. |
Zero | Analog of |
Type Definitions
HostTensorIterMut | Mutable iterator over host tensor content. |