Skip to content

Commit 1980af9

Browse files
authored
Clarify composite docs
Closes #1597.
1 parent ad80ef9 commit 1980af9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nx/lib/nx/defn/composite.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ defmodule Nx.Defn.Composite do
77
Numerical values, such as integers, floats, and complex numbers
88
are not normalized before hand. Use `Nx.to_tensor/1` to do so.
99
10-
The functions in this module can be used both inside and outside `defn`.
11-
Note that, when a value is given to `defn`, it is first converted to
12-
tensors and containers via `Nx.LazyContainer`. Inside `defn`, there are
13-
no lazy containers, only containers.
10+
The functions in this module are invoked outside of `defn` or inside
11+
`deftransform`. Note that, when a value is given to `defn`, it is
12+
first converted to tensors and containers via `Nx.LazyContainer`.
13+
Inside `defn`, there are no lazy containers, only containers.
1414
"""
1515

1616
alias Nx.Tensor, as: T

0 commit comments

Comments
 (0)