Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_generator_v1.py51 class_weight=None, argument
154 model, mode, class_weight=class_weight)
306 class_weight=class_weight,
515 def _make_execution_function(model, mode, class_weight=None): argument
518 f = functools.partial(model.train_on_batch, class_weight=class_weight)
565 class_weight=None, argument
587 class_weight=class_weight,
655 class_weight=None, argument
680 class_weight=class_weight,
735 class_weight=None, argument
[all …]
Ddata_adapter.py1112 class_weight=None, argument
1180 class_weight, distribute)
1188 class_weight, distribute): argument
1192 if class_weight:
1193 dataset = dataset.map(_make_class_weight_map_fn(class_weight))
1352 class_weight, distribute): argument
1380 def _make_class_weight_map_fn(class_weight): argument
1394 class_ids = list(sorted(class_weight.keys()))
1399 "than the number of classes, found {}").format(class_weight)
1403 [class_weight[int(c)] for c in class_ids])
[all …]
Dtraining_distributed_v1.py593 class_weight=None, argument
617 class_weight=class_weight,
627 class_weight=class_weight,
644 class_weight=None,
Dtraining_v1.py627 class_weight=None, argument
807 class_weight=class_weight,
1014 class_weight=None, argument
1069 x, y, sample_weight=sample_weight, class_weight=class_weight,
1235 class_weight=None, argument
1259 class_weight=class_weight,
2098 class_weight=None, argument
2134 if class_weight:
2209 class_weight=None, argument
2340 class_weight=class_weight,
[all …]
Dtraining_utils_v1.py722 def standardize_class_weights(class_weight, output_names): argument
723 return standardize_sample_or_class_weights(class_weight, output_names,
950 class_weight=None, argument
1019 if isinstance(class_weight, dict):
1026 keys = np.array(sorted(class_weight.keys()))
1027 values = np.array([class_weight[i] for i in keys])
1054 [class_weight[cls] for cls in y_classes if cls in class_weight])
1059 existing_class_weight = set(class_weight.keys())
1927 class_weight=None, argument
Dtraining_utils_v1_test.py209 y, class_weight=class_weights)
231 class_weight = dict(enumerate(class_weight_np))
238 class_weight=class_weight)
Dtraining.py879 class_weight=None, argument
1111 class_weight=class_weight,
1736 class_weight=None, argument
1786 class_weight)
1893 class_weight=None, argument
1917 class_weight=class_weight,
Dtraining_arrays_v1.py612 class_weight=None, argument
626 class_weight=class_weight,
Dtraining_test.py1802 class_weight = dict([(i, 1.) for i in range(num_classes)])
1803 class_weight[weighted_class] = weight
1811 class_weight=class_weight,
1819 class_weight=class_weight)
1826 class_weight=class_weight,
1830 x_train[:batch_size], y_train[:batch_size], class_weight=class_weight)
1952 model.fit([x, x], [y, y], epochs=1, class_weight={'unknown': 1})
Ddata_adapter_test.py996 class_weight={
1007 class_weight={
/external/tensorflow/tensorflow/python/keras/
Dmetrics_correctness_test.py385 self.class_weight = {i: 1 for i in range(10)}
386 self.class_weight.update({2: 2, 4: 3, 6: 4, 8: 5})
463 class_weight=self.class_weight,
504 self.x, self.y, class_weight=self.class_weight)
540 class_weight=self.class_weight)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.models.-model.pbtxt217 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
221 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
345 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.-model.pbtxt217 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
221 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
345 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.models.-sequential.pbtxt223 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
227 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
363 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.-sequential.pbtxt223 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
227 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
363 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.experimental.-linear-model.pbtxt218 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
222 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
346 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.experimental.-wide-deep-model.pbtxt218 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
222 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
346 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.models.-model.pbtxt217 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
221 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
345 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.models.-sequential.pbtxt223 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
227 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
363 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.experimental.-linear-model.pbtxt218 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
222 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
346 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.-model.pbtxt217 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
221 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
345 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.-sequential.pbtxt223 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
227 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
363 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
Dtensorflow.keras.experimental.-wide-deep-model.pbtxt218 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
222 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
346 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\', \'…
/external/tensorflow/tensorflow/python/keras/tests/
Dtemporal_sample_weights_correctness_test.py506 class_weight={'output_1': {
/external/tensorflow/
DRELEASE.md1985 sample_weight/class_weight dictionaries