Home
last modified time | relevance | path

Searched refs:input_it (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Dbroadcast.cc51 auto input_it = input_dims.rbegin(); in BroadcastTo() local
54 if (input_it != input_dims.rend()) { in BroadcastTo()
55 if (!(*output_it == 0 && *input_it == 0) && in BroadcastTo()
56 !(*input_it != 0 && *output_it % *input_it == 0)) { in BroadcastTo()
64 if (*output_it == *input_it || *input_it == 1) { in BroadcastTo()
66 } else if (*output_it != *input_it) { in BroadcastTo()
70 broadcast_shape.push_back(*input_it); in BroadcastTo()
71 broadcast_shape.push_back(*output_it / *input_it); in BroadcastTo()
73 ++input_it; in BroadcastTo()
78 TF_RET_CHECK(input_it == input_dims.rend()); in BroadcastTo()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dascii.cc178 auto input_it = stripped.begin(); in RemoveExtraAsciiWhitespace() local
183 for (; input_it < input_end; ++input_it) { in RemoveExtraAsciiWhitespace()
186 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
189 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
192 *output_it = *input_it; in RemoveExtraAsciiWhitespace()
/external/abseil-cpp/absl/strings/
Dascii.cc178 auto input_it = stripped.begin(); in RemoveExtraAsciiWhitespace() local
183 for (; input_it < input_end; ++input_it) { in RemoveExtraAsciiWhitespace()
186 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
189 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
192 *output_it = *input_it; in RemoveExtraAsciiWhitespace()
/external/openscreen/third_party/abseil/src/absl/strings/
Dascii.cc178 auto input_it = stripped.begin(); in RemoveExtraAsciiWhitespace() local
183 for (; input_it < input_end; ++input_it) { in RemoveExtraAsciiWhitespace()
186 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
189 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
192 *output_it = *input_it; in RemoveExtraAsciiWhitespace()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dascii.cc178 auto input_it = stripped.begin(); in RemoveExtraAsciiWhitespace() local
183 for (; input_it < input_end; ++input_it) { in RemoveExtraAsciiWhitespace()
186 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
189 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
192 *output_it = *input_it; in RemoveExtraAsciiWhitespace()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dascii.cc178 auto input_it = stripped.begin(); in RemoveExtraAsciiWhitespace() local
183 for (; input_it < input_end; ++input_it) { in RemoveExtraAsciiWhitespace()
186 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
189 is_ws = absl::ascii_isspace(*input_it); in RemoveExtraAsciiWhitespace()
192 *output_it = *input_it; in RemoveExtraAsciiWhitespace()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_tensorflow_switch.cc94 auto input_it = other_op->inputs.begin(); in Run() local
95 while (input_it != other_op->inputs.end()) { in Run()
96 if (*input_it == switch_op->outputs[nonselected_output_index]) { in Run()
110 input_it = other_op->inputs.erase(input_it); in Run()
112 ++input_it; in Run()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dspectrogram.cc201 auto input_it = input.begin() + *input_start; in GetNextWindowOfSamples() local
202 int input_remaining = input.end() - input_it; in GetNextWindowOfSamples()
205 input_queue_.insert(input_queue_.end(), input_it, input.end()); in GetNextWindowOfSamples()
212 input_queue_.insert(input_queue_.end(), input_it, in GetNextWindowOfSamples()
213 input_it + samples_to_next_step_); in GetNextWindowOfSamples()
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram.cc186 auto input_it = input.begin() + *input_start; in GetNextWindowOfSamples() local
187 int input_remaining = input.end() - input_it; in GetNextWindowOfSamples()
190 input_queue_.insert(input_queue_.end(), input_it, input.end()); in GetNextWindowOfSamples()
197 input_queue_.insert(input_queue_.end(), input_it, in GetNextWindowOfSamples()
198 input_it + samples_to_next_step_); in GetNextWindowOfSamples()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils.cc220 auto input_it = in FuseFunctionNodes() local
222 if (input_it == second_inputs.end()) continue; in FuseFunctionNodes()
224 auto arg_num = std::distance(second_inputs.begin(), input_it); in FuseFunctionNodes()
240 auto input_it = in FuseReturns() local
242 if (input_it == second_inputs.end()) continue; in FuseReturns()
244 auto input_idx = std::distance(second_inputs.begin(), input_it); in FuseReturns()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_node.h710 auto input_it = nodes_map_->find(inp.second); in input_shapes() local
711 if (input_it == nodes_map_->end()) continue; in input_shapes()
715 const TFGraphNode* input_node = input_it->second.get(); in input_shapes()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc865 auto input_it = instruction_value_map_.find(operand); in GetOperands() local
866 if (input_it == instruction_value_map_.end()) { in GetOperands()
871 operands.push_back(input_it->second); in GetOperands()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc2352 auto input_it = inputs.find(n->name()); in InferMainFunctionType() local
2353 if (input_it != inputs.end()) { in InferMainFunctionType()
2354 (*arg_nodes)[input_it->second] = {n, 0}; in InferMainFunctionType()