Is there an elegant way to specify a default value for a placeholder?
If you specify a value in the run(feed_dict=...)
then uses that value otherwise it defaults to a given value that you specify at build time.
I just found it myself:
tf.placeholder_with_default(input, shape, name=None)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With