pub struct UniformQuantizedConvolutionHybrid { /* private fields */ }
Expand description

Builder for the UniformQuantizedConvolutionHybrid operation.

Implementations§

source§

impl UniformQuantizedConvolutionHybrid

source

pub fn new() -> Self

Creates a new UniformQuantizedConvolutionHybrid.

source

pub fn Tlhs<ArgType: Into<DataType>>(self, value: ArgType) -> Self

Sets the Tlhs attribute.

source

pub fn Trhs<ArgType: Into<DataType>>(self, value: ArgType) -> Self

Sets the Trhs attribute.

source

pub fn Tout<ArgType: Into<DataType>>(self, value: ArgType) -> Self

Sets the Tout attribute.

source

pub fn window_strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self

Sets the window_strides attribute.

source

pub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self

Sets the padding attribute.

source

pub fn explicit_padding<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self

Sets the explicit_padding attribute.

source

pub fn lhs_dilation<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self

Sets the lhs_dilation attribute.

source

pub fn rhs_dilation<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self

Sets the rhs_dilation attribute.

source

pub fn batch_group_count<ArgType: Into<i64>>(self, value: ArgType) -> Self

Sets the batch_group_count attribute.

source

pub fn feature_group_count<ArgType: Into<i64>>(self, value: ArgType) -> Self

Sets the feature_group_count attribute.

source

pub fn dimension_numbers<ArgType: Into<String>>(self, value: ArgType) -> Self

Sets the dimension_numbers attribute.

source

pub fn rhs_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self

Sets the rhs_quantization_axis attribute.

source

pub fn rhs_quantization_min_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self

Sets the rhs_quantization_min_val attribute.

source

pub fn rhs_quantization_max_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self

Sets the rhs_quantization_max_val attribute.

source

pub fn add_control_input(self, op: Operation) -> Self

Adds a control input.

source

pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, lhs: O0, rhs: O1, rhs_scales: O2, rhs_zero_points: O3, scope: &mut Scope ) -> Result<Operation>

Builds the UniformQuantizedConvolutionHybrid operation.

source

pub fn build_instance( &self, lhs: Output, rhs: Output, rhs_scales: Output, rhs_zero_points: Output, scope: &mut Scope ) -> Result<UniformQuantizedConvolutionHybridInst>

Builds a new instance of ‘UniformQuantizedConvolutionHybrid’ Operation with it’s Outputs and Inputs exposed as methods.

Trait Implementations§

source§

impl Debug for UniformQuantizedConvolutionHybrid

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UniformQuantizedConvolutionHybrid

source§

fn default() -> UniformQuantizedConvolutionHybrid

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.