[−][src]Trait yarnn::backend::BackendConv2d
Associated Types
type Context
Required methods
fn conv2d_forward(
&self,
y: &mut Self::Tensor,
x: &Self::Tensor,
filter: &Self::Tensor,
conv_info: &Conv2dInfo
)
&self,
y: &mut Self::Tensor,
x: &Self::Tensor,
filter: &Self::Tensor,
conv_info: &Conv2dInfo
)
fn conv2d_backward_input(
&self,
dx: &mut Self::Tensor,
dy: &Self::Tensor,
filter: &Self::Tensor,
conv_info: &Conv2dInfo
)
&self,
dx: &mut Self::Tensor,
dy: &Self::Tensor,
filter: &Self::Tensor,
conv_info: &Conv2dInfo
)
fn conv2d_backward_filter(
&self,
dw: &mut Self::Tensor,
x: &Self::Tensor,
dy: &Self::Tensor,
conv_info: &Conv2dInfo
)
&self,
dw: &mut Self::Tensor,
x: &Self::Tensor,
dy: &Self::Tensor,
conv_info: &Conv2dInfo
)
Implementations on Foreign Types
impl<'a, N, T: BackendConv2d<N>> BackendConv2d<N> for &'a T
[src]
type Context = ()
fn conv2d_forward(
&self,
y: &mut Self::Tensor,
x: &Self::Tensor,
filters: &Self::Tensor,
conv_info: &Conv2dInfo
)
[src]
&self,
y: &mut Self::Tensor,
x: &Self::Tensor,
filters: &Self::Tensor,
conv_info: &Conv2dInfo
)
fn conv2d_backward_input(
&self,
dx: &mut Self::Tensor,
dy: &Self::Tensor,
filters: &Self::Tensor,
conv_info: &Conv2dInfo
)
[src]
&self,
dx: &mut Self::Tensor,
dy: &Self::Tensor,
filters: &Self::Tensor,
conv_info: &Conv2dInfo
)
fn conv2d_backward_filter(
&self,
dw: &mut Self::Tensor,
x: &Self::Tensor,
dy: &Self::Tensor,
conv_info: &Conv2dInfo
)
[src]
&self,
dw: &mut Self::Tensor,
x: &Self::Tensor,
dy: &Self::Tensor,
conv_info: &Conv2dInfo
)
Implementors
impl BackendConv2d<f32> for Native
[src]
type Context = ()
fn conv2d_forward(
&self,
y: &mut Self::Tensor,
x: &Self::Tensor,
w: &Self::Tensor,
conv_info: &Conv2dInfo
)
[src]
&self,
y: &mut Self::Tensor,
x: &Self::Tensor,
w: &Self::Tensor,
conv_info: &Conv2dInfo
)
fn conv2d_backward_input(
&self,
dx: &mut Self::Tensor,
dy: &Self::Tensor,
w: &Self::Tensor,
conv_info: &Conv2dInfo
)
[src]
&self,
dx: &mut Self::Tensor,
dy: &Self::Tensor,
w: &Self::Tensor,
conv_info: &Conv2dInfo
)
fn conv2d_backward_filter(
&self,
dw: &mut Self::Tensor,
x: &Self::Tensor,
dy: &Self::Tensor,
conv_info: &Conv2dInfo
)
[src]
&self,
dw: &mut Self::Tensor,
x: &Self::Tensor,
dy: &Self::Tensor,
conv_info: &Conv2dInfo
)