replaceFirst
Replace the first dimension with a new dimension size.
Return
The new changed TensorShape.
Parameters
dim
New size for first dimension
Replace the first dimension with a new dimension size.
The new changed TensorShape.
New size for first dimension