'How does Keras layout works in Tensorflow
I'm testing Tensorflow but I can't figure out how the models are structured. For example, in the official documentation there are the following indications :
A Sequential model is appropriate for a plain stack of layers where each layer has exactly one input tensor and one output tensor.
...
A Sequential model is not appropriate when:
- Your model has multiple inputs or multiple outputs
- Any of your layers has multiple inputs or multiple outputs
- You need to do layer sharing
- You want non-linear topology (e.g. a residual connection, a multi-branch model)
Does this mean that the model only accepts 1 value type of data as Input/Output or just only 1 value as Input/Output?
What I want to do, is use two hexadecimal values to predict a third hexadecimal value, for this, I have the dataset structured in bits e.g:
hex0[0], hex0[1],.... hex0[n], hex1[0], hex1[1], ... hex1[n], result[0], result[1]... result[n]
0 ,1 ,..., 1 , 1 , 9 , ...,1 , 1 , 1 ,... , 0
The keras.Sequential model works for this type of problem?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
