Docs.rs
  • rai-core-0.11.0
    • rai-core 0.11.0
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • cksac
    • Dependencies
      • candle-core ^0.4.1 normal optional
      • candle-flash-attn ^0.4.1 normal optional
      • colored ^2.1.0 normal
      • dyn-clone ^1.0.16 normal
      • half ^2.3.1 normal
      • num-traits ^0.2.17 normal
      • once_cell ^1.19.0 normal
      • paste ^1.0 normal
      • safetensors ^0.4.1 normal
      • thiserror ^1.0.51 normal
      • tracing ^0.1.40 normal
    • Versions
    • 4.36% 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
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

rai_core0.11.0

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Macros
  • Structs
  • Enums
  • Traits
  • Functions
  • Type Aliases

Crate rai_core

Source

Re-exports§

pub use primitives::Primitive;
pub use device::AsDevice;
pub use device::Cpu;
pub use device::Cuda;
pub use device::Device;
pub use device::Metal;

Modules§

device
dispatch
nn
ops
primitives
ty_kind
utils

Macros§

non_differentiable

Structs§

Aux
BF16
CandleBackend
F16
F32
F64
I64
Tensor
U8
U32

Enums§

Error

Traits§

AsDType
Backend
DType
Dim
Dims
ElemType
Eval
FloatElemType
Func
GenericValue
Shape
TensorIter
Type
Value
ValueSpec

Functions§

eval
grad
jvp
linearize
optimize
raiexpr
value_and_grad
vjp

Type Aliases§

Result