message: [TF:XLA] Allow fallback to TF:Classic when resource variables have changed shape or type.
diff: @@ -92,14 +92,14 @@ Status XlaResource::SetTypeAndShape(DataType type, const TensorShape& shape) {
  "'' to an invalid type");
  }
  if (initialized() && type_ != type) {
  - return errors::InvalidArgument("Type of resource ", name_,
  + return errors::Unimplemented("Type of resource ", name_,
  " cannot be changed after initialization: "
  "old type was ",
  DataTypeString(type_), ", new type is ",
  DataTypeString(type));
  }
  if (initialized() && shape_ != shape) {
  - return errors::InvalidArgument("Shape of resource ", name_,
  + return errors::Unimplemented("Shape of resource ", name_,
  " cannot be changed after initialization: "
  "old shape was ",
  shape_.DebugString(), ", new shape is ",
  