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