Searched refs:weight (Results 1 - 25 of 619) sorted by relevance

1234567891011>>

/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
H A DWeightedObservedPoint.java34 private final double weight; field in class:WeightedObservedPoint
43 * @param weight weight of the measurement in the fitting process
47 public WeightedObservedPoint(final double weight, final double x, final double y) { argument
48 this.weight = weight;
53 /** Get the weight of the measurement in the fitting process.
54 * @return weight of the measurement in the fitting process
57 return weight;
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
H A DWeightedMeasurement.java59 /** Measurement weight. */
60 private final double weight; field in class:WeightedMeasurement
72 * @param weight weight of the measurement in the least squares problem
79 public WeightedMeasurement(double weight, double measuredValue) { argument
80 this.weight = weight;
89 * @param weight weight of the measurement in the least squares problem
93 public WeightedMeasurement(double weight, doubl argument
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
H A DPreFillType.java15 private final int weight; field in class:PreFillType
26 * @param weight An integer indicating how to balance pre-filling this size and configuration of
29 PreFillType(int width, int height, Bitmap.Config config, int weight) { argument
37 this.weight = weight;
62 * Returns the weight of the {@link android.graphics.Bitmap Bitmaps} of this type.
65 return weight;
74 && weight == other.weight
85 result = 31 * result + weight;
107 private int weight = 1; field in class:PreFillType.Builder
157 setWeight(int weight) argument
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
H A DMeasurement.java50 private double weight; field in class:Measurement
55 this.weight = 0.0;
62 this.weight = builder.weight;
71 && this.weight == that.weight
79 return Objects.hashCode(value, weight, description);
85 .add("weight", weight)
94 public double weight() { method in class:Measurement
104 private Double weight; field in class:Measurement.Builder
112 weight(double weight) argument
[all...]
/external/webrtc/webrtc/modules/audio_processing/vad/
H A Dgmm.h23 // weight[n] = log(w[n]) - |dimension|/2 * log(2*pi) - 1/2 * log(det(cov[n]));
25 const double* weight; member in struct:webrtc::GmmParameters
/external/clang/www/demo/
H A Dsyntax.css4 .llvm_keyword { font-weight: bold; color: blue }
/external/libnl/doc/stylesheets/
H A Dpygments.css8 .highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */
13 .highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
17 .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
20 .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
21 .highlight .gs { font-weight: bold } /* Generic.Strong */
22 .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
24 .highlight .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
25 .highlight .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
26 .highlight .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
28 .highlight .kr { color: #AA22FF; font-weight
[all...]
/external/jmdns/src/javax/jmdns/
H A DServiceInfo.java111 * @param weight
112 * weight of the service
119 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final String text) { argument
120 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text);
134 * @param weight
135 * weight of the service
142 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final String text) { argument
143 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, text);
155 * @param weight
156 * weight o
163 create(final String type, final String name, final int port, final int weight, final int priority, final Map<String, ?> props) argument
186 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final Map<String, ?> props) argument
207 create(final String type, final String name, final int port, final int weight, final int priority, final byte[] text) argument
230 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final byte[] text) argument
253 create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final String text) argument
278 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final String text) argument
301 create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) argument
326 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) argument
349 create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final byte[] text) argument
374 create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final byte[] text) argument
395 create(final Map<Fields, String> qualifiedNameMap, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationWeights.java79 * @param lowerLimit A collation element weight; the ranges will be filled to cover
81 * @param upperLimit A collation element weight; the ranges will be filled to cover
138 * @return The next weight in the ranges, or 0xffffffff if there is none left.
144 /* get the next weight */
146 long weight = range.start;
151 /* increment the weight for the next value */
152 range.start = incWeight(weight, range.length);
156 return weight;
181 public static int lengthOfWeight(long weight) { argument
182 if((weight
193 getWeightTrail(long weight, int length) argument
197 setWeightTrail(long weight, int length, int trail) argument
202 getWeightByte(long weight, int idx) argument
206 setWeightByte(long weight, int idx, int b) argument
229 truncateWeight(long weight, int length) argument
233 incWeightTrail(long weight, int length) argument
237 decWeightTrail(long weight, int length) argument
246 incWeight(long weight, int length) argument
260 incWeightByOffset(long weight, int length, int offset) argument
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationWeights.java77 * @param lowerLimit A collation element weight; the ranges will be filled to cover
79 * @param upperLimit A collation element weight; the ranges will be filled to cover
136 * @return The next weight in the ranges, or 0xffffffff if there is none left.
142 /* get the next weight */
144 long weight = range.start;
149 /* increment the weight for the next value */
150 range.start = incWeight(weight, range.length);
154 return weight;
179 public static int lengthOfWeight(long weight) { argument
180 if((weight
191 getWeightTrail(long weight, int length) argument
195 setWeightTrail(long weight, int length, int trail) argument
200 getWeightByte(long weight, int idx) argument
204 setWeightByte(long weight, int idx, int b) argument
227 truncateWeight(long weight, int length) argument
231 incWeightTrail(long weight, int length) argument
235 decWeightTrail(long weight, int length) argument
244 incWeight(long weight, int length) argument
258 incWeightByOffset(long weight, int length, int offset) argument
[all...]
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
H A Dweighted_quantiles_buffer.h37 : value(std::move(v)), weight(std::move(w)) {}
38 BufferEntry() : value(), weight(0) {}
44 return value == other.value && weight == other.weight;
48 return strm << "{" << entry.value << ", " << entry.weight << "}";
51 WeightType weight; member in struct:tensorflow::boosted_trees::quantiles::WeightedQuantilesBuffer::BufferEntry
70 void PushEntry(ValueType value, WeightType weight) { argument
75 // Ignore zero and negative weight entries.
76 if (weight <= 0) {
81 vec_.push_back(BufferEntry(std::move(value), std::move(weight)));
[all...]
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/core/ops/
H A Dutils.h27 float LeftProbability(const Tensor& point, const Tensor& weight, float bias,
31 const Tensor& weight, float bias, int num_features,
/external/icu/icu4c/source/i18n/
H A Dcollationweights.h38 static inline int32_t lengthOfWeight(uint32_t weight) { argument
39 if((weight&0xffffff)==0) {
41 } else if((weight&0xffff)==0) {
43 } else if((weight&0xff)==0) {
59 * @param lowerLimit A collation element weight; the ranges will be filled to cover
61 * @param upperLimit A collation element weight; the ranges will be filled to cover
74 * @return The next weight in the ranges, or 0xffffffff if there is none left.
90 uint32_t incWeight(uint32_t weight, int32_t length) const;
91 uint32_t incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const;
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dframe_pair.cc105 // has a weight of 1, and everything outside of that is within the range
190 float weight; member in struct:tf_tracking::WeightedDelta
194 // Sort by delta, not by weight.
211 if (weighted_deltas[i].weight > 0.0f) {
212 current_weight += weighted_deltas[i].weight;
236 const float weight = weights[i]; local
237 weighted_deltas[i].weight = weight;
238 if (weight > 0.0f) {
239 total_weight += weight;
253 const float weight = weights[i]; local
282 const float weight = weights[i]; local
292 const float weight = weights[i]; local
[all...]
/external/autotest/client/profilers/powertop/src/
H A Dsuggestions.c46 int weight; member in struct:suggestion
80 void add_suggestion(char *text, int weight, char key, char *keystring, suggestion_func *func) argument
92 new->weight = weight;
99 total_weight += weight;
106 int weight; local
118 weight = total_weight;
120 weight+=50;
121 value = rand() % weight;
124 running += ptr->weight;
[all...]
/external/tensorflow/tensorflow/contrib/lite/kernels/
H A Dlsh_projection.cc39 // weight of 1.0 Tensor[1].Dim[0] == Tensor[2].Dim[0]
89 TfLiteTensor* weight = GetInput(context, node, 2); local
90 TF_LITE_ENSURE_EQ(context, NumDimensions(weight), 1);
91 TF_LITE_ENSURE_EQ(context, SizeOfDimension(weight, 0),
110 // Compute sign bit of dot product of hash(seed, input) and weight.
115 int RunningSignBit(const TfLiteTensor* input, const TfLiteTensor* weight, argument
133 if (weight == nullptr) {
136 score += weight->data.f[i] * running_value;
144 const TfLiteTensor* weight, int32_t* out_buf) {
151 int bit = RunningSignBit(input, weight, see
143 SparseLshProjection(const TfLiteTensor* hash, const TfLiteTensor* input, const TfLiteTensor* weight, int32_t* out_buf) argument
158 DenseLshProjection(const TfLiteTensor* hash, const TfLiteTensor* input, const TfLiteTensor* weight, int32_t* out_buf) argument
178 TfLiteTensor* weight = local
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DLocalePriorityList.java53 * weight, and then by input order. That is, if two languages have the same weight, the first one in the original order
81 * Add a language code to the list being built, with weight 1.0.
91 * Add a language code to the list being built, with specified weight.
94 * @param weight value from 0.0 to 1.0
97 public static Builder add(ULocale languageCode, final double weight) { argument
98 return new Builder().add(languageCode, weight);
123 * Return the weight for a given language, or null if there is none. Note that
126 * @param language to get weight of
127 * @return weight
297 add(final ULocale languageCode, double weight) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DLocalePriorityList.java52 * weight, and then by input order. That is, if two languages have the same weight, the first one in the original order
80 * Add a language code to the list being built, with weight 1.0.
91 * Add a language code to the list being built, with specified weight.
94 * @param weight value from 0.0 to 1.0
98 public static Builder add(ULocale languageCode, final double weight) { argument
99 return new Builder().add(languageCode, weight);
126 * Return the weight for a given language, or null if there is none. Note that
129 * @param language to get weight of
130 * @return weight
312 add(final ULocale languageCode, double weight) argument
[all...]
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
H A Dstat_utils.cc44 void UpdateGini(LeafStat* stats, float old_val, float weight) { argument
45 stats->set_weight_sum(stats->weight_sum() + weight);
47 // (for new_val = old_val + weight), but more numerically stable.
49 stats->classification().gini().square() + weight * weight +
50 2 * old_val * weight);
/external/selinux/python/sepolgen/tests/
H A Dtest_objectmodel.py33 self.assertEqual(pm.weight, 1)
40 self.assertEqual(pm.weight, 5)
45 self.assertEqual(pm.weight, 5)
/external/tensorflow/tensorflow/core/lib/random/
H A Dweighted_picker.h17 // weight per element.
19 // The weight for a given element can be changed in O(lg N) time
24 // Alternative: distribution-sampler.h allows O(1) time picking, but no weight
44 // Initializes the elements with a weight of one per element
50 // Pick a random element with probability proportional to its weight.
51 // If total weight is zero, returns -1.
54 // Deterministically pick element x whose weight covers the
59 // Get the weight associated with an element
63 // Set the weight associated with an element
64 // REQUIRES weight >
[all...]
/external/pdfium/core/fxge/apple/
H A Dfx_mac_imp.cpp44 void* MapFont(int weight,
54 void GetJapanesePreference(ByteString* face, int weight, int pitch_family) { argument
59 *face = (FontFamilyIsRoman(pitch_family) || weight <= 400) ? JAPAN_MINCHO
63 void* CFX_MacFontInfo::MapFont(int weight, argument
85 if (weight > 400)
106 GetJapanesePreference(&face, weight, pitch_family);
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
H A Dprettify.css4 .kwd { color: #7F0055; font-weight:bold; }
/external/skia/src/core/
H A DSkFontMgr.cpp204 * If pattern.weight < 400, weights below pattern.weight are checked
205 * in descending order followed by weights above pattern.weight
207 * If pattern.weight > 500, weights above pattern.weight are checked
208 * in ascending order followed by weights below pattern.weight
210 * If pattern.weight is 400, 500 is checked first
211 * and then the rule for pattern.weight < 400 is used.
212 * If pattern.weight is 500, 400 is checked first
213 * and then the rule for pattern.weight < 40
[all...]
/external/skqp/src/core/
H A DSkFontMgr.cpp204 * If pattern.weight < 400, weights below pattern.weight are checked
205 * in descending order followed by weights above pattern.weight
207 * If pattern.weight > 500, weights above pattern.weight are checked
208 * in ascending order followed by weights below pattern.weight
210 * If pattern.weight is 400, 500 is checked first
211 * and then the rule for pattern.weight < 400 is used.
212 * If pattern.weight is 500, 400 is checked first
213 * and then the rule for pattern.weight < 40
[all...]

Completed in 3646 milliseconds

1234567891011>>