netket.sampler.SamplerState# class netket.sampler.SamplerState[source]# Bases: Pytree Base class holding the state of a sampler. Inheritance __init__()# Methods replace(**kwargs)[source]# Replace the values of the fields of the object with the values of the keyword arguments. If the object is a dataclass, dataclasses.replace will be used. Otherwise, a new object will be created with the same type as the original object. Return type: TypeVar(P, bound= Pytree) Parameters: self (P) kwargs (Any)