My TensorFlow script keeps failing at this point:

```
model = tf.keras.Sequential([
    tf.keras.layers.Flatten(input_shape=(28, 28)),
    tf.keras.layers.Dense(128, activation = "leakyrelu"),
    tf.keras.layers.Dense(64),
    tf.keras.layers.Dense(28),
    tf.keras.layers.Dense(10)
])
model.output_shape
```

I just want it to build the model with the given layers, but it's throwing a ValueError in my python compiler. Am I doing something wrong?
system
meri TensorFlow script is bindu par vifal rahati he:

`` `
model = tf.keras.Cepentiential ([[
    tf.keras.layers.flatten (input_shape = (28, 28)),
    tf.keras.layers.dense (128, sakriyan = "licarelu"),
    tf.keras.layers.dense (64),
    tf.keras.layers.dense (28),
    tf.keras.layers.dense (10)
])
model.output_shape
`` `

main bas chahta hum ki yah di gai paraton ke saath model kaa nirmaan kare, lekin yah mere paythan compiler main ek vailuteror phenk rahaa he.kya mujhase kuch galat ho rahi he?
user
is TensorFlow script ke saath samasya sakriyan fnction kii tarah dikhti he jo iskaa upyog karata he.LEAKY RELU ek antarnihit sakriyan fnction nahin he jaise ki Relu he, isliye `sakriyan =" LeakyRelu "` line jab aap script ko chalaane kaa prayaas karte hai to ek valueerror kaa kaaran hoga.iske bajaay, aapako ise `licarelu ()` kaa upyog karke ek atirikt parat ke rup main lagu karne kii aavashyaktaa he.yah code kaam karnaa chahie:

`` `
model = tf.keras.Cepentiential ([[
    tf.keras.layers.flatten (input_shape = (28, 28)),
    tf.keras.layers.dense (128),
    tf.keras.layers.leakyrelu (),
    tf.keras.layers.dense (64),
    tf.keras.layers.dense (28),
    tf.keras.layers.dense (10)
])
model.output_shape
`` `

`licarelu ()` vidhi ek li riley parat banaaegi, or aap ek marane vaale rilu samasya ko rokane ke liye gradient vansh ke liye alpha maan bhi nirdisht kar sakate hai, jo tab hota he jab sakriyan fnction maan rujhaan 0 ke kareeb bahut kareeb or sakriy karne main vifal ho jaataa he.difolt TensorFlow alpha maan 0.2 he, lekin anushansit str 0.1 se 0.3 tak hota he.aap input aakaar ko purnank ke tapal ke rup main bhi paribhaashit kar sakate hai.sabhi tarkon ke saath ek li rilu kaa ek udhaaharan `tf.keras.layers.Leakyrelu (alpha = 0.2, input_shape = (32, 32, 2))` he.
assistant
<|system|>
</s>
<|user|>
meri TensorFlow script is bindu par vifal rahati he:

`` `
model = tf.keras.Cepentiential ([[
    tf.keras.layers.flatten (input_shape = (28, 28)),
    tf.keras.layers.dense (128, sakriyan = "licarelu"),
    tf.keras.layers.dense (64),
    tf.keras.layers.dense (28),
    tf.keras.layers.dense (10)
])
model.output_shape
`` `

main bas chahta hum ki yah di gai paraton ke saath model kaa nirmaan kare, lekin yah mere paythan compiler main ek vailuteror phenk rahaa he.kya mujhase kuch galat ho rahi he?</s>
<|assistant|>
is TensorFlow script ke saath samasya sakriyan fnction kii tarah dikhti he jo iskaa upyog karata he.LEAKY RELU ek antarnihit sakriyan fnction nahin he jaise ki Relu he, isliye `sakriyan =" LeakyRelu "` line jab aap script ko chalaane kaa prayaas karte hai to ek valueerror kaa kaaran hoga.iske bajaay, aapako ise `licarelu ()` kaa upyog karke ek atirikt parat ke rup main lagu karne kii aavashyaktaa he.yah code kaam karnaa chahie:

`` `
model = tf.keras.Cepentiential ([[
    tf.keras.layers.flatten (input_shape = (28, 28)),
    tf.keras.layers.dense (128),
    tf.keras.layers.leakyrelu (),
    tf.keras.layers.dense (64),
    tf.keras.layers.dense (28),
    tf.keras.layers.dense (10)
])
model.output_shape
`` `

`licarelu ()` vidhi ek li riley parat banaaegi, or aap ek marane vaale rilu samasya ko rokane ke liye gradient vansh ke liye alpha maan bhi nirdisht kar sakate hai, jo tab hota he jab sakriyan fnction maan rujhaan 0 ke kareeb bahut kareeb or sakriy karne main vifal ho jaataa he.difolt TensorFlow alpha maan 0.2 he, lekin anushansit str 0.1 se 0.3 tak hota he.aap input aakaar ko purnank ke tapal ke rup main bhi paribhaashit kar sakate hai.sabhi tarkon ke saath ek li rilu kaa ek udhaaharan `tf.keras.layers.Leakyrelu (alpha = 0.2, input_shape = (32, 32, 2))` he.</s>
