MCPcopy Create free account
hub / github.com/OpenGVLab/InternImage / obj2tensor

Function obj2tensor

segmentation/mmseg_custom/core/utils/dist_utils.py:75–78  ·  view source on GitHub ↗

Serialize picklable python object to tensor.

(pyobj, device='cuda')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

all_reduce_dictFunction · 0.85

Calls 1

toMethod · 0.80

Tested by

no test coverage detected