Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5531944

Browse files
author
Your Name
committed
Fixed python class filename
1 parent b197d8f commit 5531944

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Example2/discrete_tf.py‎ renamed to ‎Example2/discretetf.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ def __init__(self, model="discrete_tf"):
3535
def initialize(self):
3636
"""Initialize the Model."""
3737
self.__initialize()
38+
self.step_num = -1
3839

3940
def step(self):
4041
"""Step through the model Model."""
41-
self.step_num = self.__step()
42+
self.__step()
43+
self.step_num += 1
4244

4345
def terminate(self):
4446
"""Terminate the model Model."""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /