Home
last modified time | relevance | path

Searched refs:InsertIfNotPresent (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/lib/gtl/
Dmap_util_test.cc51 TEST(MapUtil, InsertIfNotPresent) { in TEST() argument
55 EXPECT_TRUE(gtl::InsertIfNotPresent(&s, 0)); in TEST()
57 EXPECT_FALSE(gtl::InsertIfNotPresent(&s, 0)); in TEST()
Dmap_util.h127 bool InsertIfNotPresent(Collection* const collection, in InsertIfNotPresent() function
134 bool InsertIfNotPresent( in InsertIfNotPresent() function
138 return InsertIfNotPresent(collection, in InsertIfNotPresent()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc334 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
342 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
351 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
361 if (gtl::InsertIfNotPresent(&signature_feed_nodes, in GrapplerItemFromMetaGraphDef()
382 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
388 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
394 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
401 if (gtl::InsertIfNotPresent(&signature_fetch_nodes, in GrapplerItemFromMetaGraphDef()
Dmutable_graph_view.cc357 if (!gtl::InsertIfNotPresent(&fanins, input_node_name) && in AddAndDedupFanouts()
/external/protobuf/src/google/protobuf/stubs/
Dmap_util.h321 bool InsertIfNotPresent(Collection* const collection,
328 bool InsertIfNotPresent(
332 return InsertIfNotPresent(
340 GOOGLE_CHECK(InsertIfNotPresent(collection, value))
348 GOOGLE_CHECK(InsertIfNotPresent(collection, value)) << "duplicate value.";
357 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data))
367 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) << "duplicate key.";
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_internal.cc537 gtl::InsertIfNotPresent(&inferred_attrs_, arg.type_attr(), arg.name()); in Code()
539 gtl::InsertIfNotPresent(&inferred_attrs_, arg.type_list_attr(), in Code()
543 gtl::InsertIfNotPresent(&inferred_attrs_, arg.number_attr(), arg.name()); in Code()
Dpython_op_gen.cc152 gtl::InsertIfNotPresent(&inferred_attrs_, attr, in AddAttrForArg()
/external/protobuf/src/google/protobuf/
Ddescriptor_database.cc117 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { in AddFile()
226 if (!InsertIfNotPresent( in AddExtension()
Dmessage.cc592 if (!InsertIfNotPresent(&file_map_, table->filename, table)) { in RegisterFile()
607 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) { in RegisterType()
Ddescriptor.cc990 InsertIfNotPresent(&fields_by_lowercase_name_, lowercase_key, in FieldsByLowercaseNamesLazyInitInternal()
1014 InsertIfNotPresent(&fields_by_camelcase_name_, camelcase_key, in FieldsByCamelcaseNamesLazyInitInternal()
1079 InsertIfNotPresent(&unknown_enum_values_by_number_, in FindEnumValueByNumberCreatingIfUnknown()
1104 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { in AddSymbol()
1116 return InsertIfNotPresent(&symbols_by_parent_, by_parent_key, symbol); in AddAliasUnderParent()
1120 if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { in AddFile()
1146 if (!InsertIfNotPresent(fields_by_lowercase_name_tmp_.get(), in AddFieldByStylizedNames()
1148 InsertIfNotPresent( in AddFieldByStylizedNames()
1154 if (!InsertIfNotPresent(fields_by_camelcase_name_tmp_.get(), in AddFieldByStylizedNames()
1156 InsertIfNotPresent( in AddFieldByStylizedNames()
[all …]
Dextension_set.cc106 if (!InsertIfNotPresent(local_static_registry, in Register()
/external/tensorflow/tensorflow/core/framework/
Dop.cc240 !gtl::InsertIfNotPresent(&registry_, op_reg_data->op_def.name(), in RegisterAlreadyLocked()
Dop_def_util.cc199 VALIDATE(gtl::InsertIfNotPresent(names, arg.name()), in ValidateArg()
280 VALIDATE(gtl::InsertIfNotPresent(&names, attr.name()), in ValidateOpDef()
Dnode_def_util.cc579 if (!gtl::InsertIfNotPresent(&op_attrs, attr.name(), &attr)) { in ValidateNodeDef()
/external/tensorflow/tensorflow/core/kernels/
Dload_and_remap_matrix_op.cc46 if (!gtl::InsertIfNotPresent(old_id_to_new_id, old_id, i)) { in RemapVectorToMap()
Drange_sampler.cc96 if (gtl::InsertIfNotPresent(&used, value)) { in SampleBatchGetExpectedCountAvoid()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder.cc118 gtl::InsertIfNotPresent(m.get(), attr.name(), t); in AttrTypeMapForOp()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc498 gtl::InsertIfNotPresent(inferred_attrs, arg.type_attr(), arg.name()); in InferArgAttributes()
500 gtl::InsertIfNotPresent(inferred_attrs, arg.type_list_attr(), arg.name()); in InferArgAttributes()
503 gtl::InsertIfNotPresent(inferred_attrs, arg.number_attr(), arg.name()); in InferArgAttributes()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils.cc76 CHECK(gtl::InsertIfNotPresent(&names, node.name())) in GetNodeNamesSet()
/external/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc319 InsertIfNotPresent(&orig_children_map, children_[i]->name_, i); in PopulateChildren()
Dprotostream_objectwriter.cc482 return InsertIfNotPresent(map_keys_.get(), std::string(map_key)); in InsertMapKeyIfNotPresent()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cost_analysis.cc912 if (!tensorflow::gtl::InsertIfNotPresent(&current_properties_, in HandleConditional()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.cc558 if (gtl::InsertIfNotPresent(&observed_controls, fanin_id.node())) { in AddFaninsInternal()