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

Function _replace_list

detectron2/export/shared.py:494–496  ·  view source on GitHub ↗
(blob_list, replaced_list)

Source from the content-addressed store, hash-verified

492 ret = []
493
494 def _replace_list(blob_list, replaced_list):
495 del blob_list[:]
496 blob_list.extend(replaced_list)
497
498 for x in ops:
499 cur = copy.deepcopy(x)

Callers 1

_modify_blob_namesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected