The :class:`Input` class is the starting layer of a neural network. Parameters ---------- shape : tuple (int) Including batch size. name : None or str A unique layer name.
(shape, dtype=tf.float32, name=None)
| 69 | |
| 70 | |
| 71 | def Input(shape, dtype=tf.float32, name=None): |
| 72 | """ |
| 73 | The :class:`Input` class is the starting layer of a neural network. |
| 74 | |
| 75 | Parameters |
| 76 | ---------- |
| 77 | shape : tuple (int) |
| 78 | Including batch size. |
| 79 | name : None or str |
| 80 | A unique layer name. |
| 81 | |
| 82 | """ |
| 83 | input_layer = _InputLayer(shape, dtype=dtype, name=name) |
| 84 | outputs = input_layer._nodes[0].out_tensors[0] |
| 85 | return outputs |
searching dependent graphs…