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