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.