/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/ |
LevenbergMarquardtOptimizer.java | 853 double gamma = 0; local 877 double gamma = 0; local [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/ |
sequence.py | 123 frequency(rank) ~ 1/(rank * (log(rank) + gamma) + 1/2 - 1/(12*rank)) 124 where gamma is the Euler-Mascheroni constant. 134 gamma = 0.577 137 inv_fq = rank * (np.log(rank) + gamma) + 0.5 - 1. / (12. * rank)
|
/prebuilts/go/darwin-x86/src/math/ |
gamma.go | 8 // below are from http://netlib.sandia.gov/cephes/cprob/gamma.c. 13 // Gamma function 24 // Returns gamma function of the argument. The result is 27 // This variable is also filled in by the logarithmic gamma 60 // source listings for the gamma function and the incomplete beta 93 // Gamma function computed by Stirling's formula. 121 // Gamma returns the Gamma function of x. 124 // Gamma(+Inf) = +Inf 125 // Gamma(+0) = +In [all...] |
/prebuilts/go/linux-x86/src/math/ |
gamma.go | 8 // below are from http://netlib.sandia.gov/cephes/cprob/gamma.c. 13 // Gamma function 24 // Returns gamma function of the argument. The result is 27 // This variable is also filled in by the logarithmic gamma 60 // source listings for the gamma function and the incomplete beta 93 // Gamma function computed by Stirling's formula. 121 // Gamma returns the Gamma function of x. 124 // Gamma(+Inf) = +Inf 125 // Gamma(+0) = +In [all...] |
/external/libxcam/modules/ocl/ |
cl_bayer_basic_handler.h | 75 bool set_gamma_table (const XCam3aResultGammaTable &gamma);
|
/external/skia/gm/ |
showmiplevels.cpp | 80 static unsigned gamma(unsigned n) { function in class:ShowMipLevels 99 unsigned r = gamma(SkGetPackedR32(c)); 100 unsigned g = gamma(SkGetPackedG32(c)); 101 unsigned b = gamma(SkGetPackedB32(c));
|
/external/skqp/gm/ |
showmiplevels.cpp | 79 static unsigned gamma(unsigned n) { function in class:ShowMipLevels 98 unsigned r = gamma(SkGetPackedR32(c)); 99 unsigned g = gamma(SkGetPackedG32(c)); 100 unsigned b = gamma(SkGetPackedB32(c));
|
/external/skqp/tools/flags/ |
SkCommonFlagsConfig.cpp | 337 SkColorSpace::RenderTargetGamma gamma = linearGamma ? SkColorSpace::kLinear_RenderTargetGamma local 339 *outColorSpace = SkColorSpace::MakeRGB(gamma, gamut); 353 *outColorSpace = SkColorSpace::MakeRGB(gamma, wideGamutRGBMatrix); 364 *outColorSpace = SkColorSpace::MakeRGB(gamma, narrowGamutRGBMatrix);
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
normalization_test.py | 82 self.assertEqual(0, len(contrib_variables.get_variables_by_name('gamma'))) 89 gamma = contrib_variables.get_variables_by_name('gamma')[0] 91 self.assertEqual('InstanceNorm/gamma', gamma.op.name) 99 gamma = contrib_variables.get_variables_by_name('gamma') 101 self.assertEqual(1, len(gamma))
|
layers.py | 226 scale: If True, multiply by `gamma`. If False, `gamma` is 232 param_initializers: Optional initializers for beta, gamma, moving mean and 234 param_regularizers: Optional regularizer for beta and gamma. 294 # Allocate parameters for the beta and gamma of the normalization. 304 gamma_regularizer = param_regularizers.get('gamma') 322 variables_collections, 'gamma') 323 gamma_initializer = param_initializers.get('gamma', 325 gamma = variables.model_variable( 326 'gamma', [all...] |
/external/tensorflow/tensorflow/python/ops/distributions/ |
distributions.py | 30 from tensorflow.python.ops.distributions.gamma import Gamma 54 "Gamma",
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
normalization_test.py | 78 self.assertEqual(layer.gamma.constraint, max_norm) 93 out /= keras.backend.eval(norm.gamma) 112 out /= np.reshape(keras.backend.eval(norm.gamma), (1, 3, 1, 1))
|
/external/libpng/contrib/libtests/ |
makepng.c | 107 * according to the gamma encoding with no gamma encoding being interpreted as 349 /* Don't gamma correct - values get smashed */ 771 volatile png_fixed_point gamma, chunk_insert * volatile insert, 847 * information about the gamma: 849 if (gamma == PNG_GAMMA_MAC_18) 850 gamma = 65909; 852 else if (gamma > 0 && gamma < 1000) 853 gamma = PNG_FP_1 1688 png_fixed_point gamma = 0; \/* not set *\/ local [all...] |
/external/pdfium/testing/image_diff/ |
image_diff_png.cpp | 107 // Gamma constants: We assume we're on Windows which uses a gamma of 2.2. 108 const double kMaxGamma = 21474.83; // Maximum gamma accepted by png library. 220 // Deal with gamma and keep it under our control. 221 double gamma; local 222 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) { 223 if (gamma <= 0.0 || gamma > kMaxGamma) { 224 gamma = kInverseGamma; 225 png_set_gAMA(png_ptr, info_ptr, gamma); [all...] |
/external/opencv/cvaux/include/ |
cvmat.hpp | 723 /* A*alpha + B*beta + gamma */ 727 const CvMAT* b, double beta, double gamma = 0 ); 730 double alpha, beta, gamma; [all...] |
/external/ImageMagick/coders/ |
bmp.c | 713 gamma; 734 gamma=bmp_info.red_primary.x+bmp_info.red_primary.y+ 736 gamma=PerceptibleReciprocal(gamma); 737 bmp_info.red_primary.x*=gamma; 738 bmp_info.red_primary.y*=gamma; 742 gamma=bmp_info.green_primary.x+bmp_info.green_primary.y+ 744 gamma=PerceptibleReciprocal(gamma); 745 bmp_info.green_primary.x*=gamma; 705 gamma; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
sample_service_unittest.cc | 22 static_cast<int32_t>(bar->gamma); 44 bar->gamma = 60; 54 bar->gamma = base + 40; 124 EXPECT_EQ(60, foo.bar->gamma); 133 EXPECT_EQ(base + 40, (*foo.extra_bars)[i]->gamma) << i; 197 Print(depth, "gamma", bar->gamma);
|
/external/skia/src/core/ |
SkColorSpace.cpp | 141 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50) { 142 switch (gamma) { 184 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, Gamut gamut) { 187 return SkColorSpace::MakeRGB(gamma, toXYZD50); 196 static SkColorSpace* singleton_colorspace(SkGammaNamed gamma, const float to_xyz[9]) { 200 return new SkColorSpace_XYZ(gamma, m44); 356 // If we have a named gamma, write the enum and the matrix.
|
/external/skqp/src/core/ |
SkColorSpace.cpp | 141 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50) { 142 switch (gamma) { 184 sk_sp<SkColorSpace> SkColorSpace::MakeRGB(RenderTargetGamma gamma, Gamut gamut) { 187 return SkColorSpace::MakeRGB(gamma, toXYZD50); 196 static SkColorSpace* singleton_colorspace(SkGammaNamed gamma, const float to_xyz[9]) { 200 return new SkColorSpace_XYZ(gamma, m44); 356 // If we have a named gamma, write the enum and the matrix.
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
relaxed_onehot_categorical_test.py | 22 from scipy.special import gamma 64 expected_pdf = (gamma(k) * np.power(temperature, k-1) * 112 term1 = gamma(k)*np.power(temperature, k-1)
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
fold_old_batch_norms.cc | 75 Tensor gamma = GetNodeTensorAttr(gamma_node, "value"); local 82 TF_RETURN_IF_ERROR(ErrorIfNotVector(gamma, "gamma", num_cols)); 92 gamma.flat<float>()(i);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
FadeTest.java | 298 * The prime symbols dictate a gamma correction of 1. 301 final double gamma = 1; local 303 l += (0.21f * Math.pow(Color.red(pixel) / 255f, gamma)); 304 l += (0.72f * Math.pow(Color.green(pixel) / 255f, gamma)); 305 l += (0.07f * Math.pow(Color.blue(pixel) / 255f, gamma));
|
/external/libxaac/decoder/drc_src/ |
impd_drc_filter_bank.h | 40 FLOAT32 gamma; member in struct:__anon26364
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
swapchain9.h | 71 D3DGAMMARAMP gamma; member in struct:NineSwapChain9
|
/external/skia/tools/flags/ |
SkCommonFlagsConfig.cpp | 309 SkColorSpace::RenderTargetGamma gamma = linearGamma ? SkColorSpace::kLinear_RenderTargetGamma local 311 *outColorSpace = SkColorSpace::MakeRGB(gamma, gamut); 325 *outColorSpace = SkColorSpace::MakeRGB(gamma, wideGamutRGBMatrix); 336 *outColorSpace = SkColorSpace::MakeRGB(gamma, narrowGamutRGBMatrix);
|