tf.placeholder_with_default 函数取代tf.placeholder的方法
相信大家在储存是tf.placeholder函数使用的比较多,这里介绍另一种占位符的使用方法
函数基本定义
内容引用
参考引用
https://www.tensorflow.org/versions/r1.14
tf.placeholder_with_default
A placeholder op that passes through input when its output is not fed.
tf.placeholder_with_default = tf.compat.v1.placeholder_with_default
基本定义
tf.placeholder_with_default(
input,
shape,
name