You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending a JSON request such as { "jsonData": { "instances": [{ "length": 9 }] } }, the number 9 would get converted into 9.0. This becomes an issue in the TFProxy as the number datatypes would be changed, resulting in unexpected behaviour that differs from sending the request directly to the TFX server.
This can be reproduced by running the following code:
When sending a JSON request such as
{ "jsonData": { "instances": [{ "length": 9 }] } }
, the number9
would get converted into9.0
. This becomes an issue in the TFProxy as the number datatypes would be changed, resulting in unexpected behaviour that differs from sending the request directly to the TFX server.This can be reproduced by running the following code:
Which outputs:
If you just run:
You are able to see that the GRPC proto message converted is already changed to float:
The text was updated successfully, but these errors were encountered: