Skip to content

Commit f324f04

Browse files
Balandatfacebook-github-bot
authored andcommitted
Fix build issues with sphinx 3.0.0 (pytorch#415)
Summary: sphinx 3.0.0 was just released with some modified behavior, which caused some issues with repeated defs. This fixes these issues and makes the spinx build pass on the current release. This also spews a large number of additional deprecation warnings, will try to address these in a different PR. . Pull Request resolved: pytorch#415 Reviewed By: sdsingh Differential Revision: D20862807 Pulled By: Balandat fbshipit-source-id: 500a0e3d00ea0c6e16410481c11155837e077be3
1 parent a19b679 commit f324f04

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

botorch/sampling/samplers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class MCSampler(Module, ABC):
2929
Subclasses must implement the `_construct_base_samples` method.
3030
3131
Attributes:
32-
sample_shape: The shape of each sample.
3332
resample: If `True`, re-draw samples in each `forward` evaluation -
3433
this results in stochastic acquisition functions (and thus should
3534
not be used with deterministic optimization algorithms).

sphinx/source/sampling.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ botorch.sampling
77
.. automodule:: botorch.sampling
88

99

10-
Monte-Carlo Sampler API
11-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12-
.. currentmodule:: botorch.sampling.samplers
13-
.. autoclass:: MCSampler
14-
:members:
15-
1610
Monte-Carlo Samplers
1711
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1812
.. automodule:: botorch.sampling.samplers

0 commit comments

Comments
 (0)