candle_core
0.5.0
Module
Required Methods
forward
Implementations on Foreign Types
Option<&M>
Implementors
In crate candle_core
?
Settings
Trait
candle_core
::
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
QMatMul
source
§
impl<T:
Fn
(&
Tensor
) ->
Result
<
Tensor
>>
Module
for T