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

Function contain_targets

detectron2/export/shared.py:701–702  ·  view source on GitHub ↗
(op_ssa)

Source from the content-addressed store, hash-verified

699 return
700
701 def contain_targets(op_ssa):
702 return (old_name, version) in op_ssa[0]
703
704 is_consumer = [contain_targets(op_ssa) for op_ssa in predict_net_ssa]
705 if sum(is_consumer) > 1:

Callers 1

rename_op_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected