Searched refs:fx (Results 1 - 25 of 168) sorted by relevance

1234567

/external/clang/test/CodeGenCXX/
H A Ddebug-info-fn-template.cpp9 T fx(XF<T> xi) { function
15 template int fx(XF<int>);
/external/syslinux/com32/modules/
H A Dgpxecmd.c41 struct s_PXENV_FILE_EXEC *fx; local
43 fx = lmalloc(sizeof *fx);
44 if (!fx)
47 q = (char *)(fx + 1);
49 fx->Status = 1;
50 fx->Command.offs = OFFS(q);
51 fx->Command.seg = SEG(q);
60 pxe_call(PXENV_FILE_EXEC, fx);
H A Dsanboot.c41 struct s_PXENV_FILE_EXEC *fx; local
43 fx = lmalloc(sizeof *fx);
44 if (!fx)
47 q = (char *)(fx + 1);
49 fx->Status = 1;
50 fx->Command.offs = OFFS(q);
51 fx->Command.seg = SEG(q);
61 pxe_call(PXENV_FILE_EXEC, fx);
/external/tensorflow/tensorflow/contrib/bayesflow/python/ops/
H A Dcustom_grad_impl.py34 def custom_gradient(fx, gx, x, axis=(), fx_gx_manually_stopped=False,
63 fx: `Tensor`. Output of function evaluated at `x`.
70 fx_gx_manually_stopped: Python `bool` indicating that `fx`, `gx` manually
75 fx: Floating-type `Tensor` equal to `f(x)` but which has gradient
78 with ops.name_scope(name, "custom_gradient", [fx, gx, x]):
79 fx = ops.convert_to_tensor(fx, name="fx")
82 with ops.control_dependencies([fx]):
83 gx = ops.convert_to_tensor(gx, dtype=fx
[all...]
/external/skia/src/core/
H A DSkBitmapProcState_utils.h21 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
28 static inline bool can_truncate_to_fixed_for_decal(SkFixed fx, argument
40 // Note: it seems the test should be (fx <= max && lastFx <= max); but
46 if ((unsigned)SkFixedFloorToInt(fx) >= max) {
51 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1);
H A DSkBitmapProcState_matrix_template.h23 SkFractionalInt fx; local
28 fx = mapper.fractionalIntX();
40 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
52 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
53 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
59 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
60 b = TileProc::X(s, SkFractionalIntToFixed(fx), max
[all...]
H A DSkBitmapProcState_matrixProcs.cpp41 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
42 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
60 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
67 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
68 return SkClampMax(fx >> 16, max);
88 #define TILEX_PROCF(fx, max) SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1))
94 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
96 return SK_USHIFT16((unsigned)((fx)
[all...]
H A DSkBitmapProcState_shaderproc.h28 SkFixed fx; local
46 // now initialize fx
47 fx = mapper.fixedX();
55 unsigned subX = EXTRACT_LOW_BITS(fx, maxX);
56 unsigned x0 = TILEX_PROCF(fx, maxX);
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
67 fx += dx;
/external/skqp/src/core/
H A DSkBitmapProcState_utils.h21 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
28 static inline bool can_truncate_to_fixed_for_decal(SkFixed fx, argument
40 // Note: it seems the test should be (fx <= max && lastFx <= max); but
46 if ((unsigned)SkFixedFloorToInt(fx) >= max) {
51 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1);
H A DSkBitmapProcState_matrix_template.h23 SkFractionalInt fx; local
28 fx = mapper.fractionalIntX();
40 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
52 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
53 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
59 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
60 b = TileProc::X(s, SkFractionalIntToFixed(fx), max
[all...]
H A DSkBitmapProcState_matrixProcs.cpp41 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
42 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
60 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
67 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
68 return SkClampMax(fx >> 16, max);
88 #define TILEX_PROCF(fx, max) SK_USHIFT16((unsigned)((fx) & 0xFFFF) * ((max) + 1))
94 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
96 return SK_USHIFT16((unsigned)((fx)
[all...]
H A DSkBitmapProcState_shaderproc.h28 SkFixed fx; local
46 // now initialize fx
47 fx = mapper.fixedX();
55 unsigned subX = EXTRACT_LOW_BITS(fx, maxX);
56 unsigned x0 = TILEX_PROCF(fx, maxX);
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
67 fx += dx;
/external/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp17 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
18 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
20 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
34 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
49 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) { argument
52 ret = vshrq_n_s32(fx, 12);
62 // TILEX_PROCF(fx, max) (((fx)
98 sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) argument
145 decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
180 decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp262 // now initialize fx
263 SkFixed fx = mapper.fixedX(); local
266 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
270 SkASSERT((fx >> (16 + 14)) == 0);
271 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
272 fx += dx;
278 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
279 fx
377 SkFixed fx = mapper.fixedX(); local
[all...]
H A DSkBitmapProcState_matrix_neon.h35 SkFractionalInt fx; local
40 fx = mapper.fractionalIntX();
53 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
66 // now build fx/fx+dx/fx+2dx/fx+3dx
71 fx1 = fx+dx;
75 lbase = vdupq_n_s32(SkFractionalIntToFixed(fx));
95 fx
174 SkFractionalInt fx; local
[all...]
/external/skqp/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp17 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
18 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
20 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
34 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
49 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) { argument
52 ret = vshrq_n_s32(fx, 12);
62 // TILEX_PROCF(fx, max) (((fx)
98 sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) argument
145 decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
180 decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp262 // now initialize fx
263 SkFixed fx = mapper.fixedX(); local
266 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
270 SkASSERT((fx >> (16 + 14)) == 0);
271 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
272 fx += dx;
278 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
279 fx
377 SkFixed fx = mapper.fixedX(); local
[all...]
H A DSkBitmapProcState_matrix_neon.h35 SkFractionalInt fx; local
40 fx = mapper.fractionalIntX();
53 const SkFixed fixedFx = SkFractionalIntToFixed(fx);
66 // now build fx/fx+dx/fx+2dx/fx+3dx
71 fx1 = fx+dx;
75 lbase = vdupq_n_s32(SkFractionalIntToFixed(fx));
95 fx
174 SkFractionalInt fx; local
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
H A DBrentOptimizer.java107 double fx = computeObjectiveValue(x);
109 fx = -fx;
111 double fv = fx;
112 double fw = fx;
127 r = (x - w) * (fx - fv);
128 q = (x - v) * (fx - fw);
192 if (fu <= fx) {
201 fw = fx;
203 fx
[all...]
/external/eigen/Eigen/src/Core/arch/NEON/
H A DMathFunctions.h23 Packet4f tmp, fx; local
44 fx = vmlaq_f32(p4f_half, x, p4f_cephes_LOG2EF);
47 tmp = vcvtq_f32_s32(vcvtq_s32_f32(fx));
50 Packet4ui mask = vcgtq_f32(tmp, fx);
53 fx = vsubq_f32(tmp, vreinterpretq_f32_u32(mask));
55 tmp = vmulq_f32(fx, p4f_cephes_exp_C1);
56 Packet4f z = vmulq_f32(fx, p4f_cephes_exp_C2);
78 mm = vcvtq_s32_f32(fx);
/external/skia/bench/
H A DInterpBench.cpp62 void performTest(int16_t dst[], float fx, float dx, int count) override {
63 SkFixed curr = SkFloatToFixed(fx);
81 void performTest(int16_t dst[], float fx, float dx, int count) override {
82 int64_t curr = (int64_t)(fx * 65536 * 655536);
112 void performTest(int16_t dst[], float fx, float dx, int count) override {
113 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
132 void performTest(int16_t dst[], float fx, float dx, int count) override {
135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
136 tmp = SkFloatToFixed(fx); ds
[all...]
/external/skqp/bench/
H A DInterpBench.cpp62 void performTest(int16_t dst[], float fx, float dx, int count) override {
63 SkFixed curr = SkFloatToFixed(fx);
81 void performTest(int16_t dst[], float fx, float dx, int count) override {
82 int64_t curr = (int64_t)(fx * 65536 * 655536);
112 void performTest(int16_t dst[], float fx, float dx, int count) override {
113 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
132 void performTest(int16_t dst[], float fx, float dx, int count) override {
135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
136 tmp = SkFloatToFixed(fx); ds
[all...]
/external/ImageMagick/PerlMagick/demo/
H A DMakefile10 perl pixel-fx.pl
17 compose-specials.jpg single-pixels.gif pixel-fx.gif
/external/tensorflow/tensorflow/contrib/resampler/kernels/
H A Dresampler_ops_gpu.cu.cc78 const int fx = std::floor(static_cast<float>(x)); local
80 const int cx = fx + 1;
86 (fx >= 0 && fy >= 0) ? dx * dy * GET_DATA_POINT(fx, fy) : zero;
92 const T img_fxcy = (fx >= 0 && cy <= data_height - 1)
93 ? dx * (one - dy) * GET_DATA_POINT(fx, cy)
189 const int fx = std::floor(static_cast<float>(x)); local
191 const int cx = fx + 1;
196 const T img_fxfy = (fx >= 0 && fy >= 0) ? GET_DATA_POINT(fx, f
[all...]
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/
H A Dcustom_grad_test.py47 fx = cg.custom_gradient(f(x), g(x), x)
48 gx = gradients_impl.gradients(fx, x)[0]
49 [fx_, gx_] = sess.run([fx, gx])
61 fx = cg.custom_gradient(f(x), g(x), x)
62 gx = gradients_impl.gradients(fx, x)[0]
63 [fx_, gx_] = sess.run([fx, gx])
113 fx = cg.custom_gradient(f(x), g(x), x)
114 gx = gradients_impl.gradients(fx, variables.trainable_variables())
115 [x_, fx_, gx_] = sess.run([x, fx, gx[0]])
145 fx
[all...]

Completed in 558 milliseconds

1234567