Skip to content

Commit

Permalink
Provide input shape to tensor flow model as tuple.
Browse files Browse the repository at this point in the history
  • Loading branch information
dickensc committed Mar 15, 2024
1 parent bc56d1e commit 30e012f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self):

def internal_init(self, application, options = {}):
layers = [
tensorflow.keras.layers.Input(int(options['input_shape'])),
tensorflow.keras.layers.Input((int(options['input_shape']), )),
tensorflow.keras.layers.Dense(int(options['output_shape']), activation = 'softmax'),
]

Expand Down

0 comments on commit 30e012f

Please sign in to comment.