MCPcopy Index your code
hub / github.com/ray-project/ray / to_default

Method to_default

python/ray/data/block.py:489–491  ·  view source on GitHub ↗

Return the default data format for this accessor.

(self)

Source from the content-addressed store, hash-verified

487 raise NotImplementedError
488
489 def to_default(self) -> Block:
490 """Return the default data format for this accessor."""
491 return self.to_block()
492
493 def to_batch_format(self, batch_format: Optional[str]) -> DataBatch:
494 """Convert this block into the provided batch format.

Callers 1

to_batch_formatMethod · 0.95

Calls 1

to_blockMethod · 0.95

Tested by

no test coverage detected