Searched refs:distance_metric (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/ops/ |
D | clustering_ops.py | 63 distance_metric=SQUARED_EUCLIDEAN_DISTANCE, argument 139 if distance_metric not in [SQUARED_EUCLIDEAN_DISTANCE, COSINE_DISTANCE]: 140 raise ValueError("Unsupported distance metric '%s'" % distance_metric) 144 self._distance_metric = distance_metric 152 def _distance_graph(cls, inputs, clusters, distance_metric): argument 166 if distance_metric == SQUARED_EUCLIDEAN_DISTANCE: 168 elif distance_metric == COSINE_DISTANCE: 172 assert False, str(distance_metric) 561 def __init__(self, inputs, num_clusters, initial_clusters, distance_metric, argument 587 self._distance_metric = distance_metric
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.estimator.experimental.-k-means.pbtxt | 56 …=[\'self\', \'num_clusters\', \'model_dir\', \'initial_clusters\', \'distance_metric\', \'seed\', …
|