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