pub struct FusedResizeAndPadConv2D { /* private fields */ }
Expand description
Builder for the FusedResizeAndPadConv2D
operation.
Implementations§
Source§impl FusedResizeAndPadConv2D
impl FusedResizeAndPadConv2D
Sourcepub fn resize_align_corners<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn resize_align_corners<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the resize_align_corners
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 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 FusedResizeAndPadConv2D
impl Debug for FusedResizeAndPadConv2D
Source§impl Default for FusedResizeAndPadConv2D
impl Default for FusedResizeAndPadConv2D
Source§fn default() -> FusedResizeAndPadConv2D
fn default() -> FusedResizeAndPadConv2D
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FusedResizeAndPadConv2D
impl RefUnwindSafe for FusedResizeAndPadConv2D
impl Send for FusedResizeAndPadConv2D
impl Sync for FusedResizeAndPadConv2D
impl Unpin for FusedResizeAndPadConv2D
impl UnwindSafe for FusedResizeAndPadConv2D
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