Padding tensors# shape_padleft(t[, n_ones]) Reshape t by left-padding the shape with n_ones 1s. shape_padright(t[, n_ones]) Reshape t by right-padding the shape with n_ones 1s. shape_padaxis(t, axis) Reshape t by inserting 1 at the dimension axis.