File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tensorflow_lattice/python Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 27
27
# This version number should always be that of the *next* (unreleased) version.
28
28
# Immediately after uploading a package to PyPI, you should increment the
29
29
# version number and push to gitHub.
30
- __version__ = "2.1.0 "
30
+ __version__ = "2.1.1 "
31
31
32
32
if "--release" in sys .argv :
33
33
sys .argv .remove ("--release" )
Original file line number Diff line number Diff line change @@ -2482,7 +2482,7 @@ def verify_hyperparameters(lattice_sizes,
2482
2482
(weights_shape , lattice_sizes , expected_num_weights ))
2483
2483
2484
2484
if input_shape is not None :
2485
- if not isinstance (input_shape , list ):
2485
+ if isinstance (input_shape [ - 1 ], int ):
2486
2486
if input_shape [- 1 ] != len (lattice_sizes ):
2487
2487
raise ValueError ("Last dimension of input shape must have same number "
2488
2488
"of elements as 'lattice_sizes'. 'input shape': %s, "
You can’t perform that action at this time.
0 commit comments