Home
last modified time | relevance | path

Searched refs:old_values (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dround_weights.cc67 const float* old_values = old_tensor.flat<float>().data(); in RoundWeights() local
71 const float value = old_values[i]; in RoundWeights()
95 std::floor((old_values[i] - min) / bucket_width); in RoundWeights()
Dquantize_weights.cc68 const float* old_values = old_tensor.flat<float>().data(); in QuantizeWeights() local
72 const float value = old_values[i]; in QuantizeWeights()
/external/pigweed/pw_console/py/pw_console/
Dwindow_list.py327 old_values = [
331 old_total = max(sum(old_values), 1)
332 percentages = [value / old_total for value in old_values]
578 old_values = [
581 new_heights = [int(available_height / len(old_values))] * len(
582 old_values
/external/perfetto/include/perfetto/ext/base/
Dflat_hash_map.h332 auto old_values(std::move(values_)); in MaybeGrowAndRehash()
344 Insert(std::move(old_keys[i]), std::move(old_values[i])); in MaybeGrowAndRehash()
346 old_values[i].~Value(); in MaybeGrowAndRehash()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/
Dlower_saved_model.cc146 mlir::ValueRange old_values = device_iter.getValue().hoisted_values; in ReplaceHoistedValues() local
152 block->getParentOp()->getLoc(), old_values.getTypes(), in ReplaceHoistedValues()
159 for (auto iter : llvm::zip(old_values, new_values)) { in ReplaceHoistedValues()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc497 Location loc, Value iteration, ArrayRef<Value> old_values,
5913 auto swap_body_fn = [&](Location loc, Value i, ArrayRef<Value> old_values, in matchAndRewrite()
5916 Value swaps = old_values[0]; in matchAndRewrite()
5917 Value indices = old_values[1]; in matchAndRewrite()
6744 auto qr_body_fn = [&](Location loc, Value j, ArrayRef<Value> old_values, in QRBlock()
6747 auto a = old_values[0]; in QRBlock()
6748 auto vs = old_values[1]; in QRBlock()
6749 auto taus = old_values[2]; in QRBlock()
6912 auto body_fn = [&](Location loc, Value j, ArrayRef<Value> old_values, in ComputeWYRepresentation()
6915 auto w = old_values[0]; in ComputeWYRepresentation()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py167 old_values = list(values)
169 self.assertEqual(old_values, values)
175 old_values = list(values)
177 self.assertEqual(old_values, values)