Docs.rs
  • burn-tensor-0.3.0
    • burn-tensor 0.3.0
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • nathanielsimard
    • Dependencies
      • burn-tensor-testgen ^0.3.0 normal
      • derive-new ^0.5 normal
      • half ^1.6 normal
      • nanoid ^0.4 normal
      • num-traits ^0.2 normal
      • rand ^0.8 normal
      • serde ^1.0 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • 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
  • 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
logo

logo

ElementPrecision

Required Methods

  • precision

Implementations on Foreign Types

  • f32
  • f64
  • i16
  • i32
  • i64
  • i8
  • u8

Implementors

In burn_tensor

?
Change settings

Trait burn_tensor::ElementPrecision

source ·
pub trait ElementPrecision {
    fn precision() -> Precision;
}

Required Methods

source

fn precision() -> Precision

Implementations on Foreign Types

source

impl ElementPrecision for f64

source

fn precision() -> Precision

source

impl ElementPrecision for f32

source

fn precision() -> Precision

source

impl ElementPrecision for i64

source

fn precision() -> Precision

source

impl ElementPrecision for i32

source

fn precision() -> Precision

source

impl ElementPrecision for i16

source

fn precision() -> Precision

source

impl ElementPrecision for i8

source

fn precision() -> Precision

source

impl ElementPrecision for u8

source

fn precision() -> Precision

Implementors

source

impl ElementPrecision for f16