Home
last modified time | relevance | path

Searched defs:y_pred (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/
Dlosses.py123 def __call__(self, y_true, y_pred, sample_weight=None): argument
180 def call(self, y_true, y_pred): argument
248 def call(self, y_true, y_pred): argument
1195 def mean_squared_error(y_true, y_pred): argument
1224 def _ragged_tensor_apply_loss(loss_fn, y_true, y_pred): argument
1277 def _ragged_tensor_mse(y_true, y_pred): argument
1297 def mean_absolute_error(y_true, y_pred): argument
1324 def _ragged_tensor_mae(y_true, y_pred): argument
1334 def mean_absolute_percentage_error(y_true, y_pred): argument
1369 def mean_squared_logarithmic_error(y_true, y_pred): argument
[all …]
Dmetrics.py560 def update_state(self, y_true, y_pred, sample_weight=None): argument
613 def update_state(self, y_true, y_pred, sample_weight=None): argument
966 def update_state(self, y_true, y_pred, sample_weight=None): argument
1292 def update_state(self, y_true, y_pred, sample_weight=None): argument
1417 def update_state(self, y_true, y_pred, sample_weight=None): argument
1501 def update_state(self, y_true, y_pred, sample_weight=None): argument
2092 def update_state(self, y_true, y_pred, sample_weight=None): argument
2650 def update_state(self, y_true, y_pred, sample_weight=None): argument
2843 def update_state(self, y_true, y_pred, sample_weight=None): argument
3265 def update_state(self, y_true, y_pred, sample_weight=None): argument
[all …]
Dlosses_test.py212 def loss_fn(y_true, y_pred): argument
226 def tf_functioned_loss_fn(y_true, y_pred, sample_weight=None): argument
290 def call(self, y_true, y_pred): argument
1657 def huber_loss(self, y_true, y_pred, delta=1.0): argument
1771 def call(self, y_true, y_pred): argument
1793 def loss_fn(y_true, y_pred): argument
Dmetrics_test.py1942 def update_state(self, y_true, y_pred, sample_weight=None): argument
1966 def update_state(self, y_true, y_pred, sample_weight=None): argument
2031 def compute_metric(y_true, y_pred, sample_weight): argument
2039 def metric_fn(y_true, y_pred): argument
2062 def tf_functioned_metric_fn(metric, y_true, y_pred): argument
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_gpu_test.py49 … loss = lambda y_true, y_pred: K.sparse_categorical_crossentropy( # pylint: disable=g-long-lambda argument
54 loss = lambda y_true, y_pred: K.categorical_crossentropy( # pylint: disable=g-long-lambda argument
59 …loss = lambda y_true, y_pred: K.binary_crossentropy(y_true, y_pred) # pylint: disable=unnecessary… argument
Dcompile_utils.py41 def build(self, y_pred): argument
135 def build(self, y_pred): argument
167 y_pred, argument
319 def build(self, y_pred, y_true): argument
403 def update_state(self, y_true, y_pred, sample_weight=None): argument
570 def map_to_output_names(y_pred, output_names, struct): argument
617 def map_missing_dict_keys(y_pred, struct): argument
Dcompile_utils_test.py345 def custom_loss_fn(y_true, y_pred): argument
350 def __call__(self, y_true, y_pred): argument
364 def custom_loss_fn(y_true, y_pred): argument
371 def call(self, y_true, y_pred): argument
751 def custom_metric_fn(y_true, y_pred): argument
756 def __call__(self, y_true, y_pred): argument
Dtraining_utils_v1.py1178 y_pred=None, argument
/external/rnnoise/training/
Drnn_train.py31 def my_crossentropy(y_true, y_pred): argument
37 def msse(y_true, y_pred): argument
40 def mycost(y_true, y_pred): argument
43 def my_accuracy(y_true, y_pred): argument
Ddump_rnn.py74 def mean_squared_sqrt_error(y_true, y_pred): argument
/external/libopus/training/
Drnn_train.py28 def binary_crossentrop2(y_true, y_pred): argument
31 def binary_accuracy2(y_true, y_pred): argument
Drnn_dump.py35 def binary_crossentrop2(y_true, y_pred): argument
/external/libopus/scripts/
Ddump_rnn.py32 def binary_crossentrop2(y_true, y_pred): argument
Drnn_train.py19 def binary_crossentrop2(y_true, y_pred): argument
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dkeras_test.py579 def loss_fn(y_true, y_pred): argument
681 def loss_fn(y_true, y_pred): argument
759 def loss_fn(y_true, y_pred): argument
862 def loss_fn(y_true, y_pred): argument
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_architectures_test.py69 def custom_loss(y_true, y_pred): argument
/external/tensorflow/tensorflow/python/keras/saving/
Dlosses_serialization_test.py55 def my_mae(y_true, y_pred): argument
Dmetrics_serialization_test.py52 def _my_mae(y_true, y_pred): argument
Dsave_test.py482 def custom_loss(y_true, y_pred): argument
/external/tensorflow/tensorflow/lite/micro/examples/hello_world/
Dhello_world_test.cc102 float y_pred = (y_pred_quantized - output_zero_point) * output_scale; in TF_LITE_MICRO_TEST() local
/external/tensorflow/tensorflow/python/ops/losses/
Dutil.py34 def squeeze_or_expand_dimensions(y_pred, y_true=None, sample_weight=None): argument
/external/tensorflow/tensorflow/python/keras/utils/
Dlosses_utils.py146 def squeeze_or_expand_dimensions(y_pred, y_true=None, sample_weight=None): argument
Dtf_utils_test.py154 def custom_loss(y_obs, y_pred): argument
Dmetrics_utils.py238 y_pred, argument
/external/tensorflow/tensorflow/python/keras/layers/
Dlocal_test.py427 def xent(y_true, y_pred): argument

12