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
Variable
orParameter
typically requires explicitly specifying whatDeviceDescriptor
it is intended to run on. This gets in the way of composition: when creating a model, theDeviceDescriptor
needs to be passed in multiple times. Furthermore, it should be possible to create the entire function, and then only decide whatDeviceDescriptor
should be used, consistently across the whole workflow.