Struct tensorflow::eager::raw_ops::UnicodeTranscode
source · [−]pub struct UnicodeTranscode { /* private fields */ }Expand description
UnicodeTranscode
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UnicodeTranscode
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 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>>
pub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0
) -> Result<TensorHandle<'a>>
Execute unicode_transcode.
Trait Implementations
sourceimpl Clone for UnicodeTranscode
impl Clone for UnicodeTranscode
sourcefn clone(&self) -> UnicodeTranscode
fn clone(&self) -> UnicodeTranscode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UnicodeTranscode
impl Debug for UnicodeTranscode
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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