18f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# Copyright 2017 The TensorFlow Authors. All Rights Reserved. 28f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# 38f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# Licensed under the Apache License, Version 2.0 (the "License"); 48f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# you may not use this file except in compliance with the License. 58f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# You may obtain a copy of the License at 68f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# 78f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# http://www.apache.org/licenses/LICENSE-2.0 88f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# 98f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# Unless required by applicable law or agreed to in writing, software 108f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# distributed under the License is distributed on an "AS IS" BASIS, 118f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 128f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# See the License for the specific language governing permissions and 138f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# limitations under the License. 148f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# ============================================================================== 1571248e6f4f79f7d9b6f35854e6bab2caeabfb555Joshua V. Dillon"""Hamiltonian Monte Carlo, a gradient-based MCMC algorithm.""" 168f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower 178f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlowerfrom __future__ import absolute_import 188f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlowerfrom __future__ import division 198f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlowerfrom __future__ import print_function 208f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower 218f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower# go/tf-wildcard-import 228f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlowerfrom tensorflow.contrib.bayesflow.python.ops.hmc_impl import * # pylint: disable=wildcard-import,unused-wildcard-import,g-importing-member 238f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlowerfrom tensorflow.python.util import all_util 248f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower 258f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower_allowed_symbols = [ 2671248e6f4f79f7d9b6f35854e6bab2caeabfb555Joshua V. Dillon "sample_chain", 2771248e6f4f79f7d9b6f35854e6bab2caeabfb555Joshua V. Dillon "sample_annealed_importance_chain", 2871248e6f4f79f7d9b6f35854e6bab2caeabfb555Joshua V. Dillon "kernel", 298f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower] 308f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlower 318f3ab907560db1284e8a11623d0f3f510867ae36A. Unique TensorFlowerall_util.remove_undocumented(__name__, _allowed_symbols) 32