Function tensorflow::eager::raw_ops::in_top_kv2
source · pub fn in_top_kv2<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
ctx: &'a Context,
predictions: &T0,
targets: &T1,
k: &T2
) -> Result<TensorHandle<'a>>
Expand description
Shorthand for InTopKV2::new().call(&ctx, &predictions, &targets, &k)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/InTopKV2