Struct pjrt_sys::protos::xla::ConvolutionDimensionNumbers
source · pub struct ConvolutionDimensionNumbers {
pub input_batch_dimension: i64,
pub input_feature_dimension: i64,
pub input_spatial_dimensions: Vec<i64>,
pub kernel_input_feature_dimension: i64,
pub kernel_output_feature_dimension: i64,
pub kernel_spatial_dimensions: Vec<i64>,
pub output_batch_dimension: i64,
pub output_feature_dimension: i64,
pub output_spatial_dimensions: Vec<i64>,
}Fields§
§input_batch_dimension: i64The number of the dimension that represents batch in the input.
input_feature_dimension: i64The number of the dimension that represents features in the input.
input_spatial_dimensions: Vec<i64>The dimension numbers for the spatial dimensions that the window moves through in the input.
kernel_input_feature_dimension: i64The number of the dimension that represents input features in the convolutional kernel (rhs).
kernel_output_feature_dimension: i64The number of the dimension that represents output features in the convolutional kernel (rhs).
kernel_spatial_dimensions: Vec<i64>The dimension numbers for the spatial dimensions that the window moves through in the kernel (rhs). window.strides(0) is the stride in the kernel_spatial_dimensions(0) dimension.
output_batch_dimension: i64The number of the dimension that represents batch in the output.
output_feature_dimension: i64The number of the dimension that represents features in the output.
output_spatial_dimensions: Vec<i64>The dimension numbers for the spatial dimensions that the window moves through in the output.
Trait Implementations§
source§impl Clone for ConvolutionDimensionNumbers
impl Clone for ConvolutionDimensionNumbers
source§fn clone(&self) -> ConvolutionDimensionNumbers
fn clone(&self) -> ConvolutionDimensionNumbers
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConvolutionDimensionNumbers
impl Debug for ConvolutionDimensionNumbers
source§impl Message for ConvolutionDimensionNumbers
impl Message for ConvolutionDimensionNumbers
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for ConvolutionDimensionNumbers
Auto Trait Implementations§
impl Freeze for ConvolutionDimensionNumbers
impl RefUnwindSafe for ConvolutionDimensionNumbers
impl Send for ConvolutionDimensionNumbers
impl Sync for ConvolutionDimensionNumbers
impl Unpin for ConvolutionDimensionNumbers
impl UnwindSafe for ConvolutionDimensionNumbers
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)