It is possible that child classes may not have a device parameter which their parent does, in which case that parameter will not be an argument in the child's __init__. This currently doesn't work, however, because the code assumes that children always have the same device parameters as their parents (plus, potentially, some more). We should check for this condition and remove the relevant device params when creating child classes.
It is possible that child classes may not have a device parameter which their parent does, in which case that parameter will not be an argument in the child's
__init__
. This currently doesn't work, however, because the code assumes that children always have the same device parameters as their parents (plus, potentially, some more). We should check for this condition and remove the relevant device params when creating child classes.