[refactor] move rbm.torch → compat.torch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 08:36:21 +02:00
co-authored by Claude Sonnet 4.6
parent 3d235b4214
commit b41274c7a6
7 changed files with 90 additions and 83 deletions
+2 -2
View File
@@ -24,7 +24,7 @@
"from rbm.model import Model\n",
"from rbm.entity import Entity, EntityParams, TrainingParams\n",
"from rbm.matrix import Mat, np, rms_error_accu\n",
"from rbm.torch import Optimizer\n",
"from compat.torch import Optimizer\n",
"import math"
]
},
@@ -430,4 +430,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}