pub fn nearest_neighbors<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
    ctx: &'a Context,
    points: &T0,
    centers: &T1,
    k: &T2
) -> Result<[TensorHandle<'a>; 2]>
Expand description

Shorthand for NearestNeighbors::new().call(&ctx, &points, &centers, &k).

See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/NearestNeighbors