Struct tensorflow::eager::raw_ops::InitializeTableFromTextFileV2
source · pub struct InitializeTableFromTextFileV2 { /* private fields */ }
Expand description
InitializeTableFromTextFileV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/InitializeTableFromTextFileV2
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 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,
table_handle: &T0,
filename: &T1
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, table_handle: &T0, filename: &T1 ) -> Result<()>
Execute initialize_table_from_text_file_v2.
Trait Implementations§
source§impl Clone for InitializeTableFromTextFileV2
impl Clone for InitializeTableFromTextFileV2
source§fn clone(&self) -> InitializeTableFromTextFileV2
fn clone(&self) -> InitializeTableFromTextFileV2
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 moreAuto 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