Home
last modified time | relevance | path

Searched refs:batch_jacobian (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/ops/parallel_for/
Dgradients_test.py106 pfor_jacobian = gradients.batch_jacobian(output, inp, use_pfor=True)
107 while_jacobian = gradients.batch_jacobian(output, inp, use_pfor=False)
114 pfor_jacobian = gradients.batch_jacobian(output, inp, use_pfor=True)
115 while_jacobian = gradients.batch_jacobian(output, inp, use_pfor=False)
122 pfor_jacobian = gradients.batch_jacobian(final_state.c, inp, use_pfor=True)
135 pfor_jacobian = gradients.batch_jacobian(output, inp, use_pfor=True)
137 pfor_hessian = gradients.batch_jacobian(pfor_jacobian, inp, use_pfor=True)
141 while_hessian = gradients.batch_jacobian(while_jacobian, inp, use_pfor=False)
308 pfor_jacobian = gradients.batch_jacobian(logits, images, use_pfor=True)
309 while_jacobian = gradients.batch_jacobian(logits, images, use_pfor=False)
[all …]
D__init__.py24 from tensorflow.python.ops.parallel_for.gradients import batch_jacobian
Dgradients.py83 def batch_jacobian(output, inp, use_pfor=True, parallel_iterations=None): function
/external/tensorflow/tensorflow/python/eager/
Dbackprop_test.py873 self.assertAllClose([[[4. * 3. ** 3.]]], g.batch_jacobian(z, x))
882 g.batch_jacobian(z, x)
885 g.batch_jacobian(y, [x])
1760 dy_xx = g.batch_jacobian(dy_x, x)
1770 return tape.batch_jacobian(primal_out, primal)
1801 return math_ops.reduce_sum(tape.batch_jacobian(reduced, x))
1894 batch_jacobian = g.batch_jacobian(
1899 return batch_jacobian, answer
1902 batch_jacobian, answer = self._batch_jacobian(experimental_use_pfor=True)
1903 self.assertAllEqual(answer, batch_jacobian)
[all …]
Dbackprop.py1206 def batch_jacobian(self, member in GradientTape
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_interop_test.py368 batch_jacobian = g.batch_jacobian(z, x)
373 self.assertIsInstance(batch_jacobian, np.ndarray)
374 self.assertAllClose(batch_jacobian, answer)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-gradient-tape.pbtxt10 name: "batch_jacobian"
Dtensorflow.autodiff.-gradient-tape.pbtxt10 name: "batch_jacobian"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-gradient-tape.pbtxt10 name: "batch_jacobian"
/external/tensorflow/tensorflow/python/keras/integration_test/
Dgradients_test.py99 return tape.batch_jacobian(y, x)
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scaling_gradient_tape.py193 def batch_jacobian(self, member in LossScaleGradientTape
Dloss_scaling_gradient_tape_test.py536 g.batch_jacobian(y, x)