- datatype: “STRING”, “BOOL”, “INT8”, “INT16”, “INT32”, “FP16” “FP32”, “UINT8”, “UINT16”, “UINT32”, “UINT64”, “INT64” , “FP64” , “BYTES”, “BF16”
- shape: The length of the array, If the shape is [1] you will get the variable, if the array > 1 you will get an array, If the length is variable you can put -1
- required: If the parameter is required in all API calls
- example( optional ): Sample value for calling the API
Example
Example
Variable Length Inputs
For inputs that can take a variable number of values, you can set theshape
fields to [-1]
. This indicates that the length of the array is not fixed and can vary.
Here’s an example: