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 Freeze for QuantizedConv2D
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