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