https://github.com/pymc-devs/pymc3
Tip revision: 120fc4ece8eff45ecb78f7e1a4d0144cf809bba1 authored by Ricardo Vieira on 27 March 2024, 13:48:11 UTC
Improve example on expanded sample_posterior_predictive
Improve example on expanded sample_posterior_predictive
Tip revision: 120fc4e
sampling_jax.py
# Copyright 2024 The PyMC Developers
#
# 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.
# This file exists only for backward-compatibility with imports like
# `import pymc.sampling_jax` or `from pymc import sampling_jax`.
import warnings
warnings.warn("This module is deprecated, use pymc.sampling.jax", DeprecationWarning)
from pymc.sampling.jax import * # noqa: E402, F403