Struct tensorflow::ops::MirrorPad
source · pub struct MirrorPad { /* private fields */ }
Expand description
Builder for the MirrorPad
operation.
Implementations§
source§impl MirrorPad
impl MirrorPad
sourcepub fn Tpaddings<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tpaddings<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tpaddings
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>>(
&self,
input: O0,
paddings: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, input: O0, paddings: O1, scope: &mut Scope ) -> Result<Operation>
Builds the MirrorPad
operation.
sourcepub fn build_instance(
&self,
input: Output,
paddings: Output,
scope: &mut Scope
) -> Result<MirrorPadInst>
pub fn build_instance( &self, input: Output, paddings: Output, scope: &mut Scope ) -> Result<MirrorPadInst>
Builds a new instance of ‘MirrorPad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MirrorPad
impl Send for MirrorPad
impl Sync for MirrorPad
impl Unpin for MirrorPad
impl UnwindSafe for MirrorPad
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