Skip to content

Commit

Permalink
print input layer type to debug the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Apr 10, 2024
1 parent d3bdd91 commit 925ea2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras_export/convert_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def set_shape_idx_0_to_1_if_none(shape):

def generate_input_data(input_layer):
"""Random data fitting the input shape of a layer."""
print("input layer type", type(input_layer).__name__) # todo: remove
if input_layer._outbound_nodes and isinstance(
get_first_outbound_op(input_layer), Embedding):
random_fn = lambda size: np.random.randint(
Expand Down

0 comments on commit 925ea2c

Please sign in to comment.