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

Method CreateFlag

tensorflow/lite/tools/command_line_flags.h:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 public:
67 template <typename T>
68 static Flag CreateFlag(const char* name, T* val, const char* usage) {
69 return Flag(name, [val](const T& v) { *val = v; }, *val, usage);
70 }
71
72 Flag(const char* name, const std::function<void(const int32_t&)>& hook,
73 int32_t default_value, const std::string& usage_text);

Callers

nothing calls this directly

Calls 1

FlagClass · 0.70

Tested by

no test coverage detected