pub struct Conv3DOperation<'c> { /* private fields */ }
Expand description
A conv3d
operation. 3D Convolution operator.
Performs a 3D convolution over the given input tensor.
Implementations§
source§impl<'c> Conv3DOperation<'c>
impl<'c> Conv3DOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> Conv3DOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> Conv3DOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn output(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn input(&self) -> Result<Value<'c, '_>, Error>
pub fn weight(&self) -> Result<Value<'c, '_>, Error>
pub fn bias(&self) -> Result<Value<'c, '_>, Error>
pub fn pad(&self) -> Result<Attribute<'c>, Error>
pub fn set_pad(&mut self, value: Attribute<'c>)
pub fn stride(&self) -> Result<Attribute<'c>, Error>
pub fn set_stride(&mut self, value: Attribute<'c>)
pub fn dilation(&self) -> Result<Attribute<'c>, Error>
pub fn set_dilation(&mut self, value: Attribute<'c>)
pub fn quantization_info(&self) -> Result<Attribute<'c>, Error>
pub fn set_quantization_info(&mut self, value: Attribute<'c>)
pub fn remove_quantization_info(&mut self) -> Result<(), Error>
Trait Implementations§
source§impl<'c> From<Conv3DOperation<'c>> for Operation<'c>
impl<'c> From<Conv3DOperation<'c>> for Operation<'c>
source§fn from(operation: Conv3DOperation<'c>) -> Self
fn from(operation: Conv3DOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for Conv3DOperation<'c>
impl<'c> !Send for Conv3DOperation<'c>
impl<'c> !Sync for Conv3DOperation<'c>
impl<'c> Unpin for Conv3DOperation<'c>
impl<'c> UnwindSafe for Conv3DOperation<'c>
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