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