Docs.rs
burn-tensor-0.19.1
burn-tensor 0.19.1
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
nathanielsimard
Dependencies
burn-common ^0.19.1
normal
burn-tensor-testgen ^0.19.1
normal
optional
bytemuck ^1.24.0
normal
colored ^3.0.0
normal
optional
cubecl ^0.8.1
normal
optional
cubecl-quant ^0.8.1
normal
derive-new ^0.7.0
normal
half ^2.7.1
normal
hashbrown ^0.15.5
normal
num-traits ^0.2.19
normal
rand ^0.9.2
normal
rand_distr ^0.5.1
normal
serde ^1.0.228
normal
serde_bytes ^0.11.18
normal
bincode ^2.0.1
dev
paste ^1
dev
rand ^0.9.2
dev
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module cast
burn_
tensor
0.19.1
Module cast
Module Items
Traits
In crate burn_
tensor
burn_tensor
Module
cast
Copy item path
Source
Expand description
Tensor element casting.
Traits
§
ToElement
A generic trait for converting a value to a number. Adapted from
num_traits::ToPrimitive
to support
bool
.