Struct tensorflow::ops::FusedResizeAndPadConv2D
source · 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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
input: O0,
size: O1,
paddings: O2,
filter: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, input: O0, size: O1, paddings: O2, filter: O3, scope: &mut Scope ) -> Result<Operation>
Builds the FusedResizeAndPadConv2D
operation.
sourcepub fn build_instance(
&self,
input: Output,
size: Output,
paddings: Output,
filter: Output,
scope: &mut Scope
) -> Result<FusedResizeAndPadConv2DInst>
pub fn build_instance( &self, input: Output, size: Output, paddings: Output, filter: Output, scope: &mut Scope ) -> Result<FusedResizeAndPadConv2DInst>
Builds a new instance of ‘FusedResizeAndPadConv2D’ Operation with it’s Outputs and Inputs exposed as methods.
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 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