Struct tensorflow::ops::UnicodeEncode
source · pub struct UnicodeEncode { /* private fields */ }
Expand description
Builder for the UnicodeEncode
operation.
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 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>, O1: Into<Output>>(
&self,
input_values: O0,
input_splits: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>( &self, input_values: O0, input_splits: O1, scope: &mut Scope ) -> Result<Operation>
Builds the UnicodeEncode
operation.
sourcepub fn build_instance(
&self,
input_values: Output,
input_splits: Output,
scope: &mut Scope
) -> Result<UnicodeEncodeInst>
pub fn build_instance( &self, input_values: Output, input_splits: Output, scope: &mut Scope ) -> Result<UnicodeEncodeInst>
Builds a new instance of ‘UnicodeEncode’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for UnicodeEncode
impl Debug for UnicodeEncode
source§impl Default for UnicodeEncode
impl Default for UnicodeEncode
source§fn default() -> UnicodeEncode
fn default() -> UnicodeEncode
Returns the “default value” for a type. Read more
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