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

Function Log

tensorflow/compiler/xla/tools/driver.cc:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75bool IsVerbose() { return getenv("VERBOSE") != nullptr; }
76
77void Log(const std::string& msg) {
78 if (IsVerbose()) {
79 std::cerr << msg << std::endl;
80 }
81}
82
83// Needs to be kept in sync with PrimitiveType in xla_data.proto.
84enum PrimitiveType {

Callers 15

ArrayShapeFromStringFunction · 0.70
TupleShapeFromStringFunction · 0.70
ParseBufferAssignmentFunction · 0.70
FillFunction · 0.70
mainFunction · 0.70
unary_ops.ccFile · 0.50
XlogyImplFunction · 0.50
CompileMethod · 0.50
CrossEntropyWithLogitsFunction · 0.50
GetLogUniformsMethod · 0.50
GetLogUniformsMethod · 0.50
HandleLogMethod · 0.50

Calls 1

IsVerboseFunction · 0.85

Tested by 13

TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
CreateMiniGraphMethod · 0.40