message: Fix dynamic padder in TF2.0 mode.
diff: @@ -638,7 +638,7 @@ def _pad_all_input(inputs, padded_shapes):
  padded_inputs[core_idx].append(input_tensor)
  else:
  # Only pad the non static shape dimension.
  - for i, s in enumerate(input_shape):
  + for i, s in enumerate(input_shape.dims):
  if s.value is None:
  if core_idx == 0:
  real_shape_idx += 1
  @@ -651,8 +651,8 @@ def _pad_all_input(inputs, padded_shapes):
  math_ops.cast(input_shape_tensor[i], dtypes.uint32))
  paddings = []
  - for i, s in enumerate(padded_shape):
  - if input_shape[i].value:
  + for i, s in enumerate(padded_shape.dims):
  + if input_shape.dims[i].value:
  # Don't pad if input shape is already static.
  padding = [0, 0]
  else:
  