replace
Replace dimension i with a new dimension size.
Return
The new changed TensorShape
Parameters
i
The target dimension to change.
dim
The new dimension size.
Replace dimension i with a new dimension size.
The new changed TensorShape
The target dimension to change.
The new dimension size.