Home
last modified time | relevance | path

Searched refs:gradient (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/external/ImageMagick/MagickCore/
Dpaint.c414 *gradient; in GradientImage() local
429 gradient=(&draw_info->gradient); in GradientImage()
430 gradient->type=type; in GradientImage()
431 gradient->bounding_box.width=image->columns; in GradientImage()
432 gradient->bounding_box.height=image->rows; in GradientImage()
435 (void) ParseAbsoluteGeometry(artifact,&gradient->bounding_box); in GradientImage()
436 gradient->gradient_vector.x2=(double) image->columns-1; in GradientImage()
437 gradient->gradient_vector.y2=(double) image->rows-1; in GradientImage()
450 gradient->gradient_vector.x1=(double) image->columns-1; in GradientImage()
451 gradient->gradient_vector.y1=(double) image->rows-1; in GradientImage()
[all …]
/external/fmtlib/doc/bootstrap/mixins/
Dgradients.less3 #gradient {
5 // Horizontal gradient, from left to right
10 …background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-perce…
11 …background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); …
12 …background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent);…
14 …filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', Grad…
17 // Vertical gradient, from top to bottom
22 …background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percen…
23 …background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); …
24 …background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent)…
[all …]
/external/rust/crates/quiche/
Dquiche.svg1gradient);}.cls-6{fill:#ffdb6f;}.cls-7{fill:#f16975;}.cls-8{fill:url(#linear-gradient-2);}.cls-9{f…
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_TensorArrayGradV3.pbtxt21 The gradient source string, used to decide which gradient TensorArray
27 If the given TensorArray gradient already exists, returns a reference to it.
33 The handle flow_in forces the execution of the gradient lookup to occur
36 may resize the object. The gradient TensorArray is statically sized based
39 As a result, the flow is used to ensure that the call to generate the gradient
42 In the case of dynamically sized TensorArrays, gradient computation should
49 TensorArray gradient calls use an accumulator TensorArray object. If
51 gradient nodes may accidentally flow through the same accumulator TensorArray.
52 This double counts and generally breaks the TensorArray gradient flow.
54 The solution is to identify which gradient call this particular
[all …]
Dapi_def_BlockLSTMGradV2.pbtxt104 The current gradient of cs.
110 The gradient of h vector.
116 The gradient of x to be back-propped.
122 The gradient of cs_prev to be back-propped.
128 The gradient of h_prev to be back-propped.
134 The gradient for w to be back-propped.
140 The gradient for wci to be back-propped.
146 The gradient for wcf to be back-propped.
152 The gradient for wco to be back-propped.
158 The gradient for w to be back-propped.
Dapi_def_BlockLSTMGrad.pbtxt104 The current gradient of cs.
110 The gradient of h vector.
116 The gradient of x to be back-propped.
122 The gradient of cs_prev to be back-propped.
128 The gradient of h_prev to be back-propped.
134 The gradient for w to be back-propped.
140 The gradient for wci to be back-propped.
146 The gradient for wcf to be back-propped.
152 The gradient for wco to be back-propped.
158 The gradient for w to be back-propped.
Dapi_def_SparseMatrixSoftmaxGrad.pbtxt10 description: "The gradient of `softmax`."
13 name: "gradient"
14 description: "The output gradient."
16 summary: "Calculates the gradient of the SparseMatrixSoftmax op."
Dapi_def_FusedBatchNormGradV3.pbtxt6 A 4D Tensor for the gradient with respect to y.
25 mean to be reused in gradient computation. When is_training is
27 1st and 2nd order gradient computation.
35 gradient computation. When is_training is False, a 1D Tensor
37 order gradient computation.
44 in gradient computation. When is_training is False, a dummy empty Tensor will be
51 A 4D Tensor for the gradient with respect to x.
57 A 1D Tensor for the gradient with respect to scale.
63 A 1D Tensor for the gradient with respect to offset.
Dapi_def_FusedBatchNormGrad.pbtxt6 A 4D Tensor for the gradient with respect to y.
25 mean to be reused in gradient computation. When is_training is
27 1st and 2nd order gradient computation.
35 gradient computation. When is_training is False, a 1D Tensor
37 order gradient computation.
43 A 4D Tensor for the gradient with respect to x.
49 A 1D Tensor for the gradient with respect to scale.
55 A 1D Tensor for the gradient with respect to offset.
Dapi_def_FusedBatchNormGradV2.pbtxt6 A 4D Tensor for the gradient with respect to y.
25 mean to be reused in gradient computation. When is_training is
27 1st and 2nd order gradient computation.
35 gradient computation. When is_training is False, a 1D Tensor
37 order gradient computation.
43 A 4D Tensor for the gradient with respect to x.
49 A 1D Tensor for the gradient with respect to scale.
55 A 1D Tensor for the gradient with respect to offset.
Dapi_def_SparseAccumulatorApplyGradient.pbtxt12 The local_step value at which the sparse gradient was computed.
18 Indices of the sparse gradient to be accumulated. Must be a
25 Values are the non-zero slices of the gradient, and must have
33 Shape of the sparse gradient to be accumulated.
50 summary: "Applies a sparse gradient to a given accumulator."
Dapi_def_StridedSliceGrad.pbtxt3 summary: "Returns the gradient of `StridedSlice`."
6 `shape`, its gradient will have the same shape (which is passed here
7 as `shape`). The gradient will be zero in any element that the slice
11 `dy` is the input gradient to be propagated and `shape` is the
/external/tensorflow/tensorflow/python/kernel_tests/
Dgradient_correctness_test.py42 grads = tape.gradient([yexp, yexplog], [x])
53 dx_dx = tape.gradient(x, x)
61 dx_dx = tape.gradient(x, x)
72 dy_dx = tape.gradient(y, x)
83 dy_dx = tape.gradient(y, x)
94 dy_dk = tape.gradient(y, k)
104 dm_dk = tape.gradient(m, k)
114 dm_dk = tape.gradient(m, k)
125 dn_dk = tape.gradient(n, k)
136 grad_1 = tape.gradient(k * k, k)
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_resource.cc79 for (const string& gradient : tensor_array_gradients) { in XlaResource() local
80 tensor_array_gradients_[gradient].reset(new XlaResource( in XlaResource()
168 std::unique_ptr<XlaResource>& gradient = tensor_array_gradients_[source]; in GetOrCreateTensorArrayGradient() local
169 if (!gradient) { in GetOrCreateTensorArrayGradient()
175 gradient.reset( in GetOrCreateTensorArrayGradient()
182 *gradient_out = gradient.get(); in GetOrCreateTensorArrayGradient()
193 for (const auto& gradient : tensor_array_gradients_) { in Pack() local
194 elems.push_back(gradient.second->value_); in Pack()
219 XlaResource* gradient; in SetFromPack() local
221 GetOrCreateTensorArrayGradient(source, builder, &gradient)); in SetFromPack()
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DGradientStrokeContent.java90 LinearGradient gradient = linearGradientCache.get(gradientHash); in getLinearGradient() local
91 if (gradient != null) { in getLinearGradient()
92 return gradient; in getLinearGradient()
103 gradient = new LinearGradient(x0, y0, x1, y1, colors, positions, Shader.TileMode.CLAMP); in getLinearGradient()
104 linearGradientCache.put(gradientHash, gradient); in getLinearGradient()
105 return gradient; in getLinearGradient()
110 RadialGradient gradient = radialGradientCache.get(gradientHash); in getRadialGradient() local
111 if (gradient != null) { in getRadialGradient()
112 return gradient; in getRadialGradient()
124 gradient = new RadialGradient(x0, y0, r, colors, positions, Shader.TileMode.CLAMP); in getRadialGradient()
[all …]
DGradientFillContent.java154 LinearGradient gradient = linearGradientCache.get(gradientHash); in getLinearGradient() local
155 if (gradient != null) { in getLinearGradient()
156 return gradient; in getLinearGradient()
163 gradient = new LinearGradient(startPoint.x, startPoint.y, endPoint.x, endPoint.y, colors, in getLinearGradient()
165 linearGradientCache.put(gradientHash, gradient); in getLinearGradient()
166 return gradient; in getLinearGradient()
171 RadialGradient gradient = radialGradientCache.get(gradientHash); in getRadialGradient() local
172 if (gradient != null) { in getRadialGradient()
173 return gradient; in getRadialGradient()
188 gradient = new RadialGradient(x0, y0, r, colors, positions, Shader.TileMode.CLAMP); in getRadialGradient()
[all …]
/external/fmtlib/doc/bootstrap/
Dtheme.less38 #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
65 // Remove the gradient for the pressed/active state
97 …#gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hov…
103 …#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-ac…
114 …#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-…
115 .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
122 …#gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken…
133 …#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-…
134 ….reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see h…
138 …#gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-in…
[all …]
/external/tensorflow/tensorflow/python/eager/
Dfunction_gradients_test.py114 tape_dy = tape.gradient(y, x)
137 return tape.gradient(primal_out, primal)
160 g, = tape.gradient(primal_out, tape.watched_variables())
192 x = tape.gradient(x, start)
207 x, = tape.gradient(x, tape.watched_variables())
223 g = t.gradient(y, x, doutputs)
225 gg = tt.gradient(g, doutputs)
284 self.assertAllEqual(self.evaluate(t.gradient(y, x)), 2.0)
299 self.assertAllEqual(self.evaluate(t.gradient(y, x)), 4.0)
430 gradient = grad_fn()
[all …]
Dbackprop_test.py156 return t.gradient(loss, [x, x1, x2, x3, x4])
168 self.assertIsNotNone(t.gradient(result, v))
192 dx, dy = t.gradient([xx, yy], [x, y])
210 t.gradient(y, [x])
218 dx, = t.gradient([loss, x], [x], output_gradients=[1.0, 2.0])
320 self.assertEqual(t.gradient(y, x).numpy(), 1.0)
327 self.assertEqual(t.gradient(y, x).numpy(), 1.0)
340 self.assertAllEqual(t.gradient(y, x), [1.0])
347 self.assertEqual(t.gradient([x, y], x).numpy(), 5.0)
354 self.assertEqual(t.gradient([y, y], x).numpy(), 2.0)
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_gradient.py147 if all(gradient is None for gradient in table_gradients):
152 if any(gradient is None for gradient in table_gradients):
163 for feature, gradient in zip(tpu_embedding.table_to_features_dict[table],
165 if gradient is not None:
166 feature_to_gradient_dict[feature] = gradient
/external/tensorflow/tensorflow/core/kernels/
Drelu_op_gpu.cu.cc44 __global__ void ReluGradHalfKernel(const Eigen::half* __restrict__ gradient, in ReluGradHalfKernel() argument
55 half2 gradient_h2 = reinterpret_cast<const half2*>(gradient)[index]; in ReluGradHalfKernel()
85 Eigen::half grad_h = gradient[count - 1]; in ReluGradHalfKernel()
98 const Eigen::half* __restrict__ gradient, in ReluGradHalfKernelVector() argument
106 float4 gradient_h8 = reinterpret_cast<const float4*>(gradient)[index]; in ReluGradHalfKernelVector()
145 Eigen::half grad_h = gradient[half8_count * VectorSizeElements + index]; in ReluGradHalfKernelVector()
166 typename TTypes<Eigen::half>::ConstTensor gradient, in operator ()()
172 auto gradient_ptr = reinterpret_cast<uintptr_t>(gradient.data()); in operator ()()
177 int32 count = gradient.size(); in operator ()()
185 gradient.data(), feature.data(), backprop.data(), count)); in operator ()()
[all …]
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scaling_gradient_tape_test.py96 return g.gradient(y, x)
116 return g.gradient(y, x, output_gradients=constant_op.constant(2.0))
141 return g.gradient(y, [x1, x2, x3, x4])
169 return g.gradient(y, x)
197 dy_dx = gg.gradient(y, x)
198 d2y_dx2 = g.gradient(dy_dx, x)
216 g.gradient(z, x)
218 g.gradient(y, x)
235 dz_dx = g.gradient(z, x)
236 dy_dx = g.gradient(y, x)
[all …]
/external/swiftshader/src/Renderer/
DSetupProcessor.cpp109 state.gradient[interpolant][component].attribute = Unused; in update()
110 state.gradient[interpolant][component].flat = false; in update()
111 state.gradient[interpolant][component].wrap = false; in update()
152 state.gradient[interpolant][component].attribute = input; in update()
153 state.gradient[interpolant][component].flat = flat; in update()
171 state.gradient[interpolant][component].attribute = T0 + semantic.index; in update()
172 state.gradient[interpolant][component].flat = semantic.flat || (point && !sprite); in update()
175 state.gradient[interpolant][component].attribute = C0 + semantic.index; in update()
176 state.gradient[interpolant][component].flat = semantic.flat || flatShading; in update()
/external/skqp/src/gpu/gradients/
DGrTextureGradientColorizer.h18 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> gradient) { in Make() argument
19 return std::unique_ptr<GrFragmentProcessor>(new GrTextureGradientColorizer(gradient)); in Make()
26 GrTextureGradientColorizer(sk_sp<GrTextureProxy> gradient) in GrTextureGradientColorizer() argument
28 , fGradient(std::move(gradient), GrSamplerState::ClampBilerp()) { in GrTextureGradientColorizer()
/external/skia/tests/
DShaderImageFilterTest.cpp36 sk_sp<SkShader> gradient = SkGradientShader::MakeRadial( in test_unscaled() local
42 paint.setImageFilter(SkImageFilters::Shader(gradient, &ir)); in test_unscaled()
49 paint.setShader(gradient); in test_unscaled()
84 sk_sp<SkShader> gradient = SkGradientShader::MakeRadial( in test_scaled() local
90 paint.setImageFilter(SkImageFilters::Shader(gradient, &ir)); in test_scaled()
98 paint.setShader(gradient); in test_scaled()

12345678910>>...22