Closed schmidt-jake closed 4 years ago
For now (before native Keras support) we still suggest using Placeholders, or tf.keras.Input
s.
Placeholders are still available in TF 2.x using tf.compat.v1.Placeholder
.
For anyone looking to do this with placeholders, note that it's placeholder
with lowercase p
: tf.compat.v1.placeholder
All the export examples use
build_parsing_serving_input_receiver_fn
. Is there a best practice for usingbuild_raw_serving_input_receiver_fn
? Sincetf.placeholder
is deprecated, the only thing I've found that works to specify the receiver tensors istf.keras.Input
...