The interface that defines the kernels that should be implemented when adding a new backend. New backends don't need to implement every one of the methods, this can be done gradually (throw an error for unimplemented methods).

Implements

  • TensorStorage
  • Backend
  • BackendTimer

Methods

  • Returns the smallest representable number.

    Returns number

  • Returns the highest precision for floats in bits (e.g. 16 or 32)

    Returns 16 | 32

Generated using TypeDoc