diffusion_
rs_
common
0.1.0
Module
Required Methods
forward
Implementations on Foreign Types
Option<&M>
Implementors
In diffusion_
rs_
common::
core
diffusion_rs_common
::
core
Trait
Module
Copy item path
source
pub trait Module { // Required method fn
forward
(&self, xs: &
Tensor
) ->
Result
<
Tensor
>; }
Required Methods
§
source
fn
forward
(&self, xs: &
Tensor
) ->
Result
<
Tensor
>
Implementations on Foreign Types
§
source
§
impl<M:
Module
>
Module
for
Option
<
&M
>
source
§
fn
forward
(&self, xs: &
Tensor
) ->
Result
<
Tensor
>
Implementors
§
source
§
impl
Module
for
Activation
source
§
impl
Module
for
QMatMul
source
§
impl
Module
for
PReLU
source
§
impl
Module
for
Conv1d
source
§
impl
Module
for
Conv2d
source
§
impl
Module
for
ConvTranspose1d
source
§
impl
Module
for
ConvTranspose2d
source
§
impl
Module
for
Embedding
source
§
impl
Module
for
Func
<'_>
source
§
impl
Module
for
GroupNorm
source
§
impl
Module
for
LayerNorm
source
§
impl
Module
for
RmsNorm
<
RmsNormNonQuantized
>
source
§
impl
Module
for
RmsNorm
<
RmsNormQuantized
>
source
§
impl
Module
for
Linear
source
§
impl
Module
for
Identity
source
§
impl
Module
for
Sequential
source
§
impl<T:
Fn
(&
Tensor
) ->
Result
<
Tensor
>>
Module
for T