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

Function get_pb_arg

detectron2/export/shared.py:167–171  ·  view source on GitHub ↗
(pb, arg_name)

Source from the content-addressed store, hash-verified

165
166
167def get_pb_arg(pb, arg_name):
168 for x in pb.arg:
169 if x.name == arg_name:
170 return x
171 return None
172
173
174def get_pb_arg_valf(pb, arg_name, default_val):

Callers 8

get_pb_arg_valfFunction · 0.85
get_pb_arg_floatsFunction · 0.85
get_pb_arg_intsFunction · 0.85
get_pb_arg_valiFunction · 0.85
get_pb_arg_valsFunction · 0.85
get_pb_arg_valstringsFunction · 0.85
check_set_pb_argFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected