Struct tensorflow::eager::raw_ops::ImmutableConst
source · pub struct ImmutableConst { /* private fields */ }
Expand description
ImmutableConst
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ImmutableConst
Implementations§
source§impl ImmutableConst
impl ImmutableConst
sourcepub fn memory_region_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn memory_region_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the memory_region_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 immutable_const.
Trait Implementations§
source§impl Clone for ImmutableConst
impl Clone for ImmutableConst
source§fn clone(&self) -> ImmutableConst
fn clone(&self) -> ImmutableConst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImmutableConst
impl Debug for ImmutableConst
Auto Trait Implementations§
impl RefUnwindSafe for ImmutableConst
impl Send for ImmutableConst
impl Sync for ImmutableConst
impl Unpin for ImmutableConst
impl UnwindSafe for ImmutableConst
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