Struct tensorflow::eager::raw_ops::StackPush
source · pub struct StackPush { /* private fields */ }
Expand description
StackPush
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/StackPush
Implementations§
source§impl 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 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, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
handle: &T0,
elem: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, handle: &T0, elem: &T1 ) -> Result<TensorHandle<'a>>
Execute stack_push.
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§
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