Revision 12243a6a2a325f823704be7c72c83e222dd3b53b authored by st-- on 02 June 2020, 12:16:24 UTC, committed by GitHub on 02 June 2020, 12:16:24 UTC
Doc improvement: Fixes some typos in the Scipy docstring and adds a note on scipy minimize()'s callback argument vs GPflow Scipy().minimize()'s step_callback. Cleans up types in the module. 

Backwards-incompatible change: the `step_callback` that can be passes to the Scipy.minimize() method is changed to take its arguments by position, not name; in line with the StepCallback type signature (and in line with Python's typing.Callable documentation which suggests that callbacks should take arguments preferentially by position, not name).
1 parent 89af61e
Raw File
__init__.py
# Copyright 2016 alexggmatthews, James Hensman
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# flake8: noqa

from .base import Module, Parameter
from .config import default_int, default_float, default_jitter
from .utilities import set_trainable
from . import (
    conditionals,
    config,
    covariances,
    expectations,
    inducing_variables,
    kernels,
    kullback_leiblers,
    likelihoods,
    logdensities,
    mean_functions,
    models,
    monitor,
    optimizers,
    probability_distributions,
    quadrature,
    utilities,
)
from .versions import __version__

__all__ = [export for export in dir()]
back to top