cybertron icon indicating copy to clipboard operation
cybertron copied to clipboard

How to build a model layers

Open ior308 opened this issue 2 years ago • 0 comments

Dear,

I'm looking for how to write the following model built in Keras using cybertron or spago:

model = tf.keras.models.Sequential()

Input - Layer\n",

model.add(layers.Dense(8, activation="relu", input_shape=(10000, )))

Hidden - Layers

model.add(layers.Dense(4, activation="relu")) model.add(layers.Dense(2, activation="relu"))

Output- Layer\n",

model.add(layers.Dense(1, activation="sigmoid"))

report architettura modello

model.summary()

Could you give me an example ? Obviously it's a simple example, but if it were possible, as with Keras, complex architectures can be built, even CCN and RNN or Seq2Seq.

Regards

ior308 avatar Nov 05 '23 15:11 ior308