Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build a model layers #36

Open
ior308 opened this issue Nov 5, 2023 · 0 comments
Open

How to build a model layers #36

ior308 opened this issue Nov 5, 2023 · 0 comments

Comments

@ior308
Copy link

ior308 commented Nov 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant