Keras: difference of InputLayer and Input

前端 未结 2 2032
一整个雨季
一整个雨季 2021-02-08 06:38

I made a model using Keras with Tensorflow. I use Inputlayer with these lines of code:

img1 = tf.placeholder(tf.float32, shape=(None, img_width, i         


        
2条回答
  •  北荒
    北荒 (楼主)
    2021-02-08 07:12

    According to tensorflow website, "It is generally recommend to use the functional layer API via Input, (which creates an InputLayer) without directly using InputLayer." Know more at this page here

提交回复
热议问题