MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / _check_arg_is_not_none

Function _check_arg_is_not_none

codegeex/megatron/arguments.py:315–316  ·  view source on GitHub ↗
(args, arg)

Source from the content-addressed store, hash-verified

313
314
315def _check_arg_is_not_none(args, arg):
316 assert getattr(args, arg) is not None, "{} argument is None".format(arg)
317
318
319def _add_network_size_args(parser):

Callers 1

parse_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected