@@ -518,16 +518,6 @@ class Model(Factor, WithMemoization, metaclass=ContextMeta):
518518 name: str
519519 name that will be used as prefix for names of all random
520520 variables defined within model
521- model: Model
522- instance of Model that is supposed to be a parent for the new
523- instance. If ``None``, context will be used. All variables
524- defined within instance will be passed to the parent instance.
525- So that 'nested' model contributes to the variables and
526- likelihood factors of parent model.
527- aesara_config: dict
528- A dictionary of Aesara config values that should be set
529- temporarily in the model context. See the documentation
530- of Aesara for a complete list.
531521 check_bounds: bool
532522 Ensure that input parameters to distributions are in a valid
533523 range. If your model is built in a way where you know your
@@ -551,7 +541,7 @@ class Model(Factor, WithMemoization, metaclass=ContextMeta):
551541
552542 class CustomModel(Model):
553543 # 1) override init
554- def __init__(self, mean=0, sigma=1, name='', model=None ):
544+ def __init__(self, mean=0, sigma=1, name=''):
555545 # 2) call super's init first, passing model and name
556546 # to it name will be prefix for all variables here if
557547 # no name specified for model there will be no prefix
@@ -627,8 +617,6 @@ def __new__(cls, *args, **kwargs):
627617 def __init__ (
628618 self ,
629619 name = "" ,
630- model = None ,
631- aesara_config = None ,
632620 coords = None ,
633621 check_bounds = True ,
634622 rng_seeder : Optional [Union [int , np .random .RandomState ]] = None ,
0 commit comments