Skip to content

Commit

Permalink
Update test_debugging.py
Browse files Browse the repository at this point in the history
  • Loading branch information
psobot authored Aug 8, 2024
1 parent 26e62b3 commit 5c1b72f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/callbacks/test_debugging.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def generate_data() -> Iterator[Tuple[List[int], List[int]]]:
),
)

model = tf.keras.Sequential([tf.keras.Input(shape=(1)), tf.keras.layers.Dense(1)])
model = tf.keras.Sequential([tf.keras.Input(shape=(1,)), tf.keras.layers.Dense(1)])
model.compile(loss="binary_crossentropy")
model.fit(fake_data, steps_per_epoch=1, epochs=10, callbacks=[HangDebugCallback()])

Expand Down Expand Up @@ -70,7 +70,7 @@ def generate_data() -> Iterator[Tuple[List[int], List[int]]]:
),
)

model = tf.keras.Sequential([tf.keras.Input(shape=(1)), tf.keras.layers.Dense(1)])
model = tf.keras.Sequential([tf.keras.Input(shape=(1,)), tf.keras.layers.Dense(1)])
model.compile(loss="binary_crossentropy")
model.fit(
fake_data,
Expand Down Expand Up @@ -114,7 +114,7 @@ def generate_data() -> Iterator[Tuple[List[int], List[int]]]:
),
)

model = tf.keras.Sequential([tf.keras.Input(shape=(1)), tf.keras.layers.Dense(1)])
model = tf.keras.Sequential([tf.keras.Input(shape=(1,)), tf.keras.layers.Dense(1)])
model.compile(loss="binary_crossentropy")
model.fit(
fake_data,
Expand Down

0 comments on commit 5c1b72f

Please sign in to comment.