Struct tensorflow::ops::MirrorPadGrad
source · pub struct MirrorPadGrad { /* private fields */ }
Expand description
Builder for the MirrorPadGrad
operation.
Implementations§
source§impl MirrorPadGrad
impl MirrorPadGrad
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 MirrorPadGrad
operation.
sourcepub fn build_instance(
&self,
input: Output,
paddings: Output,
scope: &mut Scope
) -> Result<MirrorPadGradInst>
pub fn build_instance( &self, input: Output, paddings: Output, scope: &mut Scope ) -> Result<MirrorPadGradInst>
Builds a new instance of ‘MirrorPadGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for MirrorPadGrad
impl Debug for MirrorPadGrad
source§impl Default for MirrorPadGrad
impl Default for MirrorPadGrad
source§fn default() -> MirrorPadGrad
fn default() -> MirrorPadGrad
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MirrorPadGrad
impl Send for MirrorPadGrad
impl Sync for MirrorPadGrad
impl Unpin for MirrorPadGrad
impl UnwindSafe for MirrorPadGrad
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