diff options
author | James Keeling <jtkeeling@google.com> | 2018-07-23 07:12:57 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-23 07:17:03 -0700 |
commit | 7aef462279657517377e0da15b90b3f3f5be16e1 (patch) | |
tree | 41b332c62a0f3ade7d7a68a62edb3069ea56ef9f /tensorflow/c | |
parent | 21d0205916eded7e2bf2f26e43dd41b2f86cba3f (diff) |
Add GetFilteredRegisteredKernels and refactor
GetFilteredRegisteredKernels makes it easier for users to query at runtime which kernels are available which match some predicate. The most common usage will be querying which kernels are available for a given op, so we add the specialized GetRegisteredKernelsForOp.
This is part of the work to make available kernels possible to query, to support Swift For TensorFlow. There are also a number of github issues asking for the functionality.
I will add C API and Python API support in upcoming changes.
PiperOrigin-RevId: 205656251
Diffstat (limited to 'tensorflow/c')
0 files changed, 0 insertions, 0 deletions