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