Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

struct DiffTensorView<T, A>¶

Generic Parameters¶

T: __BuiltinFloatingPointType = float¶

A: IDiffTensorWrapper = AtomicAdd¶

Fields¶

diff : A¶

primal : TensorView<T>¶

Methods¶

  • size

  • dims

  • stride

  • init

  • load

  • store

  • subscript

  • loadOnce

  • storeOnce

On this page
  • struct DiffTensorView<T, A>
    • Generic Parameters
      • T: __BuiltinFloatingPointType = float
      • A: IDiffTensorWrapper = AtomicAdd
    • Fields
      • diff : A
      • primal : TensorView<T>
    • Methods