Struct tensorflow::eager::raw_ops::Stack
source · pub struct Stack { /* private fields */ }
Expand description
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute stack.
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