Home
last modified time | relevance | path

Searched refs:FindWithDefault (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module.cc128 HloComputation* new_arg = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
136 HloComputation* new_condition = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
141 HloComputation* new_body = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
150 tensorflow::gtl::FindWithDefault( in ReplaceComputations()
156 tensorflow::gtl::FindWithDefault( in ReplaceComputations()
164 HloComputation* new_select = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
169 HloComputation* new_scatter = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
187 entry_computation_ = tensorflow::gtl::FindWithDefault( in ReplaceComputations()
Dhlo_graph_dumper.cc513 tensorflow::gtl::FindWithDefault(node_ids_, from_node, -1); in Header()
518 to_node ? tensorflow::gtl::FindWithDefault(node_ids_, to_node, -1) in Header()
/external/tensorflow/tensorflow/core/lib/gtl/
Dmap_util_test.cc33 EXPECT_EQ("", gtl::FindWithDefault(m, "foo", "")); in TEST()
35 EXPECT_EQ("bar", gtl::FindWithDefault(m, "foo", "")); in TEST()
Dmap_util.h84 const typename Collection::value_type::second_type& FindWithDefault( in FindWithDefault() function
/external/tensorflow/tensorflow/core/common_runtime/
Dmemory_types.cc81 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()
Dprocess_function_library_runtime.cc165 gtl::FindWithDefault(table_, function_key, kInvalidHandle); in AddHandle()
180 gtl::FindWithDefault(table_, function_key, kInvalidHandle); in GetHandle()
/external/libtextclassifier/util/gtl/
Dmap_util.h32 const typename Collection::value_type::second_type& FindWithDefault( in FindWithDefault() function
/external/protobuf/src/google/protobuf/
Ddescriptor_database.cc176 return FindWithDefault(by_name_, filename, Value()); in FindFile()
192 return FindWithDefault( in FindExtension()
Dtext_format.cc1549 const FieldValuePrinter* printer = FindWithDefault( in PrintAny()
1685 const FieldValuePrinter* printer = FindWithDefault( in PrintField()
1747 const FieldValuePrinter* printer = FindWithDefault( in PrintFieldName()
1762 = FindWithDefault(custom_printers_, field, in PrintFieldValue()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_reader.h168 int idx = gtl::FindWithDefault(fname_to_index_, fname, -1); in CopySliceData()
Dtensor_slice_writer.h109 int index = gtl::FindWithDefault(name_to_index_, name, -1); in Add()
/external/protobuf/src/google/protobuf/util/internal/
Dtype_info.cc113 FindWithDefault(camel_case_name_table_, camel_case_name, StringPiece()); in FindField()
/external/tensorflow/tensorflow/core/framework/
Dop.cc70 res = gtl::FindWithDefault(registry_, op_type_name, nullptr); in LookUp()
Dfunction.cc1101 return gtl::FindWithDefault(func_grad_, func, ""); in FindGradient()
/external/tensorflow/tensorflow/core/kernels/
Dlookup_table_op.h221 value_values(i) = gtl::FindWithDefault( in DoFind()
Dword2vec_kernels.cc231 corpus_.push_back(gtl::FindWithDefault(word_id, w, kUnkId)); in Init()
Dlookup_table_op.cc64 value_values(i) = gtl::FindWithDefault( in Find()
/external/protobuf/src/google/protobuf/stubs/
Dmap_util.h123 FindWithDefault(const Collection& collection,
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc1233 Node* src_image = gtl::FindWithDefault(node_images, edge->src(), nullptr); in CopySubgraphEdges()
1234 Node* dst_image = gtl::FindWithDefault(node_images, edge->dst(), nullptr); in CopySubgraphEdges()