Docs.rs
  • burn-core-0.7.0
    • burn-core 0.7.0
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • nathanielsimard
    • Dependencies
      • bincode ^2.0.0-rc normal
      • burn-autodiff ^0.7.0 normal
      • burn-common ^0.7.0 normal
      • burn-dataset ^0.7.0 normal
      • burn-derive ^0.7.0 normal
      • burn-tensor ^0.7.0 normal
      • derive-new ^0.5.9 normal
      • flate2 ^1.0.26 normal
      • half ^2 normal
      • hashbrown ^0.13.2 normal
      • libm ^0.2.6 normal
      • log ^0.4.17 normal
      • rand ^0.8.5 normal
      • rmp-serde ^1.1.1 normal
      • serde ^1.0.160 normal
      • serde_json ^1.0.96 normal
      • spin ^0.9.8 normal
      • burn-dataset ^0.7.0 dev
      • burn-ndarray ^0.7.0 dev
      • burn-tch ^0.7.0 dev
    • Versions
    • 22.86% 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_core::tensor

?
Change settings

Trait burn_core::tensor::ElementPrecision

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

Required Methods§

source

fn precision() -> Precision

Implementations on Foreign Types§

source§

impl ElementPrecision for i64

source§

fn precision() -> Precision

source§

impl ElementPrecision for i16

source§

fn precision() -> Precision

source§

impl ElementPrecision for u8

source§

fn precision() -> Precision

source§

impl ElementPrecision for f64

source§

fn precision() -> Precision

source§

impl ElementPrecision for i8

source§

fn precision() -> Precision

source§

impl ElementPrecision for i32

source§

fn precision() -> Precision

source§

impl ElementPrecision for f32

source§

fn precision() -> Precision

Implementors§

source§

impl ElementPrecision for bf16

source§

impl ElementPrecision for f16