Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
167
def
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
174
def
get_pb_arg_valf(pb, arg_name, default_val):
Callers
8
get_pb_arg_valf
Function · 0.85
get_pb_arg_floats
Function · 0.85
get_pb_arg_ints
Function · 0.85
get_pb_arg_vali
Function · 0.85
get_pb_arg_vals
Function · 0.85
get_pb_arg_valstrings
Function · 0.85
check_set_pb_arg
Function · 0.85
group_norm_replace_aten_with_caffe2
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected