MCPcopy
hub / github.com/ray-project/ray / verify_integrity

Function verify_integrity

python/ray/data/tests/test_split.py:867–872  ·  view source on GitHub ↗
(splits)

Source from the content-addressed store, hash-verified

865 ds = ray.data.range(100, override_num_blocks=10).map_batches(lambda x: x)
866
867 def verify_integrity(splits):
868 for dss in splits:
869 for batch in dss.iter_batches():
870 pass
871 for batch in ds.iter_batches():
872 pass
873
874 # No block splitting invovled: split 10 even blocks into 2 groups.
875 verify_integrity(ds.split(2, equal=True))

Callers 1

Calls 1

iter_batchesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…