Home
last modified time | relevance | path

Searched refs:GetUniqueName (Results 1 – 11 of 11) 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.cc68 string NameUniquer::GetUniqueName(absl::string_view prefix) { in GetUniqueName() function in xla::NameUniquer
Dhlo_module.cc88 computation_name_uniquer_.GetUniqueName(computation->name()); in AddComputationInternal()
90 instruction_name_uniquer_.GetUniqueName(instruction->name()); in AddComputationInternal()
Dhlo_computation.cc1041 name_ = name_uniquer->GetUniqueName(name_); in UniquifyName()
Dhlo_instruction.cc3205 name_ = name_uniquer->GetUniqueName(name_); in UniquifyName()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_nested.cc80 ir_emitter_context_->name_uniquer()->GetUniqueName( in EmitBasePointersForNestedComputation()
Dir_emitter_unnested.cc193 string kernel_name = ir_emitter_context_->name_uniquer()->GetUniqueName( in BuildKernelPrototype()
/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/cpu/
Dir_emitter.cc113 string function_name = name_uniquer_.GetUniqueName(function_name_prefix); in EmitComputation()