Struct tensorflow::ops::RiscBinaryArithmetic
source · [−]pub struct RiscBinaryArithmetic { /* private fields */ }
Expand description
Builder for the RiscBinaryArithmetic
operation.
Implementations
sourceimpl RiscBinaryArithmetic
impl RiscBinaryArithmetic
sourcepub fn op_type<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn op_type<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the op_type
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,
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 RiscBinaryArithmetic
operation.
sourcepub fn build_instance(
&self,
x: Output,
y: Output,
scope: &mut Scope
) -> Result<RiscBinaryArithmeticInst>
pub fn build_instance(
&self,
x: Output,
y: Output,
scope: &mut Scope
) -> Result<RiscBinaryArithmeticInst>
Builds a new instance of ‘RiscBinaryArithmetic’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for RiscBinaryArithmetic
impl Debug for RiscBinaryArithmetic
sourceimpl Default for RiscBinaryArithmetic
impl Default for RiscBinaryArithmetic
sourcefn default() -> RiscBinaryArithmetic
fn default() -> RiscBinaryArithmetic
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RiscBinaryArithmetic
impl Send for RiscBinaryArithmetic
impl Sync for RiscBinaryArithmetic
impl Unpin for RiscBinaryArithmetic
impl UnwindSafe for RiscBinaryArithmetic
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