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