Struct tensorflow::eager::raw_ops::UnicodeEncode
source · pub struct UnicodeEncode { /* private fields */ }
Expand description
UnicodeEncode
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UnicodeEncode
Implementations§
source§impl UnicodeEncode
impl UnicodeEncode
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 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>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input_values: &T0,
input_splits: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_values: &T0, input_splits: &T1 ) -> Result<TensorHandle<'a>>
Execute unicode_encode.
Trait Implementations§
source§impl Clone for UnicodeEncode
impl Clone for UnicodeEncode
source§fn clone(&self) -> UnicodeEncode
fn clone(&self) -> UnicodeEncode
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 UnicodeEncode
impl Debug for UnicodeEncode
Auto Trait Implementations§
impl RefUnwindSafe for UnicodeEncode
impl Send for UnicodeEncode
impl Sync for UnicodeEncode
impl Unpin for UnicodeEncode
impl UnwindSafe for UnicodeEncode
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