[refactor] move rbm.label → label.label
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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"]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 = '.'):
|
||||||
|
|||||||
Reference in New Issue
Block a user