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