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