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