Struct tensorflow::eager::raw_ops::UnicodeDecode
source · pub struct UnicodeDecode { /* private fields */ }
Expand description
UnicodeDecode
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UnicodeDecode
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<[TensorHandle<'a>; 2]>
Execute unicode_decode.
Trait Implementations§
source§impl Clone for UnicodeDecode
impl Clone for UnicodeDecode
source§fn clone(&self) -> UnicodeDecode
fn clone(&self) -> UnicodeDecode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnicodeDecode
impl Debug for UnicodeDecode
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