MCPcopy Create free account
hub / github.com/AutodeskAILab/BRepNet / __getitem__

Method __getitem__

dataloaders/brepnet_dataset_old.py:52–62  ·  view source on GitHub ↗

Load a batch of data. Use a cache if its there. Cache the binary data if not.

(self, batch_idx)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

get_cache_pathnameMethod · 0.95
load_batch_from_cacheMethod · 0.95
load_and_cache_batchMethod · 0.95

Tested by

no test coverage detected