API Reference Nx v0.4.2
The behaviour for tensor backends.
Creates a batch of tensors (and containers).
An opaque backend written in pure Elixir that stores the data in Elixir's binaries.
Common constants used in computations.
A protocol that teaches Nx how to traverse data structures non-recursively.
The specification and helper functions for custom
The default implementation of a
that evaluates the expression tree against the
All imported functionality available inside
defn token used by hooks.
Helper functions to traverse defn expressions, either as single nodes or recursively.
Provides a heatmap that is printed using ANSI colors in the terminal.
Converts a data structure to a container lazily and recursively.
Nx conveniences for linear algebra.
Pseudo-random number generators.
Serving encapsulates client and server work to perform batched requests.
The protocol for streaming data in and out of backends.
An opaque backend written that is used as template to declare the type, shape, and names of tensors to be expected in the future.
The tensor struct and the behaviour for backends.
Conveniences for working with types.