MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetName

Function SetName

tensorflow/compiler/xla/service/pattern_matcher_test.cc:673–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673std::unique_ptr<HloInstruction> SetName(absl::string_view name,
674 std::unique_ptr<HloInstruction> instr) {
675 instr->SetAndSanitizeName(string(name));
676 return instr;
677}
678
679TEST_F(PatternMatcherTest, HloInstructionDescribeToAndExplain) {
680 std::unique_ptr<HloInstruction> iota =

Callers 1

TEST_FFunction · 0.85

Calls 1

SetAndSanitizeNameMethod · 0.80

Tested by

no test coverage detected