Home
last modified time | relevance | path

Searched refs:GetUniqueName (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dname_uniquer_test.cc32 EXPECT_EQ("foo", uniquer.GetUniqueName("foo")); in TEST_F()
33 EXPECT_EQ("foo__1", uniquer.GetUniqueName("foo")); in TEST_F()
34 EXPECT_EQ("foo__2", uniquer.GetUniqueName("foo")); in TEST_F()
35 EXPECT_EQ("bar", uniquer.GetUniqueName("bar")); in TEST_F()
36 EXPECT_EQ("foo__3", uniquer.GetUniqueName("foo")); in TEST_F()
37 EXPECT_EQ("bar__1", uniquer.GetUniqueName("bar")); in TEST_F()
38 EXPECT_EQ("qux", uniquer.GetUniqueName("qux")); in TEST_F()
44 EXPECT_EQ("foo", uniquer.GetUniqueName("foo")); in TEST_F()
45 EXPECT_EQ("foo.1", uniquer.GetUniqueName("foo")); in TEST_F()
46 EXPECT_EQ("foo.2", uniquer.GetUniqueName("foo")); in TEST_F()
[all …]
Dname_uniquer.h41 string GetUniqueName(absl::string_view prefix = "");
Dname_uniquer.cc77 string NameUniquer::GetUniqueName(absl::string_view prefix) { in GetUniqueName() function in xla::NameUniquer
Dhlo_module.cc99 computation_name_uniquer_.GetUniqueName(computation->name()); in AddComputationInternal()
101 instruction_name_uniquer_.GetUniqueName(instruction->name()); in AddComputationInternal()
Dhlo_computation.cc1110 name_ = name_uniquer->GetUniqueName(name_); in UniquifyName()
Dhlo_instruction.cc3535 name_ = name_uniquer->GetUniqueName(name_); in UniquifyName()
/external/tensorflow/tensorflow/compiler/mlir/
Dop_or_arg_name_mapper.cc44 llvm::StringRef OpOrArgNameMapper::GetUniqueName(llvm::StringRef prefix) { in GetUniqueName() function in tensorflow::OpOrArgNameMapper
75 llvm::StringRef OpOrArgNameMapper::GetUniqueName(OpOrVal op_or_val) { in GetUniqueName() function in tensorflow::OpOrArgNameMapper
79 llvm::StringRef ref = GetUniqueName(GetName(op_or_val)); in GetUniqueName()
88 name = StringRefToView(GetUniqueName(GetName(op_or_val))); in GetUniqueNameView()
Dop_or_arg_name_mapper.h39 llvm::StringRef GetUniqueName(llvm::StringRef prefix);
42 llvm::StringRef GetUniqueName(OpOrVal op_or_val);
/external/u-boot/tools/binman/
Dentry_test.py62 self.assertEqual('root', base_entry.GetUniqueName())
65 self.assertEqual('root.subnode', sub_entry.GetUniqueName())
Dentry.py618 def GetUniqueName(self): member in Entry
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_graphdef.cc249 std::string(op_to_name_.GetUniqueName(func.getName().str()))); in GetArgumentNode()
288 std::string(op_to_name_.GetUniqueName(function.getName().str()))); in GetReturnNode()
395 auto name = op_to_name_.GetUniqueName(inst); in AddInstructionNode()
455 builder.getIdentifier(op_to_name_.GetUniqueName(input)), in AddArgumentNode()
469 op_to_name_.InitOpName(inst, op_to_name_.GetUniqueName(input)); in AddArgumentNode()
592 (void)exporter.op_to_name_.GetUniqueName(name); in Convert()
622 (void)exporter.op_to_name_.GetUniqueName(name); in Convert()
Dimport_model.cc1057 function_name_uniquifier_->GetUniqueName(func_name)); in ConvertLibFunction()
/external/u-boot/tools/binman/etype/
Du_boot_elf.py29 uniq = self.GetUniqueName()
Dvblock.py62 uniq = self.GetUniqueName()
Dintel_ifwi.py75 uniq = self.GetUniqueName()
/external/tensorflow/tensorflow/cc/framework/
Dscope_internal.h88 string GetUniqueName(const string& prefix, bool check_single_use) const;
Dscope.cc360 string Scope::Impl::GetUniqueName(const string& prefix, in GetUniqueName() function in tensorflow::Scope::Impl
386 GetUniqueName(default_name, true /* check_single_use */); in GetNameForOp()
412 impl()->GetUniqueName(child_scope_name, false /* check_single_use */); in NewSubScope()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_nested.cc78 ir_emitter_context_->name_uniquer()->GetUniqueName( in CodegenNestedComputation()
Dir_emitter_unnested.cc161 string kernel_name = ir_emitter_context_->name_uniquer()->GetUniqueName( in BuildKernelPrototype()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_translate.cc541 return std::string(name_mapper_.GetUniqueName(val)); in UniqueName()
726 return (name_mapper_.GetUniqueName(while_op.getOperation()) + "$body").str(); in GetWhileBodyName()
730 return (name_mapper_.GetUniqueName(while_op.getOperation()) + "$cond").str(); in GetWhileCondName()
1164 if (has_input_attr) name = std::string(name_mapper_.GetUniqueName(arg)); in BuildSubGraph()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla.cc78 return uniquer->name_uniquer.GetUniqueName(name); in UniquifyName()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc155 string function_name = name_uniquer_.GetUniqueName(function_name_prefix); in EmitComputation()