Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Overload ndarrayiter #9752

Closed
wants to merge 4 commits into from
Closed

Overload ndarrayiter #9752

wants to merge 4 commits into from

Conversation

parallelgithub
Copy link

For multiple inputs or multiple labels in NDArrayIter, these data type is IndexedSeq[NDArray], which is not flexible to design neural network like Python API because the naming rule here is dataname_0, dataname_1, etc.

We modify the constructor to receive IndexedSeq[(String, NDArray)] type to allow assigning custom names.
In order to compatible with the old argument version, we overload the constructor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant