MCPcopy Create free account
hub / github.com/feast-dev/feast / read_images

Method read_images

sdk/python/feast/infra/ray_initializer.py:230–232  ·  view source on GitHub ↗

Read image files (PNG, JPEG, …) from a directory as numpy arrays.

(self, path: Union[str, List[str]], **kwargs)

Source from the content-addressed store, hash-verified

228 return ray.data.read_text(path, **kwargs)
229
230 def read_images(self, path: Union[str, List[str]], **kwargs) -> Any:
231 """Read image files (PNG, JPEG, …) from a directory as numpy arrays."""
232 return ray.data.read_images(path, **kwargs)
233
234 def read_binary_files(self, path: Union[str, List[str]], **kwargs) -> Any:
235 """Read arbitrary binary files; each row has 'path' and 'bytes' columns."""

Callers 2

_remoteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected