[refactor] move rbm.label → label.label

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 08:30:26 +02:00
co-authored by Claude Sonnet 4.6
parent 807de19fa7
commit 3d235b4214
6 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,4 +21,4 @@ readme = "README.md"
[tool.setuptools] [tool.setuptools]
package-dir = {"" = "src"} package-dir = {"" = "src"}
packages = ["rbm", "image", "stack"] packages = ["rbm", "image", "stack", "label"]
View File
+1 -1
View File
@@ -1,7 +1,7 @@
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from rbm.matrix import np from rbm.matrix import np
from rbm.label import Label from label.label import Label
if __name__ == "__main__": if __name__ == "__main__":
voc_size = 100 voc_size = 100
+1 -1
View File
@@ -2,7 +2,7 @@ import matplotlib.pyplot as plt
from rbm.model import Model from rbm.model import Model
from rbm.label import Label from label.label import Label
from rbm.entity import Entity, EntityParams, TrainingParams from rbm.entity import Entity, EntityParams, TrainingParams
from rbm.matrix import Mat, np from rbm.matrix import Mat, np
+1 -1
View File
@@ -4,7 +4,7 @@ from rbm.model import Model
from rbm.entity import Entity, EntityParams, TrainingParams from rbm.entity import Entity, EntityParams, TrainingParams
from rbm.matrix import Mat, np, read_armadillo from rbm.matrix import Mat, np, read_armadillo
from rbm.train import train, Status from rbm.train import train, Status
from rbm.label import Label from label.label import Label
class TestModel(Model): class TestModel(Model):
def __init__(self, name: str, work_dir: str = '.'): def __init__(self, name: str, work_dir: str = '.'):