Struct tensorflow::ops::ImmutableConst
source · pub struct ImmutableConst { /* private fields */ }
Expand description
Builder for the ImmutableConst
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build(&self, scope: &mut Scope) -> Result<Operation>
pub fn build(&self, scope: &mut Scope) -> Result<Operation>
Builds the ImmutableConst
operation.
sourcepub fn build_instance(&self, scope: &mut Scope) -> Result<ImmutableConstInst>
pub fn build_instance(&self, scope: &mut Scope) -> Result<ImmutableConstInst>
Builds a new instance of ‘ImmutableConst’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ImmutableConst
impl Debug for ImmutableConst
source§impl Default for ImmutableConst
impl Default for ImmutableConst
source§fn default() -> ImmutableConst
fn default() -> ImmutableConst
Returns the “default value” for a type. Read more
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