import tensorflow as tf

    tt_cores = [None] * num_dims
    for i in range(num_dims):
      curr_core_shape = (1, shape[0][i], shape[1][i], 1)
      tt_cores[i] = tf.zeros(curr_core_shape, dtype=dtype)

    return TensorTrain(tt_cores, shape, tt_rank)
