Skip to content

[PyGrain Migration] 1. Output NumPy (not backend tensors) from preprocessing inside Grain pipelines #2945

Description

@divyashreepathihalli

@preprocessing_function converts eager outputs to backend tensors via convert_preprocessing_outputs.
Reuse Keras core's detection : from keras.src.utils.backend_utils import in_grain_data_pipeline. skip convert_preprocessing_outputs and return NumPy/lists
Ragged results stay lists-of-lists

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

team-createdIssues created by Keras Hub team as part of development roadmap.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions