Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def plot_forecast(num_param, batch_size, precision, seq_len):
|
|
| 20 |
y3 = batch_size * seq_len * K * precision / (1024**3)
|
| 21 |
|
| 22 |
# Gradients: N×precision
|
| 23 |
-
y4 = num_param *
|
| 24 |
|
| 25 |
fig = plt.figure(figsize=(4, 4))
|
| 26 |
ax = fig.add_subplot(111)
|
|
|
|
| 20 |
y3 = batch_size * seq_len * K * precision / (1024**3)
|
| 21 |
|
| 22 |
# Gradients: N×precision
|
| 23 |
+
y4 = num_param * 4 / (1024**3)
|
| 24 |
|
| 25 |
fig = plt.figure(figsize=(4, 4))
|
| 26 |
ax = fig.add_subplot(111)
|