# `Nx.Defn.Evaluator`
[🔗](https://github.com/elixir-nx/nx/blob/v0.12.0/nx/lib/nx/defn/evaluator.ex#L1)

The default implementation of a `Nx.Defn.Compiler`
that evaluates the expression tree against the
tensor backend.

## Options

The following options are specific to this compiler:

  * `:garbage_collect` - when true, garbage collects
    after evaluating each node

  * `:max_concurrency` - the number of partitions to
    start when running a `Nx.Serving` with this compiler

---

*Consult [api-reference.md](api-reference.md) for complete listing*
