Skip to content

Commit

Permalink
Internal change (python3 test coverage).
Browse files Browse the repository at this point in the history
Differential evolution test new seed because the py3 test flaked.

PiperOrigin-RevId: 229551566
  • Loading branch information
brianwa84 authored and tensorflower-gardener committed Jan 16, 2019
1 parent e1998c2 commit 739bdff
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tensorflow_probability/python/glm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Generalized Linear Model specification, fitting, and related utilities.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Internal utilities for TensorFlow probability.

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/layers/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# TensorFlow Probability layers.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/layers/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Internal helper libraries for layers.

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/math/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# TensorFlow Probability general math functions.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/mcmc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# MCMC methods, diagnostics, and related utilities.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/monte_carlo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Support for Monte Carlo expectations

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/optimizer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Optimizers.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def quadratic(x):
def test_quadratic_with_skew(self):
"""Can minimize a general quadratic function."""
dim = 3
np.random.seed(26535)
np.random.seed(26537)
minimum = np.random.randn(dim)
principal_values = np.diag(np.exp(np.random.randn(dim)))
rotation = special_ortho_group.rvs(dim)
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/optimizer/linesearch/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# ============================================================================
# Line search optimization methods

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# ============================================================================
# Library for representation of positive-semidefinite kernel functions.

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Internal helper libraries for distributions.

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/stats/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Statistical Ops.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/sts/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Framework for Bayesian structural time series models

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/sts/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/trainable_distributions/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Support for trainable distributions

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# TensorFlow Probability utility functions.

# [internal] load python3.bzl

package(
default_visibility = [
"//tensorflow_probability:__subpackages__",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/vi/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# Description:
# Methods and objectives for variational inference.

# [internal] load python3.bzl

licenses(["notice"]) # Apache 2.0

package(
Expand Down

0 comments on commit 739bdff

Please sign in to comment.