Docs.rs
candle-core-0.8.0
candle-core 0.8.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
LaurentMazare
Narsil
Dependencies
accelerate-src ^0.3.2
normal
optional
byteorder ^1.4.3
normal
candle-kernels ^0.8.0
normal
optional
candle-metal-kernels ^0.8.0
normal
optional
cudarc ^0.12.1
normal
optional
gemm ^0.17.0
normal
half ^2.3.1
normal
intel-mkl-src ^0.8.1
normal
optional
libc ^0.2.147
normal
optional
memmap2 ^0.9.3
normal
metal ^0.27.0
normal
optional
num-traits ^0.2.15
normal
num_cpus ^1.15.0
normal
rand ^0.8.5
normal
rand_distr ^0.4.3
normal
rayon ^1.7.0
normal
safetensors ^0.4.1
normal
thiserror ^1
normal
ug ^0.0.2
normal
ug-cuda ^0.0.2
normal
optional
ug-metal ^0.0.2
normal
optional
yoke ^0.7.2
normal
zip ^1.1.1
normal
anyhow ^1
dev
clap ^4.2.4
dev
criterion ^0.5.1
dev
Versions
12.23%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
candle_
core
0.8.0
Module shape
Module Items
Structs
Enums
Constants
Traits
Functions
In crate candle_
core
candle_core
Module
shape
Copy item path
Source
Expand description
The shape of a tensor is a tuple with the size of each of its dimensions.
Structs
§
Shape
Enums
§
D
Constants
§
SCALAR
Traits
§
Dim
Dims
Shape
With
OneHole
Functions
§
dims0
dims1
dims2
dims3
dims4
dims5