Trait dfdx::tensor_ops::TryConvTrans2D
source · pub trait TryConvTrans2D<Stride, Padding, Dilation, Groups>: Sized {
type Convolved;
type Error: Debug;
// Required method
fn try_convtrans2d(
self,
stride: Stride,
padding: Padding,
dilation: Dilation,
groups: Groups
) -> Result<Self::Convolved, Self::Error>;
// Provided method
fn convtrans2d(
self,
stride: Stride,
padding: Padding,
dilation: Dilation,
groups: Groups
) -> Self::Convolved { ... }
}
Required Associated Types§
Required Methods§
sourcefn try_convtrans2d(
self,
stride: Stride,
padding: Padding,
dilation: Dilation,
groups: Groups
) -> Result<Self::Convolved, Self::Error>
fn try_convtrans2d( self, stride: Stride, padding: Padding, dilation: Dilation, groups: Groups ) -> Result<Self::Convolved, Self::Error>
Fallibly applies a 2D convolution to the input tensor.
Provided Methods§
sourcefn convtrans2d(
self,
stride: Stride,
padding: Padding,
dilation: Dilation,
groups: Groups
) -> Self::Convolved
fn convtrans2d( self, stride: Stride, padding: Padding, dilation: Dilation, groups: Groups ) -> Self::Convolved
Applies a 2D convolution to the input tensor.