Home
last modified time | relevance | path

Searched refs:from_logits (Results 1 – 25 of 46) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/
Dlosses.py577 from_logits=False, argument
607 from_logits=from_logits,
609 self.from_logits = from_logits
658 from_logits=False, argument
687 from_logits=from_logits,
740 from_logits=False, argument
765 from_logits=from_logits)
1595 from_logits=False, argument
1631 return K.categorical_crossentropy(y_true, y_pred, from_logits=from_logits)
1638 from_logits=False, argument
[all …]
Dlosses_test.py87 target, logits, from_logits=True)
114 o = losses.categorical_crossentropy(t, p, from_logits=True)
126 target, logits, from_logits=True)
154 o = losses.sparse_categorical_crossentropy(t, p, from_logits=True)
166 target, logits, from_logits=True)
268 loss = losses.categorical_crossentropy(y_true, logits, from_logits=True)[0]
280 y_true, logits, from_logits=True)[0]
752 bce_obj = losses.BinaryCrossentropy(from_logits=True)
778 bce_obj = losses.BinaryCrossentropy(from_logits=True)
817 bce_obj = losses.BinaryCrossentropy(from_logits=True)
[all …]
Dmetrics.py1972 from_logits=False): argument
2032 self._from_logits = from_logits
3081 from_logits=False, argument
3087 from_logits=from_logits,
3145 from_logits=False, argument
3151 from_logits=from_logits,
3216 from_logits=False, argument
3222 from_logits=from_logits,
Dbackend_test.py1642 result = backend.categorical_crossentropy(t, p, from_logits=True),
1646 result = backend.categorical_crossentropy(t, p, from_logits=True, axis=0),
1675 o = backend.categorical_crossentropy(t, p, from_logits=True)
1682 o = backend.categorical_crossentropy(t, p, from_logits=True, axis=0)
1710 result = backend.sparse_categorical_crossentropy(t, p, from_logits=True),
1715 t, p, from_logits=True, axis=0),
1747 o = backend.sparse_categorical_crossentropy(t, p, from_logits=True)
1758 t, p, from_logits=True, axis=0)
1777 self.evaluate(backend.binary_crossentropy(t, logits, from_logits=True))
1786 self.evaluate(backend.binary_crossentropy(t, p, from_logits=True))
[all …]
Dbackend.py4903 def categorical_crossentropy(target, output, from_logits=False, axis=-1): argument
4953 if from_logits:
4958 from_logits = True
4960 if from_logits:
4986 def sparse_categorical_crossentropy(target, output, from_logits=False, axis=-1): argument
5013 if from_logits:
5018 from_logits = True
5019 elif (not from_logits and
5028 from_logits = True
5029 elif not from_logits:
[all …]
Dmetrics_test.py1578 bce_obj = metrics.BinaryCrossentropy(from_logits=True)
1621 bce_obj = metrics.BinaryCrossentropy(from_logits=True)
1652 from_logits=True, label_smoothing=label_smoothing)
1698 cce_obj = metrics.CategoricalCrossentropy(from_logits=True)
1741 cce_obj = metrics.CategoricalCrossentropy(from_logits=True)
1779 from_logits=True, label_smoothing=label_smoothing)
1833 scce_obj = metrics.SparseCategoricalCrossentropy(from_logits=True)
1887 scce_obj = metrics.SparseCategoricalCrossentropy(from_logits=True)
2270 auc_obj = metrics.AUC(num_thresholds=3, from_logits=True)
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/
Dantirectifier_benchmark_test.py65 loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
82 loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
99 loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
121 loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.losses.pbtxt93 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
97 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
185 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
Dtensorflow.losses.pbtxt93 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
97 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
185 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
Dtensorflow.metrics.pbtxt181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
189 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
269 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
Dtensorflow.keras.metrics.pbtxt181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
189 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
269 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
Dtensorflow.losses.-binary-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.losses.-sparse-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'reduction\', \'name\'], varargs=None, keywords=None, …
Dtensorflow.keras.losses.-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.-binary-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.-sparse-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'reduction\', \'name\'], varargs=None, keywords=None, …
Dtensorflow.losses.-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.backend.pbtxt57 …argspec: "args=[\'target\', \'output\', \'from_logits\'], varargs=None, keywords=None, defaults=[\…
69 …argspec: "args=[\'target\', \'output\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
489 …argspec: "args=[\'target\', \'output\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.losses.pbtxt89 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
93 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
185 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
Dtensorflow.keras.metrics.pbtxt181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
189 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
277 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
Dtensorflow.keras.losses.-binary-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.-sparse-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'reduction\', \'name\'], varargs=None, keywords=None, …
Dtensorflow.keras.losses.-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.backend.pbtxt61 …argspec: "args=[\'target\', \'output\', \'from_logits\'], varargs=None, keywords=None, defaults=[\…
73 …argspec: "args=[\'target\', \'output\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
497 …argspec: "args=[\'target\', \'output\', \'from_logits\', \'axis\'], varargs=None, keywords=None, d…
/external/tensorflow/tensorflow/python/keras/integration_test/
Dmulti_worker_tutorial_test.py118 loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
271 from_logits=True,

12