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