- qspec.models.Custom ( model = None , parameters = None )[source]
A model with custom parameters. Without a submodel, Custom returns the user-specified parameters as an array regardless of the input
x
. Otherwise, the submodel is called and the custom parameters can be connected to other parameters by the user.- Parameters:
-
- modelNone
A submodel whose parameters are adopted by this model.
- parametersNone
A list of str, representing the names of the custom parameters.