Creating a Variable or Parameter typically requires explicitly specifying what DeviceDescriptor it is intended to run on. This gets in the way of composition: when creating a model, the DeviceDescriptor needs to be passed in multiple times. Furthermore, it should be possible to create the entire function, and then only decide what DeviceDescriptor should be used, consistently across the whole workflow.
Creating a
VariableorParametertypically requires explicitly specifying whatDeviceDescriptorit is intended to run on. This gets in the way of composition: when creating a model, theDeviceDescriptorneeds to be passed in multiple times. Furthermore, it should be possible to create the entire function, and then only decide whatDeviceDescriptorshould be used, consistently across the whole workflow.