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