Skip to content

Commit f12e81b

Browse files
authored
Fix typo in serving method name (#175)
* Fix typo in serving method name The correct method name is "tensorflow/serving/regress" - https://www.tensorflow.org/tfx/serving/signature_defs * Fix test
1 parent 4cec1d6 commit f12e81b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tf_container/proxy_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
DEFAULT_GRPC_REQUEST_TIMEOUT_FOR_INFERENCE_ACCELERATOR = 30.0
3333

34-
REGRESSION = 'tensorflow/serving/regression'
34+
REGRESSION = 'tensorflow/serving/regress'
3535
CLASSIFY = 'tensorflow/serving/classify'
3636
INFERENCE = 'tensorflow/serving/inference'
3737
PREDICT = 'tensorflow/serving/predict'

test/unit/test_proxy_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from tf_container.proxy_client import GRPCProxyClient
2323

24-
REGRESSION = 'tensorflow/serving/regression'
24+
REGRESSION = 'tensorflow/serving/regress'
2525
INFERENCE = 'tensorflow/serving/inference'
2626
CLASSIFY = 'tensorflow/serving/classify'
2727
PREDICT = 'tensorflow/serving/predict'

0 commit comments

Comments
 (0)