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