Struct tensorflow::ops::SkipgramInst
source · pub struct SkipgramInst {
pub op: Operation,
}
Expand description
An instance of ‘Skipgram’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built Skipgram Operation in a Tensorflow graph.
Implementations§
source§impl SkipgramInst
impl SkipgramInst
sourcepub fn vocab_word(&self) -> Output
pub fn vocab_word(&self) -> Output
Returns the ‘vocab_word’ Output of this ‘Skipgram’ operation.
sourcepub fn vocab_freq(&self) -> Output
pub fn vocab_freq(&self) -> Output
Returns the ‘vocab_freq’ Output of this ‘Skipgram’ operation.
sourcepub fn words_per_epoch(&self) -> Output
pub fn words_per_epoch(&self) -> Output
Returns the ‘words_per_epoch’ Output of this ‘Skipgram’ operation.
sourcepub fn current_epoch(&self) -> Output
pub fn current_epoch(&self) -> Output
Returns the ‘current_epoch’ Output of this ‘Skipgram’ operation.
sourcepub fn total_words_processed(&self) -> Output
pub fn total_words_processed(&self) -> Output
Returns the ‘total_words_processed’ Output of this ‘Skipgram’ operation.
Trait Implementations§
source§impl Clone for SkipgramInst
impl Clone for SkipgramInst
source§fn clone(&self) -> SkipgramInst
fn clone(&self) -> SkipgramInst
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 SkipgramInst
impl Debug for SkipgramInst
source§impl From<SkipgramInst> for Operation
impl From<SkipgramInst> for Operation
source§fn from(inst: SkipgramInst) -> Operation
fn from(inst: SkipgramInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SkipgramInst
impl Send for SkipgramInst
impl Sync for SkipgramInst
impl Unpin for SkipgramInst
impl UnwindSafe for SkipgramInst
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