Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/
Dlosses_ops.py53 class_weight=None, argument
78 if class_weight is not None:
79 logits = math_ops.multiply(logits, class_weight)
Dops_test.py41 class_weight = constant_op.constant([0.1, 0.9])
43 biases, class_weight)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_generator.py50 class_weight=None, argument
149 model, mode, class_weight=class_weight)
308 class_weight=class_weight,
521 def _make_execution_function(model, mode, class_weight=None): argument
524 f = functools.partial(model.train_on_batch, class_weight=class_weight)
Dtraining.py541 class_weight=None, argument
718 class_weight=class_weight,
742 class_weight=class_weight,
766 class_weight=class_weight,
789 class_weight=class_weight,
801 class_weight=class_weight,
1189 class_weight=None, argument
1237 x, y, sample_weight=sample_weight, class_weight=class_weight,
1385 class_weight=None, argument
1502 class_weight=class_weight,
[all …]
Dtraining_utils_test.py221 weights = training_utils.standardize_weights(y, class_weight=class_weights)
243 class_weight = dict(enumerate(class_weight_np))
250 class_weight=class_weight)
Dtraining_utils.py395 def standardize_class_weights(class_weight, output_names): argument
396 return standardize_sample_or_class_weights(class_weight, output_names,
619 class_weight=None, argument
689 if isinstance(class_weight, dict):
703 [class_weight[cls] for cls in y_classes if cls in class_weight])
708 existing_class_weight = set(class_weight.keys())
Dtraining_distributed.py53 class_weight=None, argument
78 class_weight=class_weight,
98 class_weight=None,
Dtraining_test.py1160 class_weight = dict([(i, 1.) for i in range(num_classes)])
1161 class_weight[weighted_class] = weight
1169 class_weight=class_weight,
1177 class_weight=class_weight)
1184 class_weight=class_weight,
1188 x_train[:batch_size], y_train[:batch_size], class_weight=class_weight)
1380 class_weight = dict([(i, 1.) for i in range(num_classes)])
1382 del class_weight[1]
1385 epochs=0, verbose=0, class_weight=class_weight)
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmodels.py122 class_weight=None, argument
175 if not class_weight:
177 class_weight = ops.get_default_graph().get_tensor_by_name(
183 x, y, weights, bias, class_weight=class_weight)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.models.-model.pbtxt178 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
182 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
286 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.-model.pbtxt178 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
182 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
286 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.-sequential.pbtxt183 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
187 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
303 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.layers.-linear-model.pbtxt183 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
187 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
291 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.models.-sequential.pbtxt183 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
187 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
303 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.models.-model.pbtxt178 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
182 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
286 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.-model.pbtxt178 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
182 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
286 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.-sequential.pbtxt183 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
187 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
303 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
Dtensorflow.keras.models.-sequential.pbtxt183 …allbacks\', \'validation_split\', \'validation_data\', \'shuffle\', \'class_weight\', \'sample_wei…
187 …\', \'validation_data\', \'validation_steps\', \'validation_freq\', \'class_weight\', \'max_queue_…
303 …argspec: "args=[\'self\', \'x\', \'y\', \'sample_weight\', \'class_weight\', \'reset_metrics\'], v…
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dkeras_support.py1483 class_weight=None, argument
1555 validation_data, shuffle, class_weight, sample_weight,
1559 class_weight, sample_weight, initial_epoch,
1615 validation_split, validation_data, shuffle, class_weight, argument
1636 class_weight=class_weight,