@@ -518,16 +518,6 @@ class Model(Factor, WithMemoization, metaclass=ContextMeta):
518
518
name: str
519
519
name that will be used as prefix for names of all random
520
520
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.
531
521
check_bounds: bool
532
522
Ensure that input parameters to distributions are in a valid
533
523
range. If your model is built in a way where you know your
@@ -551,7 +541,7 @@ class Model(Factor, WithMemoization, metaclass=ContextMeta):
551
541
552
542
class CustomModel(Model):
553
543
# 1) override init
554
- def __init__(self, mean=0, sigma=1, name='', model=None ):
544
+ def __init__(self, mean=0, sigma=1, name=''):
555
545
# 2) call super's init first, passing model and name
556
546
# to it name will be prefix for all variables here if
557
547
# no name specified for model there will be no prefix
@@ -627,8 +617,6 @@ def __new__(cls, *args, **kwargs):
627
617
def __init__ (
628
618
self ,
629
619
name = "" ,
630
- model = None ,
631
- aesara_config = None ,
632
620
coords = None ,
633
621
check_bounds = True ,
634
622
rng_seeder : Optional [Union [int , np .random .RandomState ]] = None ,
0 commit comments