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