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

Function FilenameFor

tensorflow/compiler/xla/service/dump.cc:307–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307string FilenameFor(const HloModule& module, string_view prefix,
308 string_view suffix) {
309 return StrFormat("%s%smodule_%04d.%s", prefix, prefix.empty() ? "" : ".",
310 module.unique_id(), suffix);
311}
312
313void DumpToFileInDir(const HloModule& module, string_view file_prefix,
314 string_view file_suffix, string_view contents) {

Callers 7

DumpHloModuleImplFunction · 0.85
DumpToFileInDirFunction · 0.85
DumpToFileInDirOrStdoutFunction · 0.85
DumpHloSnapshotIfEnabledFunction · 0.85
MaybeLoadPtxFromFileFunction · 0.85
MaybeLoadLLVMFromFileFunction · 0.85
RunBackendMethod · 0.85

Calls 2

emptyMethod · 0.45
unique_idMethod · 0.45

Tested by

no test coverage detected