Open
Description
This is to mirror support in https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#withkernellabel. The implementation will be similar to Scope::with_device
, but setting an attribute rather than a dedicated field.
Unfortunately, we can't support with_assigned_device
, yet, because the C API doesn't expose that setter.