Exception when concatenating empty flattened layer · Issue ...
https://github.com/tensorflow/tensorflow/issues/4237614.08.2020 · Describe the current behavior. Using keras bundled with tensorflow, from one input with shape (None, num > 0) and another input with shape (None, num2 > 0, 0), the second is flattened, obtaining shape (None, 0), and, when trying to concatenate both, it fails during training because it assumes the shape of the second has double number of rows.
Introduction to Tensors | TensorFlow Core
https://www.tensorflow.org/guide/tensor11.11.2021 · import tensorflow as tf import numpy as np Tensors are multi-dimensional arrays with a uniform type (called a dtype).You can see all supported dtypes at tf.dtypes.DType.. If you're familiar with NumPy, tensors are (kind of) like np.arrays.. All tensors are immutable like Python numbers and strings: you can never update the contents of a tensor, only create a new one.