serving icon indicating copy to clipboard operation
serving copied to clipboard

Add support for half type for the http restful api

Open venuswu opened this issue 5 years ago • 4 comments

Half type is widely used in the deeplearning inference, but the tf-serving doesn't support half type in the restful api, I submit a pr to solve this problem, please check.

venuswu avatar Oct 20 '20 07:10 venuswu

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

google-cla[bot] avatar Oct 20 '20 07:10 google-cla[bot]

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.

What to do if you already signed the CLA

Individual signers
Corporate signers

Googlers: Go here for more info.

@googlebot I signed it!

venuswu avatar Oct 20 '20 08:10 venuswu

I think you can adjust the type of input through tf.cast(), so that you don't need to add support for Half type.

teamwong111 avatar Jun 26 '21 11:06 teamwong111

Hi, I'm facing the same problem and I'd like to know when this pr will be approved.

Hanyu-Jin avatar Apr 17 '23 01:04 Hanyu-Jin