def __init__(self, theta=np.deg2rad(20), displacement=0.25, lookup_history=10,
get_sample=lambda item: item,
on_sampled_cb=lambda index, item: None, verbose=False):
Sampler.__init__(self, lookup_history=lookup_history,
get_sample=get_sample,
on_sampled_cb=on_sampled_cb, verbose=verbose)
self.displacement_ = displacement
self.theta_ = theta
评论列表
文章目录