MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / __getitem__

Method __getitem__

mmdet/core/data_structures/instance_data.py:90–148  ·  view source on GitHub ↗

Args: item (str, obj:`slice`, obj`torch.LongTensor`, obj:`torch.BoolTensor`): get the corresponding values according to item. Returns: obj:`InstanceData`: Corresponding values.

(self, item)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

newMethod · 0.80
itemsMethod · 0.80
numpyMethod · 0.80
cpuMethod · 0.80

Tested by

no test coverage detected