From 08ec45bdd8cb629b3c8d7407f82714529e9724fe Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Wed, 23 Dec 2020 09:02:50 +1100 Subject: [PATCH] docs: fix simple typo, inital -> initial There is a small typo in theanoTUT/theano6_shared_variable.py. Should read `initial` rather than `inital`. --- theanoTUT/theano6_shared_variable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theanoTUT/theano6_shared_variable.py b/theanoTUT/theano6_shared_variable.py index 69c27df9..85419688 100644 --- a/theanoTUT/theano6_shared_variable.py +++ b/theanoTUT/theano6_shared_variable.py @@ -12,7 +12,7 @@ import theano import theano.tensor as T -state = theano.shared(np.array(0,dtype=np.float64), 'state') # inital state = 0 +state = theano.shared(np.array(0,dtype=np.float64), 'state') # initial state = 0 inc = T.scalar('inc', dtype=state.dtype) accumulator = theano.function([inc], state, updates=[(state, state+inc)])