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