pub struct ConvOptions {
pub lhs_dilation: Option<Vec<usize>>,
pub rhs_dilation: Option<Vec<usize>>,
pub dimension_numbers: Option<ConvDims>,
pub feature_group_count: usize,
pub batch_group_count: usize,
pub precision: Precision,
}Expand description
The optional arguments of conv_general_dilated, with JAX’s
defaults: no dilation, the canonical dimension numbers (NCHW, OIHW,
NCHW for two spatial dimensions), one group, and the default
precision.
Fields§
§lhs_dilation: Option<Vec<usize>>The dilation of each spatial dimension of the input (None: 1).
rhs_dilation: Option<Vec<usize>>The dilation of each spatial dimension of the kernel (None: 1).
dimension_numbers: Option<ConvDims>The layout of the operands and the result (None: canonical).
feature_group_count: usizeThe number of groups of features.
batch_group_count: usizeThe number of groups of the batch.
precision: PrecisionThe precision on accelerators.
Trait Implementations§
Source§impl Clone for ConvOptions
impl Clone for ConvOptions
Source§impl Debug for ConvOptions
impl Debug for ConvOptions
Source§impl Default for ConvOptions
impl Default for ConvOptions
Source§impl PartialEq for ConvOptions
impl PartialEq for ConvOptions
impl StructuralPartialEq for ConvOptions
Auto Trait Implementations§
impl Freeze for ConvOptions
impl RefUnwindSafe for ConvOptions
impl Send for ConvOptions
impl Sync for ConvOptions
impl Unpin for ConvOptions
impl UnsafeUnpin for ConvOptions
impl UnwindSafe for ConvOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more