/external/tensorflow/tensorflow/core/grappler/ |
D | graph_view.h | 116 return gtl::FindWithDefault(nodes_, node_name, nullptr); in GetNode() 141 return gtl::FindWithDefault(fanouts_, port, fanout_not_found_value_); in GetFanout() 157 gtl::FindWithDefault(max_regular_input_port_, port.node, -1) + 1; in GetFanin() 173 gtl::FindWithDefault(max_regular_input_port_, port.node, -1)) { in GetRegularFanin() 189 gtl::FindWithDefault(max_regular_input_port_, &node, -1) + 1; in HasFanin() 214 gtl::FindWithDefault(max_regular_output_port_, &node, -1); in GetFanouts() 234 : gtl::FindWithDefault(max_regular_input_port_, &node, -1); in GetFanins() 250 return gtl::FindWithDefault(max_regular_input_port_, &node, -1) + 1; in NumFanins() 262 gtl::FindWithDefault(max_regular_output_port_, &node, -1); in NumFanouts() 283 gtl::FindWithDefault(max_regular_output_port_, &node, -1); in GetFanoutEdges() [all …]
|
D | mutable_graph_view.cc | 696 gtl::FindWithDefault(max_regular_output_port(), node, -1); in SwapNodeNames() 1133 gtl::FindWithDefault(max_regular_input_port(), node, -1); in RemoveRegularFaninByPort() 1345 gtl::FindWithDefault(max_regular_input_port(), node, -1); in UpdateRegularFaninByPort() 1386 gtl::FindWithDefault(max_regular_input_port(), node, -1); in SwapRegularFaninsByPorts() 1501 const int max_port = gtl::FindWithDefault(max_regular_output_port(), node, in CheckNodesCanBeDeleted() 1617 gtl::FindWithDefault(max_regular_output_port(), deleted_node, -1); in RemoveFanoutsInternal()
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | map_util_test.cc | 33 EXPECT_EQ("", gtl::FindWithDefault(m, "foo", "")); in TEST() 35 EXPECT_EQ("bar", gtl::FindWithDefault(m, "foo", "")); in TEST()
|
D | map_util.h | 87 const typename Collection::value_type::second_type& FindWithDefault( in FindWithDefault() function
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_bootstrap_unittest.cc | 178 FindWithDefault(vpath_map, file_parameter[0], file_parameter[0]); in TEST() 180 FindWithDefault(rpath_map, file_parameter[0], file_parameter[0]); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_module.cc | 175 HloComputation* new_arg = tensorflow::gtl::FindWithDefault( in ReplaceComputations() 183 HloComputation* new_condition = tensorflow::gtl::FindWithDefault( in ReplaceComputations() 188 HloComputation* new_body = tensorflow::gtl::FindWithDefault( in ReplaceComputations() 197 HloComputation* new_computation = tensorflow::gtl::FindWithDefault( in ReplaceComputations() 206 HloComputation* new_select = tensorflow::gtl::FindWithDefault( in ReplaceComputations() 211 HloComputation* new_scatter = tensorflow::gtl::FindWithDefault( in ReplaceComputations() 229 entry_computation_ = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
|
D | hlo_graph_dumper.cc | 514 tensorflow::gtl::FindWithDefault(node_ids_, from_node, -1); in Header() 519 to_node ? tensorflow::gtl::FindWithDefault(node_ids_, to_node, -1) in Header()
|
/external/tensorflow/tensorflow/core/framework/ |
D | function_handle_cache.cc | 44 h = gtl::FindWithDefault(handles_, key, kInvalidHandle); in Instantiate()
|
D | op.cc | 95 gtl::FindWithDefault(registry_, op_type_name, nullptr)) { in LookUp() 112 res = gtl::FindWithDefault(registry_, op_type_name, nullptr); in LookUpSlow()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | memory_types.cc | 81 MemoryType sm = gtl::FindWithDefault(out, {e->src()->id(), e->src_output()}, in ProcessMemoryTypes() 83 MemoryType dm = gtl::FindWithDefault(inp, {e->dst()->id(), e->dst_input()}, in ProcessMemoryTypes()
|
D | process_function_library_runtime.cc | 283 return gtl::FindWithDefault(table_, function_key, kInvalidHandle); in GetHandle() 1260 gtl::FindWithDefault(table_, function_key, kInvalidHandle); in InstantiateRemote()
|
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | op_stats_to_pod_stats.cc | 48 ps += gtl::FindWithDefault(generic.type_ps(), event_type, /*value=*/0); in CreatePodStatsRecord()
|
D | xplane_to_memory_profile.cc | 464 auto new_index = gtl::FindWithDefault(index_map, orig_index, -1); in SampleSnapshots()
|
D | op_stats_to_input_pipeline_analysis.cc | 109 return PicosToMillis(gtl::FindWithDefault(type_ps, event_type, /*value=*/0)); in GetTimeInMs()
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_slice_reader.h | 168 int idx = gtl::FindWithDefault(fname_to_index_, fname, -1); in CopySliceData()
|
D | tensor_slice_writer.h | 108 int index = gtl::FindWithDefault(name_to_index_, name, -1); in Add()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | type_info.cc | 117 StringPiece name = FindWithDefault( in FindField()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_api_info.cc | 239 gtl::FindWithDefault(param_name_to_index, attr_def.name(), -1); in InitializeAttribute() 307 gtl::FindWithDefault(param_name_to_index, arg_def.name(), -1); in InitializeInput()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database.cc | 247 return FindWithDefault(by_name_, filename, Value()); in FindFile() 264 return FindWithDefault( in FindExtension()
|
D | text_format.cc | 1957 const FastFieldValuePrinter* printer = FindWithDefault( in PrintAny() 2233 const FastFieldValuePrinter* printer = FindWithDefault( in PrintField() 2297 const FastFieldValuePrinter* printer = FindWithDefault( in PrintFieldName() 2311 const FastFieldValuePrinter* printer = FindWithDefault( in PrintFieldValue()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lookup_table_op.h | 257 value_values(i) = gtl::FindWithDefault( in DoFind()
|
D | word2vec_kernels.cc | 232 corpus_.push_back(gtl::FindWithDefault(word_id, w, kUnkId)); in Init()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_worker_service.cc | 89 i < gtl::FindWithDefault(queue_depth_, \ 154 i < gtl::FindWithDefault( in HandleRPCsLoop()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | encapsulate_subgraphs_pass.cc | 714 Node* src_image = gtl::FindWithDefault(node_images, edge->src(), nullptr); in CopySubgraphEdges() 715 Node* dst_image = gtl::FindWithDefault(node_images, edge->dst(), nullptr); in CopySubgraphEdges()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 123 FindWithDefault(const Collection& collection,
|