pub struct QuantizedConv2DWithBiasSumAndReluAndRequantize { /* private fields */ }
Expand description
Builder for the QuantizedConv2DWithBiasSumAndReluAndRequantize
operation.
Implementations§
Source§impl QuantizedConv2DWithBiasSumAndReluAndRequantize
impl QuantizedConv2DWithBiasSumAndReluAndRequantize
Sourcepub fn Tinput<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tinput<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tinput
attribute.
Sourcepub fn Tfilter<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tfilter<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tfilter
attribute.
Sourcepub fn Tsummand<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tsummand<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tsummand
attribute.
Sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
attribute.
Sourcepub fn strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the strides
attribute.
Sourcepub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the padding
attribute.
Sourcepub fn dilations<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn dilations<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the dilations
attribute.
Sourcepub fn padding_list<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn padding_list<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the padding_list
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>, O9: Into<Output>, O10: Into<Output>, O11: Into<Output>>(
&self,
input: O0,
filter: O1,
bias: O2,
min_input: O3,
max_input: O4,
min_filter: O5,
max_filter: O6,
min_freezed_output: O7,
max_freezed_output: O8,
summand: O9,
min_summand: O10,
max_summand: O11,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>, O9: Into<Output>, O10: Into<Output>, O11: Into<Output>>( &self, input: O0, filter: O1, bias: O2, min_input: O3, max_input: O4, min_filter: O5, max_filter: O6, min_freezed_output: O7, max_freezed_output: O8, summand: O9, min_summand: O10, max_summand: O11, scope: &mut Scope, ) -> Result<Operation>
Builds the QuantizedConv2DWithBiasSumAndReluAndRequantize
operation.
Trait Implementations§
Source§impl Default for QuantizedConv2DWithBiasSumAndReluAndRequantize
impl Default for QuantizedConv2DWithBiasSumAndReluAndRequantize
Source§fn default() -> QuantizedConv2DWithBiasSumAndReluAndRequantize
fn default() -> QuantizedConv2DWithBiasSumAndReluAndRequantize
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QuantizedConv2DWithBiasSumAndReluAndRequantize
impl RefUnwindSafe for QuantizedConv2DWithBiasSumAndReluAndRequantize
impl Send for QuantizedConv2DWithBiasSumAndReluAndRequantize
impl Sync for QuantizedConv2DWithBiasSumAndReluAndRequantize
impl Unpin for QuantizedConv2DWithBiasSumAndReluAndRequantize
impl UnwindSafe for QuantizedConv2DWithBiasSumAndReluAndRequantize
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