From 670526b96665752cd311729552123d4696f5f7f8 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 14 Mar 2025 13:14:01 -0700 Subject: [PATCH] Correct NaN typo in example JSON Based on the rest of the documentation and looking at the code, it appears that this should be `NaN` and that `Nan` is invalid. This also matches what the Python `json` library supports. --- tensorflow_serving/g3doc/api_rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_serving/g3doc/api_rest.md b/tensorflow_serving/g3doc/api_rest.md index 8edd1d3acbc..6818ab7051f 100644 --- a/tensorflow_serving/g3doc/api_rest.md +++ b/tensorflow_serving/g3doc/api_rest.md @@ -392,7 +392,7 @@ such values. This implies that requests like the following one are valid: { "example": [ { - "sensor_readings": [ 1.0, -3.14, Nan, Infinity ] + "sensor_readings": [ 1.0, -3.14, NaN, Infinity ] } ] }