diff options
author | RJ Ryan <rryan@alum.mit.edu> | 2016-04-25 11:49:30 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-04-25 12:52:01 -0700 |
commit | b3470493f49f1232ed51435c607c09b26f87cc57 (patch) | |
tree | 03bae1c657ff29db1957345d2634e96d876cc842 /eigen.BUILD | |
parent | 249664baf82a955708e4e4e22dc080f67fff2fad (diff) |
Expose DeviceSpec class in the Python framework API.
* Rename Device to DeviceSpec to avoid confusion with tf.device.
* Move tensorflow.python.framework.device.from_string helper function to be a staticmethod of DeviceSpec.
This allows Python code to check the validity of device specs, canonicalize them, merge them, etc.
Change: 120736225
Diffstat (limited to 'eigen.BUILD')
0 files changed, 0 insertions, 0 deletions