import tensorflow as tf

                return a
        elif type(a) == list:
            if type(a[0]) == tf.Tensor:
                return tf.stack(a, 0)
            else:
                return tf.constant(a, dtype)
        else:
            print(type(a))
            return tf.constant(a, dtype)

