Skip to content

Commit

Permalink
Fix landing page example code.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 584020462
  • Loading branch information
rjagerman authored and lyyanlely committed Mar 9, 2024
1 parent d2926db commit 6785fc0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ landing_page:
# Create a model
inputs = {
name: tf.keras.Input(shape=(None, 1), dtype=tf.float32, name=name)
for name in ds.element_spec[0]
if name != "_mask"
"float_features": tf.keras.Input(shape=(None, 136), dtype=tf.float32)
}
norm_inputs = [tf.keras.layers.BatchNormalization()(x) for x in inputs.values()]
x = tf.concat(norm_inputs, axis=-1)
Expand Down

0 comments on commit 6785fc0

Please sign in to comment.