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

Function get_pb_arg_vals

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

Source from the content-addressed store, hash-verified

192
193
194def get_pb_arg_vals(pb, arg_name, default_val):
195 arg = get_pb_arg(pb, arg_name)
196 return arg.s if arg is not None else default_val
197
198
199def get_pb_arg_valstrings(pb, arg_name, default_val):

Callers 5

__init__Method · 0.85
get_outputs_converterMethod · 0.85
save_graphMethod · 0.85
fuse_alias_placeholderFunction · 0.85

Calls 1

get_pb_argFunction · 0.85

Tested by

no test coverage detected