View Source Evision.Backend (Evision v0.2.9)
Summary
Functions
Tensor with constant values.
Functions
@spec constant(Nx.Tensor.t(), number(), any()) :: Nx.Tensor.t()
@spec constant(Nx.Tensor.t(), number(), any()) :: Nx.Tensor.t()
Tensor with constant values.
Example
Nx.tensor(1.0, backend: Evision.Backend)
#Nx.Tensor<
f32
Evision.Backend
1.0
>