Function tensorflow::eager::raw_ops::top_kv2
source · pub fn top_kv2<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
ctx: &'a Context,
input: &T0,
k: &T1
) -> Result<[TensorHandle<'a>; 2]>
Expand description
Shorthand for TopKV2::new().call(&ctx, &input, &k)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/TopKV2