We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b088c commit f4dafafCopy full SHA for f4dafaf
nx/lib/nx.ex
@@ -4705,7 +4705,7 @@ defmodule Nx do
4705
iex> Nx.vectorize(t, :x)
4706
** (ArgumentError) cannot use name :x for new vectorized axes because there's already a vectorized axis with the same name
4707
"""
4708
- @doc type: :shape
+ @doc type: :vectorization
4709
@spec vectorize(
4710
tensor :: Nx.Tensor.t(),
4711
name_or_axes :: atom() | [atom() | {atom(), pos_integer()}]
@@ -4850,7 +4850,7 @@ defmodule Nx do
4850
>
4851
4852
4853
4854
def devectorize(tensor_or_container, opts \\ [])
4855
4856
def devectorize(%T{shape: shape, names: names, vectorized_axes: vectorized_axes} = tensor, opts)
0 commit comments