Struct tensorflow::ops::QuantizedConv2D
source · pub struct QuantizedConv2D { /* private fields */ }
Expand description
Builder for the QuantizedConv2D
operation.
Implementations§
source§impl QuantizedConv2D
impl QuantizedConv2D
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
source§impl Debug for QuantizedConv2D
impl Debug for QuantizedConv2D
source§impl Default for QuantizedConv2D
impl Default for QuantizedConv2D
source§fn default() -> QuantizedConv2D
fn default() -> QuantizedConv2D
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for QuantizedConv2D
impl Send for QuantizedConv2D
impl Sync for QuantizedConv2D
impl Unpin for QuantizedConv2D
impl UnwindSafe for QuantizedConv2D
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