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