MCPcopy Create free account
hub / github.com/ml-explore/mlx / print

Method print

mlx/utils.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void PrintFormatter::print(std::ostream& os, bool val) {
38 if (capitalize_bool) {
39 os << (val ? "True" : "False");
40 } else {
41 os << val;
42 }
43}
44inline void PrintFormatter::print(std::ostream& os, int16_t val) {
45 os << val;
46}

Callers 2

print_subarrayFunction · 0.80
print_arrayFunction · 0.80

Calls 1

isnanFunction · 0.70

Tested by

no test coverage detected