MCPcopy Create free account
hub / github.com/CVMI-Lab/DODA / _object_to_tensor

Function _object_to_tensor

util/common_utils.py:403–412  ·  view source on GitHub ↗

Helper function to convert an arbitrary picklable python object to a tensor Returns a torch.ByteTensor representing the pickled object.

(obj)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

all_gather_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected