Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 44b7972

Browse files
authored
Rename legacy analyze to analyze_v1 (#460)
1 parent 64681fe commit 44b7972

File tree

13 files changed

+11
-11
lines changed

13 files changed

+11
-11
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
from pydantic import BaseModel, Field, PositiveFloat, PositiveInt
3131

3232
from sparsezoo import Model
33-
from sparsezoo.analyze.utils.helpers import numpy_array_representer
34-
from sparsezoo.analyze.utils.models import (
33+
from sparsezoo.analyze_v1.utils.helpers import numpy_array_representer
34+
from sparsezoo.analyze_v1.utils.models import (
3535
DenseSparseOps,
3636
Entry,
3737
ModelEntry,
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
plt = None
2626
matplotlib_available = False
2727

28-
from sparsezoo.analyze.analysis import ModelAnalysis, NodeAnalysis
28+
from sparsezoo.analyze_v1.analysis import ModelAnalysis, NodeAnalysis
2929

3030

3131
__all__ = [

tests/sparsezoo/analyze/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import pytest
2323

2424
from sparsezoo import Model
25-
from sparsezoo.analyze import ModelAnalysis
25+
from sparsezoo.analyze_v1 import ModelAnalysis
2626
from sparsezoo.utils.graph_editor import ONNXGraph
2727

2828

tests/sparsezoo/analyze/test_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import pytest
1818

19-
from sparsezoo.analyze import ModelAnalysis
19+
from sparsezoo.analyze_v1 import ModelAnalysis
2020
from tests.sparsezoo.analyze.helpers import (
2121
get_expected_analysis,
2222
get_generated_analysis,

tests/sparsezoo/analyze/test_analysis/test_analysis_schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import pytest
1616
import yaml
1717

18-
from sparsezoo.analyze import (
18+
from sparsezoo.analyze_v1 import (
1919
BenchmarkResult,
2020
BenchmarkScenario,
2121
ImposedSparsificationInfo,

0 commit comments

Comments
 (0)