Re-exports§
pub use cpu_backend::CpuStorage;
pub use cpu_backend::CpuStorageRef;
pub use error::Context;
pub use error::Error;
pub use error::Result;
pub use layout::Layout;
pub use shape::Shape;
pub use shape::D;
pub use streaming::StreamTensor;
pub use streaming::StreamingBinOp;
pub use streaming::StreamingModule;
pub use dummy_cuda_backend as cuda;
pub use cuda::CudaDevice;
pub use cuda::CudaStorage;
Modules§
- Numpy support for tensors.
- The shape of a tensor is a tuple with the size of each of its dimensions.
Structs§
- An iterator over offset position for items of an N-dimensional arrays stored in a flat buffer using some potential strides.
- The core struct for manipulating tensors.
- Unique identifier for tensors.
- A variable is a wrapper around a tensor, however variables can have their content modified whereas tensors are immutable.
Enums§
- The different types of elements allowed in tensors.
- A
DeviceLocation
represents a physical device whereas multipleDevice
can live on the same location (typically for cuda devices). - Generic structure used to index a slice of the tensor
Traits§
- Unary ops that can be defined in user-land.
- Trait used to implement multiple signatures for ease of use of the slicing of a tensor
- Unary ops that can be defined in user-land. These ops work in place and as such back-prop is unsupported.
Functions§
- Creates a fresh tensor structure based on a storage and a shape, this uses contiguous strides. This has a BackpropOp:none().