diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-10-04 06:09:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-04 06:14:08 -0700 |
commit | 82ea80b979768c7fe1daa4b50cf054e5a0968f31 (patch) | |
tree | 11d36ac98c1f6b3e4d3e8335188d33cf4a32161d /third_party/ortools.BUILD | |
parent | 2c9369c8d878c913b5dfcd3c27849bcd3d6af6c9 (diff) |
Add option in tf.gradients() to return zero tensors for unconnected gradients.
tf.gradients currently returns [NONE] when the gradient of unconnected variables
is required. This backwards compatable change adds in the option to have zero
tensors returned that match the dimensions of the input tensor.
PiperOrigin-RevId: 215725488
Diffstat (limited to 'third_party/ortools.BUILD')
0 files changed, 0 insertions, 0 deletions