Struct tensorflow::eager::raw_ops::InitializeTableFromTextFile
source · pub struct InitializeTableFromTextFile { /* private fields */ }
Expand description
InitializeTableFromTextFile
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/InitializeTableFromTextFile
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 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.
Trait Implementations§
source§impl Clone for InitializeTableFromTextFile
impl Clone for InitializeTableFromTextFile
source§fn clone(&self) -> InitializeTableFromTextFile
fn clone(&self) -> InitializeTableFromTextFile
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 InitializeTableFromTextFile
impl Debug for InitializeTableFromTextFile
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