Skip to content

Commit 47e4e48

Browse files
committed
delete unused functionm
Signed-off-by: Yang Zhang <[email protected]>
1 parent 1a736f1 commit 47e4e48

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sub-packages/bionemo-esm2/tests/bionemo/esm2/scripts/test_finetune_esm2.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from pathlib import Path
1818
from unittest.mock import patch
1919

20-
import numpy as np
2120
import pytest
2221
from nemo.lightning import io
2322

@@ -455,8 +454,3 @@ def r_data_to_csv(data, path):
455454
# Save the DataFrame to a CSV file
456455
df.to_csv(csv_file, index=False)
457456
return csv_file
458-
459-
460-
def mse(y_true, y_pred):
461-
# Handle broadcasting if arrays have different shapes
462-
return np.mean((y_true - y_pred) ** 2)

0 commit comments

Comments
 (0)