Struct tensorflow::ops::QuantizedConv2DAndRequantize
source · pub struct QuantizedConv2DAndRequantize { /* private fields */ }
Expand description
Builder for the QuantizedConv2DAndRequantize
operation.
Implementations§
source§impl QuantizedConv2DAndRequantize
impl QuantizedConv2DAndRequantize
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 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>>(
&self,
input: O0,
filter: O1,
min_input: O2,
max_input: O3,
min_filter: O4,
max_filter: O5,
min_freezed_output: O6,
max_freezed_output: O7,
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>>( &self, input: O0, filter: O1, min_input: O2, max_input: O3, min_filter: O4, max_filter: O5, min_freezed_output: O6, max_freezed_output: O7, scope: &mut Scope ) -> Result<Operation>
Builds the QuantizedConv2DAndRequantize
operation.
sourcepub fn build_instance(
&self,
input: Output,
filter: Output,
min_input: Output,
max_input: Output,
min_filter: Output,
max_filter: Output,
min_freezed_output: Output,
max_freezed_output: Output,
scope: &mut Scope
) -> Result<QuantizedConv2DAndRequantizeInst>
pub fn build_instance( &self, input: Output, filter: Output, min_input: Output, max_input: Output, min_filter: Output, max_filter: Output, min_freezed_output: Output, max_freezed_output: Output, scope: &mut Scope ) -> Result<QuantizedConv2DAndRequantizeInst>
Builds a new instance of ‘QuantizedConv2DAndRequantize’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for QuantizedConv2DAndRequantize
impl Debug for QuantizedConv2DAndRequantize
source§impl Default for QuantizedConv2DAndRequantize
impl Default for QuantizedConv2DAndRequantize
source§fn default() -> QuantizedConv2DAndRequantize
fn default() -> QuantizedConv2DAndRequantize
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for QuantizedConv2DAndRequantize
impl Send for QuantizedConv2DAndRequantize
impl Sync for QuantizedConv2DAndRequantize
impl Unpin for QuantizedConv2DAndRequantize
impl UnwindSafe for QuantizedConv2DAndRequantize
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