Struct tensorflow::ops::Pad
source · pub struct Pad { /* private fields */ }
Expand description
Builder for the Pad
operation.
Implementations§
source§impl Pad
impl Pad
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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Pad
impl Send for Pad
impl Sync for Pad
impl Unpin for Pad
impl UnwindSafe for Pad
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