/external/tensorflow/tensorflow/contrib/metrics/python/metrics/ |
classification.py | 29 def accuracy(predictions, labels, weights=None, name=None): function 37 weights: None or `Tensor` of float values to reweight the accuracy. 41 Accuracy `Tensor`. 56 with ops.name_scope(name, 'accuracy', values=[predictions, labels]):
|
/frameworks/base/core/java/android/hardware/ |
SensorEvent.java | 21 * holds information such as the sensor's type, the time-stamp, accuracy and of 295 * <li> values[4]: estimated heading Accuracy (in radians) (-1 if unavailable)</li> 455 * the estimated heading accuracy value. 642 * The accuracy of this event. See {@link android.hardware.SensorManager 645 public int accuracy; field in class:SensorEvent
|
LegacySensorManager.java | 249 public void onAccuracyChanged(Sensor sensor, int accuracy) { 251 mTarget.onAccuracyChanged(getLegacySensorType(sensor.getType()), accuracy); local
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
TestSensorEvent.java | 33 public final int accuracy; field in class:TestSensorEvent 57 accuracy = event.accuracy; 65 public TestSensorEvent(Sensor sensor, long timestamp, int accuracy, float[] values) { 66 this(sensor, timestamp, timestamp, accuracy, values); 72 public TestSensorEvent(Sensor sensor, long timestamp, long receivedTimestamp, int accuracy, 77 this.accuracy = accuracy; 84 "Timestamp=%sns, ReceivedTimestamp=%sns, Accuracy=%s, Values=%s", 87 this.accuracy, [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCriteria.java | 10 private int accuracy = Criteria.NO_REQUIREMENT; field in class:ShadowCriteria 18 accuracy = criteria.getAccuracy(); 24 return accuracy; 28 public void setAccuracy(int accuracy) { 29 this.accuracy = accuracy; 49 if (criteria.getAccuracy() == accuracy && criteria.getPowerRequirement() == powerRequirement) {
|
ShadowLocationManager.java | 135 * NB: Gps is considered the best provider for fine accuracy and high power consumption, network is considered the 136 * best provider for coarse accuracy and low power consumption. 157 int accuracy = criteria.getAccuracy(); local 170 } else if (criteriaListItem.getAccuracy() == accuracy) { 179 if (provider.equals(LocationManager.NETWORK_PROVIDER) && (accuracy == Criteria.ACCURACY_COARSE || powerRequirement == Criteria.POWER_LOW)) { 181 } else if (provider.equals(LocationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Criteria.POWER_LOW) {
|
ShadowLocation.java | 22 private float accuracy; field in class:ShadowLocation 59 accuracy = l.getAccuracy(); 92 return accuracy; 96 public void setAccuracy(float accuracy) { 97 this.accuracy = accuracy; 103 this.accuracy = 0.0f; 213 if (accuracy != that.accuracy) return false; 227 temp = accuracy != 0f ? Float.floatToIntBits(accuracy) : 0 [all...] |
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
see_helper_internal.h | 37 uint8_t accuracy; member in struct:chre::SeeCalData
|
/system/chre/ash/include/ash_api/ |
ash.h | 43 * This sensor is reporting data with low accuracy, calibration with the 49 * This sensor is reporting data with an average level of accuracy, calibration 55 * This sensor is reporting data with maximum accuracy. 83 * https://developer.android.com/reference/android/hardware/SensorEvent.html#accuracy 85 * Note that this accuracy field is simply a suggestion to the platform and 88 uint8_t accuracy; member in struct:ashCalInfo
|
/external/skia/src/core/ |
SkAnalyticEdge.h | 46 static const int kDefaultAccuracy = 2; // default accuracy for snapping 49 const int accuracy = kDefaultAccuracy; local 51 return ((unsigned)y + (SK_Fixed1 >> (accuracy + 1))) >> (16 - accuracy) << (16 - accuracy); 141 const int accuracy = kDefaultAccuracy; 143 SkFixed x0 = SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fX, accuracy)) >> accuracy; 144 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fY, accuracy)) >> accuracy); [all...] |
/external/skqp/src/core/ |
SkAnalyticEdge.h | 46 static const int kDefaultAccuracy = 2; // default accuracy for snapping 49 const int accuracy = kDefaultAccuracy; local 51 return ((unsigned)y + (SK_Fixed1 >> (accuracy + 1))) >> (16 - accuracy) << (16 - accuracy); 141 const int accuracy = kDefaultAccuracy; 143 SkFixed x0 = SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fX, accuracy)) >> accuracy; 144 SkFixed y0 = SnapY(SkFDot6ToFixed(SkScalarRoundToFDot6(p0.fY, accuracy)) >> accuracy); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
LoessInterpolator.java | 54 * Default value for accuracy. 85 private final double accuracy; field in class:LoessInterpolator 91 * and an accuracy of {#link #DEFAULT_ACCURACY}. 98 this.accuracy = DEFAULT_ACCURACY; 130 * with given bandwidth, number of robustness iterations and accuracy. 142 * @param accuracy If the median residual at a certain robustness iteration 149 public LoessInterpolator(double bandwidth, int robustnessIters, double accuracy) throws MathException { 159 this.accuracy = accuracy; 301 if (FastMath.sqrt(FastMath.abs(meanXSquared - meanX * meanX)) < accuracy) { [all...] |
/external/tensorflow/tensorflow/python/ops/ |
metrics_impl.py | 347 @tf_export('metrics.accuracy') 348 def accuracy(labels, function 356 The `accuracy` function creates two local variables, `total` and 358 matches `labels`. This frequency is ultimately returned as `accuracy`: an 362 `update_op` operation that updates these variables and returns the `accuracy`. 378 metrics_collections: An optional list of collections that `accuracy` should 385 accuracy: A `Tensor` representing the accuracy, the value of `total` divided 388 appropriately and whose value matches `accuracy`. 398 raise RuntimeError('tf.metrics.accuracy is not supported when eager [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
LocationFudger.java | 42 * Default coarse accuracy in meters. 47 * Minimum coarse accuracy in meters. 52 * Secure settings key for coarse accuracy. 107 * Used to monitor coarse accuracy secure setting for changes. 112 * Used to resolve coarse accuracy setting. 122 * Best location accuracy allowed for coarse applications. 153 float accuracy = loadCoarseAccuracy(); local 155 setAccuracyInMetersLocked(accuracy); 343 * This is the main control: call this to set the best location accuracy 349 Log.d(TAG, "setAccuracyInMetersLocked: new accuracy = " + mAccuracyInMeters) [all...] |
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
ActivityControlHelper.java | 245 long accuracy = 2 * Math.max(dp.widthPx, dp.heightPx); local 248 .createAnimationToNewWorkspace(endState, accuracy));
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerEntry.java | 42 static final String ACCURACY = "Accuracy"; 58 ID_COL, TIMESTAMP, TAG, ENTRY_TYPE, ACCURACY, LATITUDE, LONGITUDE, 178 cValues.put(ACCURACY, mLocation.getAccuracy()); 221 Float accuracy = getNullableFloat(cursor, ACCURACY); local 222 if (accuracy != null) { 223 location.setAccuracy(accuracy);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 45 int accuracy_mag; /**< Compass accuracy */
46 //int accuracy_gyro; /**< Gyro Accuracy */
47 //int accuracy_accel; /**< Accel Accuracy */
48 int accuracy_quat; /**< quat Accuracy */
69 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
74 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
82 inv_get_accel_set(accel, accuracy, timestamp);
98 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate. 537 int8_t accuracy; local [all...] |
data_builder.h | 99 int accuracy; member in struct:inv_single_sensor_t 252 void inv_set_compass_bias(const long *bias, int accuracy); 255 void inv_set_mpl_gyro_bias(const long *bias, int accuracy); 257 void inv_set_mpl_accel_bias(const long *bias, int accuracy); 258 void inv_set_accel_accuracy(int accuracy); 259 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask); 291 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 292 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 293 void inv_get_gyro_set_raw(long *data, int8_t *accuracy, inv_time_t * timestamp); 294 void inv_get_compass_set(long *data, int8_t *accuracy, inv_time_t * timestamp) [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.h | 101 int accuracy; member in struct:inv_single_sensor_t 255 void inv_set_compass_bias(const long *bias, int accuracy); 258 void inv_set_mpl_gyro_bias(const long *bias, int accuracy); 260 void inv_set_mpl_accel_bias(const long *bias, int accuracy); 261 void inv_set_accel_accuracy(int accuracy); 262 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask); 295 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 296 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 297 void inv_get_gyro_set_raw(long *data, int8_t *accuracy, inv_time_t * timestamp); 298 void inv_get_compass_set(long *data, int8_t *accuracy, inv_time_t * timestamp) [all...] |
hal_outputs.c | 45 int accuracy_mag; /**< Compass accuracy */ 46 //int accuracy_gyro; /**< Gyro Accuracy */ 47 //int accuracy_accel; /**< Accel Accuracy */ 48 int accuracy_quat; /**< quat Accuracy */ 117 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate. 122 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, 130 inv_get_accel_set(accel, accuracy, timestamp); 146 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate 581 int8_t accuracy; local [all...] |
/system/chre/chre_api/include/chre_api/chre/ |
gnss.h | 341 //! Expected horizontal accuracy in meters such that a circle with a radius 342 //! of length 'accuracy' from the latitude and longitude has a 68% 344 //! accuracy. 345 float accuracy; member in struct:chreGnssLocationEvent
|
/system/chre/chre_api/legacy/v1_1/chre/ |
gnss.h | 334 //! Expected horizontal accuracy in meters such that a circle with a radius 335 //! of length 'accuracy' from the latitude and longitude has a 68% 337 //! accuracy. 338 float accuracy; member in struct:chreGnssLocationEvent
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowLocationManager.java | 174 int accuracy = criteria.getAccuracy(); local 187 } else if (criteriaListItem.getAccuracy() == accuracy) { 196 if (provider.equals(LocationManager.NETWORK_PROVIDER) && (accuracy == Criteria.ACCURACY_COARSE || powerRequirement == Criteria.POWER_LOW)) { 198 } else if (provider.equals(LocationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Criteria.POWER_LOW) {
|
/hardware/libhardware/include/hardware/ |
fused_location.h | 133 /** FlpLocation has valid accuracy. */ 164 /** Represents expected accuracy in meters. */ 165 float accuracy; member in struct:__anon48130 408 * expected accuracy is measured in meters 541 * In the diagram above, "a" and "b" are 2 geofences and "c" is the accuracy 544 * whether it is inside or outside the geofence. If the accuracy remains the 546 * triggered with the state set to Unknown. If the accuracy improves later, an
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsService.java | 200 public int accuracy; field in class:ItsService.MySensorEvent [all...] |