Numpy has this helper function, np.empty, which will:
Return a new array of given shape and type, without initializing entries.
In TF 2,
tensor = tf.reshape(tf.convert_to_tensor(()), (0, n))
worked for me.