diffusion_
rs_
common
0.1.0
Tensor
OrScalar
Required Methods
to_tensor_scalar
Implementors
In diffusion_
rs_
common::
core::
scalar
diffusion_rs_common
::
core
::
scalar
Trait
TensorOrScalar
Copy item path
source
pub trait TensorOrScalar { // Required method fn
to_tensor_scalar
(self) ->
Result
<
TensorScalar
>; }
Required Methods
§
source
fn
to_tensor_scalar
(self) ->
Result
<
TensorScalar
>
Implementors
§
source
§
impl
TensorOrScalar
for &
Tensor
source
§
impl<T:
WithDType
>
TensorOrScalar
for T