/external/tensorflow/tensorflow/core/kernels/ |
H A D | smooth-hinge-loss.h | 45 (label - wx - gamma * current_dual) / 46 (num_partitions * example_weight * weighted_example_norm + gamma); 64 return (-y_alpha + 0.5 * gamma * current_dual * current_dual) * 72 if (y_wx <= 1 - gamma) return (1 - y_wx - gamma / 2) * example_weight; 73 return (1 - y_wx) * (1 - y_wx) * example_weight * 0.5 / gamma; 97 if (label * wx <= 1 - gamma) { 100 return (wx - label) / gamma; 103 double SmoothnessConstant() const final { return gamma; } 108 const double gamma member in class:tensorflow::SmoothHingeLossUpdater [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
H A D | MultiDirectional.java | 40 private final double gamma; field in class:MultiDirectional 43 * <p>The default values are 2.0 for khi and 0.5 for gamma.</p> 47 this.gamma = 0.5; 52 * @param gamma contraction coefficient 54 public MultiDirectional(final double khi, final double gamma) { argument 56 this.gamma = gamma; 90 final RealPointValuePair contracted = evaluateNewSimplex(original, gamma, comparator);
|
H A D | NelderMead.java | 42 private final double gamma; field in class:NelderMead 49 * for both gamma and sigma.</p> 54 this.gamma = 0.5; 61 * @param gamma contraction coefficient 65 final double gamma, final double sigma) { 68 this.gamma = gamma; 139 xC[j] = centroid[j] + gamma * (xR[j] - centroid[j]); 154 xC[j] = centroid[j] - gamma * (centroid[j] - xWorst[j]); 64 NelderMead(final double rho, final double khi, final double gamma, final double sigma) argument
|
/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_sugar.cpp | 44 const float gamma = 0.14f; local 46 Tensor<float, 3> R = A.constant(gamma) + A * A.constant(alpha) + B * B.constant(beta); 47 Tensor<float, 3> S = A * alpha + B * beta + gamma; 48 Tensor<float, 3> T = gamma + alpha * A + beta * B; 64 const float gamma = 0.14f; local 67 Tensor<float, 3> R = A.constant(gamma) - A / A.constant(alpha) 69 Tensor<float, 3> S = gamma - A / alpha - beta / B - delta;
|
/external/skia/tests/ |
H A D | ParametricStageTest.cpp | 44 static void check_error(skiatest::Reporter* r, float limit, float gamma) { argument 46 fn.fG = gamma;
|
/external/skqp/tests/ |
H A D | ParametricStageTest.cpp | 44 static void check_error(skiatest::Reporter* r, float limit, float gamma) { argument 46 fn.fG = gamma;
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
H A D | chi2.py | 25 from tensorflow.python.ops.distributions import gamma namespace 34 class Chi2(gamma.Gamma): 53 * `Gamma` is the [gamma function]( 86 # not true in the parent class "gamma." therefore, passing
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
H A D | polochallengeresponsetest.cc | 112 const Gamma* gamma = response->GetGamma(nonce); local 113 ASSERT_TRUE(gamma); 116 util::PoloUtil::BytesToHexString(&(*gamma)[0], gamma->size())); 117 delete gamma; 121 const Gamma* gamma = response->GetGamma(nonce); local 122 ASSERT_TRUE(gamma); 124 util::PoloUtil::BytesToHexString(&(*gamma)[0], gamma->size())); 126 const Nonce* extracted = response->ExtractNonce(*gamma); [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
H A D | PairingListener.java | 56 void onPerformOutputDeviceRole(PairingSession session, byte[] gamma) argument
|
H A D | PoloChallengeResponse.java | 141 * Returns the gamma value to be used in pairing, i.e. the concatenation 161 * Extracts and returns the nonce portion of a given gamma value. 163 public byte[] extractNonce(byte[] gamma) { argument 164 if ((gamma.length < 2) || (gamma.length % 2 != 0)) { 167 int nonceLength = gamma.length / 2; 169 System.arraycopy(gamma, nonceLength, nonce, 0, nonceLength); 174 * Returns {@code true} if the gamma value matches the locally computed value. 177 * gamma value. 181 public boolean checkGamma(byte[] gamma) throw argument [all...] |
/external/skia/bench/ |
H A D | ColorCodecBench.cpp | 69 SkColorSpaceTransferFn gamma; local 70 gamma.fA = 1.0f; 71 gamma.fB = gamma.fC = gamma.fD = gamma.fE = gamma.fF = 0.0f; 72 gamma.fG = 4.0f; 75 fDstSpace = SkColorSpace::MakeRGB(gamma, matrix);
|
H A D | SkRasterPipelineBench.cpp | 107 static SkColorSpaceTransferFn gamma(float g) { function 127 SkColorSpaceTransferFn from_2dot2 = gamma( 2.2f), 128 to_2dot2 = gamma(1/2.2f); 140 p.append(SkRasterPipeline::gamma, &from_2dot2.fG); 141 p.append(SkRasterPipeline::gamma, & to_2dot2.fG);
|
/external/skqp/bench/ |
H A D | ColorCodecBench.cpp | 69 SkColorSpaceTransferFn gamma; local 70 gamma.fA = 1.0f; 71 gamma.fB = gamma.fC = gamma.fD = gamma.fE = gamma.fF = 0.0f; 72 gamma.fG = 4.0f; 75 fDstSpace = SkColorSpace::MakeRGB(gamma, matrix);
|
H A D | SkRasterPipelineBench.cpp | 107 static SkColorSpaceTransferFn gamma(float g) { function 127 SkColorSpaceTransferFn from_2dot2 = gamma( 2.2f), 128 to_2dot2 = gamma(1/2.2f); 140 p.append(SkRasterPipeline::gamma, &from_2dot2.fG); 141 p.append(SkRasterPipeline::gamma, & to_2dot2.fG);
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
H A D | exponential.py | 29 from tensorflow.python.ops.distributions import gamma namespace 40 class Exponential(gamma.Gamma):
|
/external/ImageMagick/MagickCore/ |
H A D | composite-private.h | 57 gamma, local 68 gamma=Sa+Da-Sa*Da; 69 gamma=PerceptibleReciprocal(gamma); 86 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->red,alpha, 92 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->green,alpha, 98 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->blue,alpha, 104 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->black,alpha, 127 gamma, local 135 gamma 150 gamma, local [all...] |
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
H A D | polochallengeresponse.cc | 102 Gamma* gamma = new Gamma(nonce.size() * 2); local 105 memcpy(&(*gamma)[0], &(*alpha)[0], nonce.size()); 106 memcpy(&(*gamma)[nonce.size()], &nonce[0], nonce.size()); 110 return gamma; 113 Nonce* PoloChallengeResponse::ExtractNonce(const Gamma& gamma) const { 114 if ((gamma.size() < 2) || (gamma.size() % 2 != 0)) { 118 Nonce* nonce = new Nonce(gamma.size() / 2); 119 memcpy(&(*nonce)[0], &gamma[nonce->size()], nonce->size()); 124 bool PoloChallengeResponse::CheckGamma(const Gamma& gamma) cons [all...] |
/external/libpng/contrib/gregbook/ |
H A D | readpng.c | 210 double gamma; local 252 * this file may have come from--so if it doesn't have a file gamma, don't 255 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) 256 png_set_gamma(png_ptr, display_exponent, gamma);
|
H A D | readpng2.c | 223 double gamma; local 225 png_fixed_point gamma; local 336 * such images have a file gamma of 0.45455, which corresponds to a PC-like 342 * "gamma" value for the entire display system, i.e., the product of 346 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) 347 png_set_gamma(png_ptr, mainprog_ptr->display_exponent, gamma); 351 if (png_get_gAMA_fixed(png_ptr, info_ptr, &gamma)) 353 (png_fixed_point)(100000*mainprog_ptr->display_exponent+.5), gamma);
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
H A D | swapchain9.h | 71 D3DGAMMARAMP gamma; member in struct:NineSwapChain9
|
/external/skia/src/core/ |
H A D | SkColorSpace_New.cpp | 46 explicit GammaTransferFn(float gamma) : fGamma(gamma), fInv(1.0f/gamma) {} argument 56 p->append(SkRasterPipeline::gamma, &fGamma); 59 p->append(SkRasterPipeline::gamma, &fInv); 71 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeGamma(float gamma) { argument 72 if (gamma == 1) { 75 return sk_make_sp<GammaTransferFn>(gamma);
|
/external/skqp/src/core/ |
H A D | SkColorSpace_New.cpp | 46 explicit GammaTransferFn(float gamma) : fGamma(gamma), fInv(1.0f/gamma) {} argument 56 p->append(SkRasterPipeline::gamma, &fGamma); 59 p->append(SkRasterPipeline::gamma, &fInv); 71 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeGamma(float gamma) { argument 72 if (gamma == 1) { 75 return sk_make_sp<GammaTransferFn>(gamma);
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
H A D | relaxed_onehot_categorical_test.py | 22 from scipy.special import gamma namespace 64 expected_pdf = (gamma(k) * np.power(temperature, k-1) * 112 term1 = gamma(k)*np.power(temperature, k-1)
|
/external/ImageMagick/coders/ |
H A D | pango.c | 431 gamma; 440 gamma=QuantumScale*fill_color.alpha; 441 gamma=PerceptibleReciprocal(gamma); 442 fill_color.blue*=gamma; 443 fill_color.green*=gamma; 444 fill_color.red*=gamma; 429 gamma; local
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
H A D | ChiSquaredDistributionImpl.java | 42 private GammaDistribution gamma; field in class:ChiSquaredDistributionImpl 58 * @param g the underlying gamma distribution used to compute probabilities. 81 gamma = new GammaDistributionImpl(df / 2.0, 2.0); 100 gamma.setAlpha(degreesOfFreedom / 2.0); 108 return gamma.getAlpha() * 2.0; 132 return gamma.density(x); 143 return gamma.cumulativeProbability(x); 182 return Double.MIN_VALUE * gamma.getBeta(); 239 * Modify the underlying gamma distribution. The caller is responsible for 240 * insuring the gamma distributio [all...] |