Home
last modified time | relevance | path

Searched refs:COSINE_DISTANCE (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dclustering_ops.py45 COSINE_DISTANCE = 'cosine' variable
138 if distance_metric not in [SQUARED_EUCLIDEAN_DISTANCE, COSINE_DISTANCE]:
167 elif distance_metric == COSINE_DISTANCE:
245 if (self._distance_metric == COSINE_DISTANCE and
258 if self._distance_metric == COSINE_DISTANCE:
266 return (self._distance_metric == COSINE_DISTANCE and
372 if self._distance_metric == COSINE_DISTANCE:
413 if self._distance_metric == COSINE_DISTANCE:
612 if self._distance_metric == COSINE_DISTANCE:
658 if self._distance_metric == COSINE_DISTANCE:
[all …]
Dkmeans.py300 COSINE_DISTANCE = clustering_ops.COSINE_DISTANCE variable in KMeansClustering
413 KMeansClustering.COSINE_DISTANCE
Dkmeans_test.py373 distance_metric=kmeans_lib.KMeansClustering.COSINE_DISTANCE,
439 distance_metric=kmeans_lib.KMeansClustering.COSINE_DISTANCE,
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py46 COSINE_DISTANCE = 'cosine' variable
139 if distance_metric not in [SQUARED_EUCLIDEAN_DISTANCE, COSINE_DISTANCE]:
168 elif distance_metric == COSINE_DISTANCE:
246 if (self._distance_metric == COSINE_DISTANCE and
259 if self._distance_metric == COSINE_DISTANCE:
267 return (self._distance_metric == COSINE_DISTANCE and
373 if self._distance_metric == COSINE_DISTANCE:
414 if self._distance_metric == COSINE_DISTANCE:
613 if self._distance_metric == COSINE_DISTANCE:
657 if self._distance_metric == COSINE_DISTANCE:
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dkmeans.py163 COSINE_DISTANCE = clustering_ops.COSINE_DISTANCE variable in KMeansClustering
Dkmeans_test.py341 distance_metric=kmeans_lib.KMeansClustering.COSINE_DISTANCE,
407 distance_metric=kmeans_lib.KMeansClustering.COSINE_DISTANCE,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.experimental.-k-means.pbtxt20 name: "COSINE_DISTANCE"
/external/tensorflow/tensorflow/contrib/factorization/examples/
Dmnist.py139 distance_metric=tf.contrib.factorization.COSINE_DISTANCE,