Struct tensorflow::ops::UnicodeTranscode
source · [−]pub struct UnicodeTranscode { /* private fields */ }Expand description
Builder for the UnicodeTranscode operation.
Implementations
sourceimpl 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.
Trait Implementations
sourceimpl Debug for UnicodeTranscode
impl Debug for UnicodeTranscode
sourceimpl Default for UnicodeTranscode
impl Default for UnicodeTranscode
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more