We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16bb84d commit 57943c0Copy full SHA for 57943c0
experiments/mnist/mnist_classifier_from_scratch.py
@@ -35,7 +35,7 @@ def print_mean_std(name, v):
35
# Always use np.float32, to avoid floating errors in descaling + stats.
36
v = jsa.asarray(data, dtype=np.float32)
37
m, s = np.mean(v), np.std(v)
38
- print(f"{name}: MEAN({m:.4f}) / STD({s:.4f}) / SCALE({scale.dtype})")
+ print(f"{name}: MEAN({m:.4f}) / STD({s:.4f}) / SCALE({scale:.4f})")
39
40
41
def init_random_params(scale, layer_sizes, rng=npr.RandomState(0)):
0 commit comments