Home
last modified time | relevance | path

Searched refs:weight_values (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/keras/saving/
Dhdf5_format.py597 weight_values = K.batch_get_value(symbolic_weights)
598 for name, val in zip(weight_names, weight_values):
642 weight_values = K.batch_get_value(weights)
645 for name, val in zip(weight_names, weight_values):
704 weight_values = [np.asarray(g[weight_name]) for weight_name in weight_names]
707 weight_values = preprocess_weights_for_loading(
708 layer, weight_values, original_keras_version, original_backend)
709 if len(weight_values) != len(symbolic_weights):
716 str(len(weight_values)) + ' elements.')
717 weight_value_tuples += zip(symbolic_weights, weight_values)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcount_ops.cc133 const auto weight_values = weights.flat<W>(); in Compute() local
142 per_batch_counts[b][value] += weight_values(i); in Compute()
207 const auto weight_values = weights.flat<W>(); in Compute() local
220 per_batch_counts[batch][value] += weight_values(idx); in Compute()
269 const auto weight_values = weights.flat<W>(); in Compute() local
298 per_batch_counts[batch_idx - 1][value] += weight_values(idx); in Compute()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_weights_test.cc41 std::initializer_list<float> weight_values, in BuildGraphDef() argument
51 test::FillValues<float>(&weights_data, weight_values); in BuildGraphDef()
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2020-020.md28 per_batch_counts[batch][value] += weight_values(idx);
/external/tensorflow/tensorflow/python/keras/
Dmetrics_confusion_matrix_test.py810 weight_values = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
814 weights = constant_op.constant(weight_values)
906 weight_values = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
910 weights = constant_op.constant(weight_values)
1004 weight_values = [2, 1, 2, 1, 2, 1, 2, 2, 1, 2]
1008 weights = constant_op.constant(weight_values)
1109 weight_values = [1, 2, 1, 2, 1, 2, 1]
1112 weights = constant_op.constant(weight_values)
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model_test.cc673 const int8_t* weight_values = in TEST_F() local
684 weight_values[element_idx] * weights_scales[channel_idx]; in TEST_F()
790 const int8_t* weight_values = in TEST_P() local
802 auto dequantized_value = weight_values[element_idx] * scale; in TEST_P()