Home
last modified time | relevance | path

Searched refs:target_range (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc500 int source, const std::pair<int, int>& target_range, in LongestPathsLowerBounds() argument
514 if (fanout >= target_range.first && fanout <= target_range.second && in LongestPathsLowerBounds()
538 std::vector<std::pair<int, int>> target_range(num_nodes, {num_nodes, -1}); in TransitiveReduction() local
555 target_range[input_node_idx].first = in TransitiveReduction()
556 std::min(target_range[input_node_idx].first, node_idx); in TransitiveReduction()
560 target_range[input_node_idx].second = in TransitiveReduction()
561 std::max(target_range[input_node_idx].second, node_idx); in TransitiveReduction()
580 if (target_range[source].first >= target_range[source].second || in TransitiveReduction()
581 target_range[source].second <= source) { in TransitiveReduction()
587 std::fill(longest_distance.begin() + target_range[source].first, in TransitiveReduction()
[all …]
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_dequantize_op.cc140 const float target_range = in Compute() local
142 const float scale_factor = max_abs / target_range; in Compute()
Dmkl_quantize_op.cc444 float target_range; in Compute() local
451 target_range = static_cast<float>((uint64_t{1} << (num_bits - 1)) - 1); in Compute()
458 target_range = static_cast<float>((uint64_t{1} << num_bits) - 1); in Compute()
460 scale_factor = target_range / max_abs; in Compute()