Skip to content

Commit

Permalink
fix typo for data type
Browse files Browse the repository at this point in the history
  • Loading branch information
TE-WoodyLi committed May 31, 2018
1 parent 22ba80a commit 0d24c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/nnabla/utils/cli/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class ForwardConfig:
data = np.fromfile(input_filename, np.int32).reshape(
v.variable_instance.d.shape)
else:
data = np.fromfile(input_filename, np.float).reshape(
data = np.fromfile(input_filename, np.float32).reshape(
v.variable_instance.d.shape)
inputs.append((d, data))
input_file_index += 1
Expand Down

0 comments on commit 0d24c96

Please sign in to comment.