/external/tensorflow/tensorflow/python/keras/backend/ |
H A D | __init__.py | 71 from tensorflow.python.keras._impl.keras.backend import gradients namespace
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | cholesky_op_test.py | 248 composite_grad = gradients_impl.gradients(chol, x, grad_data)[0]
|
H A D | dynamic_partition_op_test.py | 171 # Test gradients 173 grads = gradients_impl.gradients(outputs, [data_t, partitions_t], 175 self.assertEqual(grads[1], None) # Partitions has no gradients
|
H A D | array_ops_test.py | 717 slice_val_grad, = gradients_impl.gradients(slice_val, self.var, grad_ys=dy) 718 slice_val_grad2, = gradients_impl.gradients( 735 """Test that strided slice's custom gradient produces correct gradients."""
|
H A D | diag_op_test.py | 187 grads = gradients_impl.gradients(output, [mat, v], grad_ys=grad_input)
|
H A D | pooling_ops_test.py | 890 """Verifies the gradients of the avg pooling function. 966 """Verifies the second-order gradients of the pooling function. 1020 t_g = gradients_impl.gradients(t**2, input_tensor)[0]
|
/external/tensorflow/tensorflow/contrib/verbs/ |
H A D | README.md | 23 The design is based on TensorFlow r1.0. An RDMA path is added between servers for tensor transfer (weights, gradients, etc). The existing GRPC path remains and is responsible for "administrative" tasks, such as setting up the RDMA path, exchanging computation graphs, etc.
|
/external/tensorflow/tensorflow/python/framework/ |
H A D | meta_graph_test.py | 490 # Build and run the gradients of the while loop. We use this below to 491 # verify that the gradients are correct with the imported MetaGraphDef. 493 grad = gradients_impl.gradients([output], [var]) 508 # Make sure we can still build gradients and get the same result. 516 grad = gradients_impl.gradients([output], [var])
|
H A D | ops_test.py | 51 import tensorflow.python.ops.gradients # pylint: disable=unused-import namespace
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
H A D | feature_column_ops_test.py | 500 gradients_impl.gradients(output, weights)[0].values) 874 grad = gradients_impl.gradients(output, weights) 880 grad_core = gradients_impl.gradients(output_core, weights_core) 1519 gradient_tensor = gradients_impl.gradients(model_input_tensor, 1524 model_input, gradients = sess.run([model_input_tensor, gradient_tensor]) 1532 actual_gradient_values = np.sort(gradients[0].values, axis=None)
|
H A D | layers_test.py | 2536 # Test that the gradients are stable while the moving_mean is updated. 2538 # gradients could diverge, this test checks that gradients remains stable 2572 [images_gradients] = gradients_impl.gradients(objective, images) 2582 # Initial input gradients. 2593 # The gradients should change slowly while updating moving_mean. 3439 g_x, = gradients_impl.gradients(y, [x], [np.array([3], np.float32)])
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 327 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] = local 341 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureFilteringTests.cpp | 479 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] = local 493 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias);
|
H A D | es3fVertexTextureTests.cpp | 906 static const Vec4 gradients[tcu::CUBEFACE_LAST][2] = local 920 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias);
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
H A D | backend.py | 43 from tensorflow.python.ops import gradients as gradients_module 2803 @tf_export('keras.backend.gradients') 2804 def gradients(loss, variables): function 2805 """Returns the gradients of `variables` w.r.t. `loss`. 2812 A gradients tensor. 2814 return gradients_module.gradients(
|
H A D | optimizers.py | 98 grads = K.gradients(loss, params) 109 Should only be called after computing the gradients
|
/external/skia/src/shaders/ |
H A D | SkPerlinNoiseShader.cpp | 123 static uint8_t gradients[] = { 2, 2, 1, 0, local 140 SkPixmap gradPixmap(info, gradients, info.minRowBytes()); 244 // Compute gradients from permutated noise data
|
/external/skqp/src/shaders/ |
H A D | SkPerlinNoiseShader.cpp | 120 static uint8_t gradients[] = { 2, 2, 1, 0, local 136 fGradientBitmap.setPixels(gradients); 239 // Compute gradients from permutated noise data
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
H A D | cauchy_test.py | 216 grads = gradients_impl.gradients(value, [loc, scale])
|
/external/tensorflow/tensorflow/contrib/kfac/python/kernel_tests/ |
H A D | fisher_factors_test.py | 182 g = gradients_impl.gradients(y, x)[0]
|
/external/tensorflow/tensorflow/python/eager/ |
H A D | function.py | 320 are passed as arguments. Need to track so gradients are supported 323 a context when computing gradients. 376 in_gradients = gradients_impl.gradients(
|
/external/tensorflow/tensorflow/python/ops/ |
H A D | nn_batchnorm_test.py | 237 odx, odm, odv, odb, odg = gradients_impl.gradients( 449 # its inherited gradient tests to assert gradients against the 605 # We want to assert gradients WRT weights as well as X!
|
H A D | nn_grad.py | 42 the gradients w.r.t. the input and the filter 258 The gradients w.r.t. the input. 266 """Return the gradients for the 2 inputs of bias_op. 276 op: The BiasOp for which we need to generate gradients. 277 received_grad: Tensor. The gradients passed to the BiasOp. 297 op: BiasAddGrad op for which we are calculating gradients. 298 received_grad: The gradients passed to the BiasAddGrad op. 331 """Return the gradients for the 2 inputs of bias_op. 341 unused_bias_op: The BiasOp for which we need to generate gradients. 342 received_grad: Tensor. The gradients passe [all...] |
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
H A D | rnn_cell_test.py | 1384 outputs_grad = gradients_impl.gradients( 1386 final_state_grad = gradients_impl.gradients(
|
/external/tensorflow/tensorflow/contrib/legacy_seq2seq/python/kernel_tests/ |
H A D | seq2seq_test.py | 905 full_grads = gradients_impl.gradients(losses[i], params)
|