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