Home
last modified time | relevance | path

Searched refs:grad_t (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_relu_op_test.cc79 Tensor grad_t(DT_FLOAT, shape); in Activation() local
80 grad_t.flat<float>().setRandom(); in Activation()
81 Node* grad = test::graph::Constant(graph, grad_t, "grad"); in Activation()
/external/tensorflow/tensorflow/python/eager/
Dfunction_gradients_test.py412 grad_t, = backprop.gradients_function(sq, [0])(t)
413 self.assertAllEqual(grad_t, [[6, 6], [14, 14]])
882 grad_t, = backprop.gradients_function(sq, [0])(t)
883 self.assertAllEqual(grad_t, [[6, 6], [14, 14]])
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc807 const Tensor& grad_t = context->input(2); in Compute() local
813 if (!available_tensors_.emplace(batch_key, grad_t).second) { in Compute()
851 TensorShape output_shape(grad_t.shape()); in Compute()