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