MCPcopy Create free account
hub / github.com/apple/axlearn / define_flags

Method define_flags

axlearn/cloud/common/utils_test.py:409–415  ·  view source on GitHub ↗
(cls, fv)

Source from the content-addressed store, hash-verified

407
408 @classmethod
409 def define_flags(cls, fv):
410 super().define_flags(fv)
411 flags.DEFINE_string("shared", None, "", flag_values=fv, allow_override=True)
412 flags.DEFINE_string("child_only", None, "", flag_values=fv, allow_override=True)
413 flags.DEFINE_string(
414 "shared_override", None, "", flag_values=fv, allow_override=True
415 )
416
417 @classmethod
418 def set_defaults(cls, fv: flags.FlagValues):

Callers 6

test_set_defaultsMethod · 0.45
define_flagsMethod · 0.45
define_flagsMethod · 0.45
test_flag_utilsMethod · 0.45
test_namespacedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected