message: Fixed NotImplementedError: Cannot convert a symbolic Tensor to a numpy array
diff: @@ -2895,7 +2895,7 @@ def _constant_if_small(value, shape, dtype, name):
  try:
  if np.prod(shape) < 1000:
  return constant(value, shape=shape, dtype=dtype, name=name)
  - except TypeError:
  + except (NotImplementedError, TypeError):
  # Happens when shape is a Tensor, list with Tensor elements, etc.
  pass
  return None
  