Struct tensorflow::ops::RiscAdd
source · [−]pub struct RiscAdd { /* private fields */ }
Expand description
Builder for the RiscAdd
operation.
Implementations
sourceimpl RiscAdd
impl RiscAdd
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,
x: O0,
y: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
x: O0,
y: O1,
scope: &mut Scope
) -> Result<Operation>
Builds the RiscAdd
operation.
sourcepub fn build_instance(
&self,
x: Output,
y: Output,
scope: &mut Scope
) -> Result<RiscAddInst>
pub fn build_instance(
&self,
x: Output,
y: Output,
scope: &mut Scope
) -> Result<RiscAddInst>
Builds a new instance of ‘RiscAdd’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RiscAdd
impl Send for RiscAdd
impl Sync for RiscAdd
impl Unpin for RiscAdd
impl UnwindSafe for RiscAdd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more