pub struct AnonymousMutableHashTableOfTensors { /* private fields */ }
Expand description
Builder for the AnonymousMutableHashTableOfTensors
operation.
Implementations§
source§impl AnonymousMutableHashTableOfTensors
impl AnonymousMutableHashTableOfTensors
sourcepub fn key_dtype<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn key_dtype<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the key_dtype
attribute.
sourcepub fn value_dtype<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn value_dtype<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the value_dtype
attribute.
sourcepub fn value_shape<ArgType: Into<Shape>>(self, value: ArgType) -> Self
pub fn value_shape<ArgType: Into<Shape>>(self, value: ArgType) -> Self
Sets the value_shape
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 AnonymousMutableHashTableOfTensors
operation.
sourcepub fn build_instance(
&self,
scope: &mut Scope
) -> Result<AnonymousMutableHashTableOfTensorsInst>
pub fn build_instance( &self, scope: &mut Scope ) -> Result<AnonymousMutableHashTableOfTensorsInst>
Builds a new instance of ‘AnonymousMutableHashTableOfTensors’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for AnonymousMutableHashTableOfTensors
impl Default for AnonymousMutableHashTableOfTensors
source§fn default() -> AnonymousMutableHashTableOfTensors
fn default() -> AnonymousMutableHashTableOfTensors
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AnonymousMutableHashTableOfTensors
impl Send for AnonymousMutableHashTableOfTensors
impl Sync for AnonymousMutableHashTableOfTensors
impl Unpin for AnonymousMutableHashTableOfTensors
impl UnwindSafe for AnonymousMutableHashTableOfTensors
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