Skip to content

How to build a model layers #36

@ior308

Description

@ior308

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions