mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-29 08:27:43 +00:00
example workflow code for model implementation (#17)
* upload example code for model implementation * Refactor Model Implement * add export --------- Co-authored-by: Young <afe.young@gmail.com>
This commit is contained in:
@@ -30,6 +30,8 @@ from filelock import FileLock
|
||||
|
||||
|
||||
class FactorImplementTask(BaseTask):
|
||||
# TODO: generalized the attributes into the BaseTask
|
||||
# - factor_* -> *
|
||||
def __init__(
|
||||
self,
|
||||
factor_name,
|
||||
@@ -39,6 +41,7 @@ class FactorImplementTask(BaseTask):
|
||||
variables: dict = {},
|
||||
resource: str = None,
|
||||
) -> None:
|
||||
# TODO: remove the useless factor_formulation_description
|
||||
self.factor_name = factor_name
|
||||
self.factor_description = factor_description
|
||||
self.factor_formulation = factor_formulation
|
||||
|
||||
Reference in New Issue
Block a user