You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All Xopt generators are subclasses of the pydantic (v2) BaseModel class (https://docs.pydantic.dev/latest/). This enables generator serialization that may or may not be useful. Serialization of arbitrary types is not supported by native pydantic types, but pydantic is flexible enough to support custom serialization. For example, we have serialized complex objects such as torch modules in the past.
The text was updated successfully, but these errors were encountered:
All Xopt generators are subclasses of the pydantic (v2) BaseModel class (https://docs.pydantic.dev/latest/). This enables generator serialization that may or may not be useful. Serialization of arbitrary types is not supported by native pydantic types, but pydantic is flexible enough to support custom serialization. For example, we have serialized complex objects such as torch modules in the past.
The text was updated successfully, but these errors were encountered: