Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shape parameter to parameters of array=true type #8

Open
mmaelicke opened this issue Nov 7, 2022 · 0 comments
Open

Add shape parameter to parameters of array=true type #8

mmaelicke opened this issue Nov 7, 2022 · 0 comments

Comments

@mmaelicke
Copy link
Member

Covering this TODO:

# TODO: add an optional shape parameter. if set -> np.flatten().reshape(shape)

If array data is given in the tool.json, the parser should automatically convert the data to a specified shape. This could be used to consume arbitrary arrays and pass them to the tool in the correct shape.
On this input side, this setting could be used specify the input shape and length.

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

No branches or pull requests

1 participant