Returns the output by name as an Array. This operation could be slow for high dimensional tensors, in which case getFloatArray should be used.
Returns the output at index as an Array. This operation could be slow for high dimensional tensors, in which case getFloatArray should be used.