MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / get_pb_arg_valstrings

Function get_pb_arg_valstrings

detectron2/export/shared.py:199–201  ·  view source on GitHub ↗
(pb, arg_name, default_val)

Source from the content-addressed store, hash-verified

197
198
199def get_pb_arg_valstrings(pb, arg_name, default_val):
200 arg = get_pb_arg(pb, arg_name)
201 return list(arg.strings) if arg is not None else default_val
202
203
204def check_set_pb_arg(pb, arg_name, arg_attr, arg_value, allow_override=False):

Callers

nothing calls this directly

Calls 1

get_pb_argFunction · 0.85

Tested by

no test coverage detected