(parser)
| 25 | group.add_argument("--likelihood", action="store_true") |
| 26 | |
| 27 | def parse_sde_args(parser): |
| 28 | group = parser.add_argument_group("SDE arguments") |
| 29 | group.add_argument("--sampling-method", type=str, default="Euler", choices=["Euler", "Heun"]) |
| 30 | group.add_argument("--diffusion-form", type=str, default="sigma", \ |
| 31 | choices=["constant", "SBDM", "sigma", "linear", "decreasing", "increasing-decreasing"],\ |
| 32 | help="form of diffusion coefficient in the SDE") |
| 33 | group.add_argument("--diffusion-norm", type=float, default=1.0) |
| 34 | group.add_argument("--last-step", type=none_or_str, default="Mean", choices=[None, "Mean", "Tweedie", "Euler"],\ |
| 35 | help="form of last step taken in the SDE") |
| 36 | group.add_argument("--last-step-size", type=float, default=0.04, \ |
| 37 | help="size of the last step taken") |
| 38 | |
| 39 |
nothing calls this directly
no outgoing calls
no test coverage detected