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