Home
last modified time | relevance | path

Searched refs:old_values (Results 1 – 4 of 4) 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()
94 const int32 bucket = 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/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc623 Location loc, Value iteration, ArrayRef<Value> old_values,
696 SmallVector<Value, 4> old_values; // From the previous iteration in CreateWhile32() local
698 old_values.reserve(value_count); in CreateWhile32()
703 old_values.push_back(builder->create<GetTupleElementOp>(loc, arg, i)); in CreateWhile32()
706 body_fn(loc, old_values[0], llvm::makeArrayRef(old_values).drop_front(), in CreateWhile32()
714 loc, old_values[0], one, scalar_broadcast_dims); in CreateWhile32()
5078 auto swap_body_fn = [&](Location loc, Value i, ArrayRef<Value> old_values, in matchAndRewrite()
5081 Value swaps = old_values[0]; in matchAndRewrite()
5082 Value indices = old_values[1]; in matchAndRewrite()
5830 auto qr_body_fn = [&](Location loc, Value j, ArrayRef<Value> old_values, in QRBlock()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py164 old_values = list(values)
166 self.assertEqual(old_values, values)
172 old_values = list(values)
174 self.assertEqual(old_values, values)