ninetoothed.Tensor.expand# Tensor.expand(shape)# Expand the specified singleton dimensions of the tensor. Parameters: shape – The expanded shape. Returns: The expanded tensor.