google / qhbm-library

Quantum Hamiltonian-Based Models built on TensorFlow Quantum
https://qhbm-library.readthedocs.io/en/latest/
Apache License 2.0
40 stars 15 forks source link

Remove empty padding for concat #123

Open zaqqwerty opened 2 years ago

zaqqwerty commented 2 years ago

tf.concat requires at least two tensors in its list argument as of TF 2.4.1. This seems to be generalized in later versions to allow only 1 tensor.