Skip to content

Commit 2020776

Browse files
ferrinetaku-y
authored andcommitted
fix python2 tests
1 parent 61c6c48 commit 2020776

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymc3/data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import numpy as np
77
import pymc3 as pm
8-
from pymc3 import theanof
98
import theano.tensor as tt
109
import theano
1110

@@ -115,7 +114,7 @@ class Minibatch(tt.TensorVariable):
115114
minibatch : minibatch tensor
116115
Used for training
117116
"""
118-
@theanof.change_flags(compute_test_value='raise')
117+
@theano.configparser.change_flags(compute_test_value='raise')
119118
def __init__(self, data, batch_size=128, in_memory_size=None,
120119
random_seed=42, update_shared_f=None,
121120
broadcastable=None, name='Minibatch'):

0 commit comments

Comments
 (0)