Searched refs:in_top_k (Results 1 – 17 of 17) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | in_topk_op_test.py | 34 precision = nn_ops.in_top_k(predictions, target, k) 71 nn_ops.in_top_k(predictions, target, 2).eval() 79 precision = nn_ops.in_top_k(predictions, target, k)
|
/external/tensorflow/tensorflow/examples/tutorials/mnist/ |
D | mnist.py | 145 correct = tf.nn.in_top_k(logits, labels, 1)
|
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/ |
D | cifar10_eval.py | 116 top_k_op = tf.nn.in_top_k(logits, labels, 1)
|
/external/tensorflow/tensorflow/contrib/tensor_forest/client/ |
D | eval_metrics.py | 42 return metrics.mean(nn.in_top_k(probabilities, targets, k))
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
D | main_estimator_tpu.py | 92 in_top_5 = tf.cast(tf.nn.in_top_k(logits, labels, 5), tf.float32)
|
/external/tensorflow/tensorflow/contrib/keras/api/keras/backend/ |
D | __init__.py | 77 from tensorflow.python.keras.backend import in_top_k
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops.py | 2167 in_top_k = math_ops.cast(nn.in_top_k(predictions, labels, k), dtypes.float32) 2168 return streaming_mean(in_top_k, weights, metrics_collections,
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_ops.py | 4666 def in_top_k(predictions, targets, k, name=None): function 4701 return in_top_k(predictions, targets, k, name) 4704 in_top_k_v2.__doc__ = in_top_k.__doc__
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics.py | 2735 nn.in_top_k(y_pred, math_ops.argmax(y_true, axis=-1), k), axis=-1) 2747 return K.mean(nn.in_top_k(y_pred, math_ops.cast(y_true, 'int32'), k), axis=-1)
|
D | backend.py | 4103 def in_top_k(predictions, targets, k): function 4116 return nn.in_top_k(predictions, targets, k)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.nn.pbtxt | 172 name: "in_top_k"
|
D | tensorflow.math.pbtxt | 176 name: "in_top_k"
|
D | tensorflow.keras.backend.pbtxt | 232 name: "in_top_k"
|
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/g3doc/ |
D | README.md | 241 correct = tf.nn.in_top_k(output_class, y, 1)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.math.pbtxt | 176 name: "in_top_k"
|
D | tensorflow.nn.pbtxt | 216 name: "in_top_k"
|
D | tensorflow.keras.backend.pbtxt | 236 name: "in_top_k"
|