Home
last modified time | relevance | path

Searched refs:distance_metric (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py63 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/
Dtensorflow.estimator.experimental.-k-means.pbtxt56 …=[\'self\', \'num_clusters\', \'model_dir\', \'initial_clusters\', \'distance_metric\', \'seed\', …