message: Fix the data type issue in compute_output_shape
diff: @@ -441,10 +441,15 @@ class Bidirectional(Wrapper):
  @tf_utils.shape_type_conversion
  def compute_output_shape(self, input_shape):
  - output_shape = tuple(self.forward_layer.compute_output_shape(
  - input_shape).as_list())
  + forward_layer_output_shape \
  + = self.forward_layer.compute_output_shape(input_shape)
  + if getattr(forward_layer_output_shape, 'as_list', None) is None:
  + output_shape = tuple(forward_layer_output_shape)
  + else:
  + output_shape = tuple(forward_layer_output_shape.as_list())
  +
  if self.return_state:
  - state_shape = output_shape[1:]
  + state_shape = list(output_shape[1:])
  output_shape = output_shape[0]
  if self.merge_mode == 'concat':
  