From 30e012fe78357cc627363afe8b44f87ac5ae31ee Mon Sep 17 00:00:00 2001 From: Charles Dickens Date: Fri, 15 Mar 2024 10:59:30 -0700 Subject: [PATCH] Provide input shape to tensor flow model as tuple. --- .../tests/resources/models/deeppsl/sign/tensorflow_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psl-python/tests/resources/models/deeppsl/sign/tensorflow_model.py b/psl-python/tests/resources/models/deeppsl/sign/tensorflow_model.py index 265ea5a79..eadacd1e2 100755 --- a/psl-python/tests/resources/models/deeppsl/sign/tensorflow_model.py +++ b/psl-python/tests/resources/models/deeppsl/sign/tensorflow_model.py @@ -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'), ]