/aosp_15_r20/frameworks/base/location/java/android/location/ |
H A D | Criteria.java | 31 * ordered according to accuracy, power usage, ability to report altitude, speed, bearing, and 82 * A constant indicating a finer location accuracy requirement 87 * A constant indicating an approximate accuracy requirement 92 * A constant indicating a low location accuracy requirement 93 * - may be used for horizontal, altitude, speed or bearing accuracy. 95 * an accuracy of greater than 500 meters. 100 * A constant indicating a medium accuracy requirement 101 * - currently used only for horizontal accuracy. 102 * For horizontal position this corresponds roughly to to an accuracy 108 * a constant indicating a high accuracy requirement [all …]
|
/aosp_15_r20/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 97 // copy in the saved accuracy in the actual sensors accuracy in inv_db_load_func() 98 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; in inv_db_load_func() 99 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; in inv_db_load_func() 100 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy; in inv_db_load_func() 102 if (sensors.accel.accuracy == 3) { in inv_db_load_func() 105 if (sensors.compass.accuracy == 3) { in inv_db_load_func() 519 * @param[in] accuracy Accuracy of compass data, where 3=most accurate, and 0=least accurate. 521 void inv_set_compass_bias(const long *bias, int accuracy) in inv_set_compass_bias() argument 527 sensors.compass.accuracy = accuracy; in inv_set_compass_bias() 528 inv_data_builder.save.compass_accuracy = accuracy; in inv_set_compass_bias() [all …]
|
H A D | 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, in inv_get_sensor_type_accelerometer() argument 82 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_accelerometer() 98 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate. 103 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument 109 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_linear_acceleration() [all …]
|
H A D | hal_outputs.h | 16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy, 18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, 20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, 22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, 24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, 26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, 28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, 32 int8_t *accuracy, 34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy, 37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy, [all …]
|
/aosp_15_r20/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | 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, in inv_get_sensor_type_accelerometer() argument 130 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_accelerometer() 146 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate. 151 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument 157 inv_get_accel_set(accel, accuracy, ×tamp1); in inv_get_sensor_type_linear_acceleration() [all …]
|
H A D | data_builder.c | 98 // copy in the saved accuracy in the actual sensors accuracy in inv_db_load_func() 99 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; in inv_db_load_func() 100 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; in inv_db_load_func() 101 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy; in inv_db_load_func() 103 if (sensors.accel.accuracy == 3) { in inv_db_load_func() 106 if (sensors.compass.accuracy == 3) { in inv_db_load_func() 724 * @param[in] accuracy Accuracy of compass data, where 3=most accurate, and 0=least accurate. 726 void inv_set_compass_bias(const long *bias, int accuracy) in inv_set_compass_bias() argument 732 sensors.compass.accuracy = accuracy; in inv_set_compass_bias() 733 inv_data_builder.save.compass_accuracy = accuracy; in inv_set_compass_bias() [all …]
|
H A D | hal_outputs.h | 16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy, 18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, 20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, 22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, 24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, 26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, 28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, 32 int8_t *accuracy, 34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy, 37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy, [all …]
|
/aosp_15_r20/external/pytorch/torch/_dynamo/repro/ |
H A D | after_aot.py | 106 # recursively attempt to accuracy minify in that case! 108 # This is a bit obscure: if we recursively try to accuracy minify 141 "Accuracy minification is supported for inductor only" 153 "Accuracy failed for the AOT Autograd graph %s", graph_name 165 raise AccuracyError("Bad accuracy detected") 266 accuracy=None, argument 286 if accuracy is None: 287 accuracy = "_accuracy" in compiler_name 296 f" run_repro(mod, load_args, accuracy={accuracy!r}, command={command!r}, " 299 … f" # mod, args = run_repro(mod, load_args, accuracy={accuracy!r}, command='get_args', " [all …]
|
H A D | after_dynamo.py | 89 # Check for either accuracy (level 4) or other type of failures. 91 # Check Accuracy 95 … "Accuracy failed for the TorchDynamo produced graph. Creating script to minify the error." 102 exc = AccuracyError("Bad accuracy detected.") 200 run_repro(mod, load_args, accuracy={check_accuracy!r}, command={command!r}, 323 # Check Accuracy 325 log.warning("Accuracy failed for the TorchDynamo produced graph") 341 log.error("Input graph does not fail accuracy testing") 406 if not options.accuracy: 432 if options.accuracy != "": [all …]
|
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
H A D | ConvergingAlgorithm.java | 30 * be moved to a new {@code IterativeAlgorithm}. The concept of "accuracy" is 68 * Set the absolute accuracy. 71 * -10..-0.1 and +0.1..+10 can be found with a reasonable accuracy. If the 76 * accuracy, but clients should not rely on this.</p> 78 * @param accuracy the accuracy. 79 * @throws IllegalArgumentException if the accuracy can't be achieved by 82 void setAbsoluteAccuracy(double accuracy); in setAbsoluteAccuracy() argument 85 * Get the actual absolute accuracy. 87 * @return the accuracy 92 * Reset the absolute accuracy to the default. [all …]
|
/aosp_15_r20/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/rrlp_components/ |
H A D | MethodType.java | 186 return new Accuracy(); in createElement() 191 return tag == null ? Accuracy.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags() 204 return new Accuracy(); in createElement() 209 return tag == null ? Accuracy.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags() 222 return new Accuracy(); in createElement() 227 return tag == null ? Accuracy.getPossibleFirstTags() : ImmutableList.of(tag); in getPossibleFirstTags() 306 public Accuracy getMsBased() { in getMsBased() 310 return (Accuracy) element; in getMsBased() 313 public void setMsBased(Accuracy selected) { in setMsBased() 319 public Accuracy setMsBasedToNewInstance() { in setMsBasedToNewInstance() [all …]
|
H A D | Accuracy.java | 36 public class Accuracy extends Asn1Integer { class 42 public Accuracy() { in Accuracy() method in Accuracy 68 * Creates a new Accuracy from encoded stream. 70 public static Accuracy fromPerUnaligned(byte[] encodedBytes) { in fromPerUnaligned() 71 Accuracy result = new Accuracy(); in fromPerUnaligned() 77 * Creates a new Accuracy from encoded stream. 79 public static Accuracy fromPerAligned(byte[] encodedBytes) { in fromPerAligned() 80 Accuracy result = new Accuracy(); in fromPerAligned() 106 return "Accuracy = " + getInteger() + ";\n"; in toIndentedString()
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/g3doc/performance/ |
H A D | model_optimization.md | 36 at the expense of some accuracy. Pruning and clustering can reduce the size of a 48 accuracy. 62 Optimizations can potentially result in changes in model accuracy, which must be 65 The accuracy changes depend on the individual model being optimized, and are 67 size or latency will lose a small amount of accuracy. Depending on your 69 certain models may gain some accuracy as a result of the optimization process. 90 … | Data requirements | Size reduction | Accuracy … 92 … | No data | Up to 50% | Insignificant accuracy loss | CPU, GPU 93 … | No data | Up to 75% | Smallest accuracy loss … 94 … | Unlabelled representative sample | Up to 75% | Small accuracy loss | CPU,… [all …]
|
/aosp_15_r20/frameworks/base/location/java/android/location/provider/ |
H A D | ProviderProperties.java | 57 * A constant indicating a finer location accuracy. 62 * A constant indicating a coarser location accuracy. 69 public @interface Accuracy {} annotation in ProviderProperties 79 private final @Accuracy int mAccuracy; 84 @PowerUsage int powerUsage, @Accuracy int accuracy) { in ProviderProperties() argument 93 mAccuracy = accuracy; in ProviderProperties() 154 * Rough location accuracy for this provider, primarily with respect to horizontal location 155 * accuracy. 157 public @Accuracy int getAccuracy() { in getAccuracy() 174 /* accuracy= */ in.readInt()); [all …]
|
/aosp_15_r20/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
H A D | datalogger_outputs.c | 88 * @param[out] accuracy 0 (uncalibrated) to 3 (most accurate). 91 void inv_get_sensor_type_gyro_float(float *values, int8_t *accuracy, in inv_get_sensor_type_gyro_float() argument 95 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyro_float() 122 * @param[out] accuracy 0 (uncalibrated) to 3 (most accurate). 125 void inv_get_sensor_type_accel_float(float *values, int8_t *accuracy, in inv_get_sensor_type_accel_float() argument 129 inv_get_accel_set(accel, accuracy, timestamp); in inv_get_sensor_type_accel_float() 157 * @param[out] accuracy 0 (uncalibrated) to 3 (most accurate). 161 float *values, int8_t *accuracy, inv_time_t *timestamp) in inv_get_sensor_type_compass_float() argument 168 inv_get_compass_set(compass, accuracy, timestamp); in inv_get_sensor_type_compass_float() 248 * @param[out] accuracy 0 (uncalibrated) to 3 (most accurate). [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/location/ |
H A D | Location.java | 45 * timestamp, accuracy, and other information such as bearing, altitude and velocity. 49 * accuracy. All other parameters are optional. 434 * Returns the estimated horizontal accuracy radius in meters of this location at the 68th 437 * putting this is that if a circle with a radius equal to this accuracy is drawn around the 439 * This accuracy value is only valid for horizontal positioning, and not vertical positioning. 442 * {@link LocationManager} include horizontal accuracy. 444 * @return horizontal accuracy of this location 451 * Set the horizontal accuracy in meters of this location. 461 * Returns true if this location has a horizontal accuracy, false otherwise. 468 * Remove the horizontal accuracy from this location. [all …]
|
/aosp_15_r20/external/pytorch/test/distributed/_tools/ |
H A D | test_fsdp2_mem_tracker.py | 53 Tests tracker accuracy when using multiple parameter groups for 116 accuracy = tracker_max / cuda_max 118 print(f"Accuracy: {accuracy} Tracker Max:{tracker_max} CUDA Max:{cuda_max}") 120 accuracy, 163 accuracy = tracker_max / cuda_max 165 print(f"Accuracy: {accuracy} Tracker Max:{tracker_max} CUDA Max:{cuda_max}") 167 accuracy, 185 Tests tracker accuracy when composing with activation checkpointing. 255 accuracy = tracker_max / cuda_max 257 print(f"Accuracy: {accuracy} Tracker Max:{tracker_max} CUDA Max:{cuda_max}") [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/ |
H A D | README.md | 8 * Top-K (1 to 10) accuracy values 18 Top-1 Accuracy: 0.733333 19 Top-2 Accuracy: 0.826667 20 Top-3 Accuracy: 0.856667 21 Top-4 Accuracy: 0.87 22 Top-5 Accuracy: 0.89 23 Top-6 Accuracy: 0.903333 24 Top-7 Accuracy: 0.906667 25 Top-8 Accuracy: 0.913333 26 Top-9 Accuracy: 0.92 [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/hardware/input/ |
H A D | InputDeviceSensorManager.java | 183 private void onInputSensorChanged(int deviceId, int sensorType, int accuracy, long timestamp, in onInputSensorChanged() argument 206 event.accuracy = accuracy; in onInputSensorChanged() 216 private void onInputSensorAccuracyChanged(int deviceId, int sensorType, int accuracy) { in onInputSensorAccuracyChanged() argument 218 Slog.d(TAG, "Sensor accuracy changed: " in onInputSensorAccuracyChanged() 219 + "accuracy=" + accuracy + ", sensorType=" + sensorType); in onInputSensorAccuracyChanged() 226 listener.sendSensorAccuracyChanged(deviceId, sensorType, accuracy); in onInputSensorAccuracyChanged() 234 public void onInputSensorChanged(int deviceId, int sensorType, int accuracy, long timestamp, in onInputSensorChanged() argument 237 deviceId, sensorType, accuracy, timestamp, values); in onInputSensorChanged() 241 public void onInputSensorAccuracyChanged(int deviceId, int sensorType, int accuracy) in onInputSensorAccuracyChanged() argument 244 accuracy); in onInputSensorAccuracyChanged() [all …]
|
/aosp_15_r20/external/pytorch/test/inductor/ |
H A D | test_minifier.py | 15 # Test that compile and accuracy errors after aot can be repro'd (both CPU and CUDA) 37 @inductor_config.patch("cpp.inject_relu_bug_TESTING_ONLY", "accuracy") 47 @inductor_config.patch("triton.inject_relu_bug_TESTING_ONLY", "accuracy") 51 @inductor_config.patch("cpp.inject_relu_bug_TESTING_ONLY", "accuracy") 76 # If we disable RMSE against fp64, this triggers accuracy error, 87 minifier_args=["--strict-accuracy"], 94 @inductor_config.patch("cpp.inject_relu_bug_TESTING_ONLY", "accuracy") 95 @inductor_config.patch("cpp.inject_log1p_bug_TESTING_ONLY", "accuracy") 111 # Strict accuracy gets hung up on the boolean mask difference, which 119 minifier_args=["--strict-accuracy"], [all …]
|
/aosp_15_r20/external/google-cloud-java/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/ |
H A D | SpeechTranscription.java | 81 * accuracy, with the top (first) alternative being the most probable, as 100 * accuracy, with the top (first) alternative being the most probable, as 121 * accuracy, with the top (first) alternative being the most probable, as 139 * accuracy, with the top (first) alternative being the most probable, as 158 * accuracy, with the top (first) alternative being the most probable, as 595 * accuracy, with the top (first) alternative being the most probable, as 617 * accuracy, with the top (first) alternative being the most probable, as 638 * accuracy, with the top (first) alternative being the most probable, as 660 * accuracy, with the top (first) alternative being the most probable, as 689 * accuracy, with the top (first) alternative being the most probable, as [all …]
|
/aosp_15_r20/external/pytorch/benchmarks/dynamo/ |
H A D | check_accuracy.py | 31 accuracy = get_field(actual_csv, model, "accuracy") 32 expected_accuracy = get_field(expected_csv, model, "accuracy") 34 if accuracy == expected_accuracy: 39 if accuracy == "pass": 45 elif accuracy != "pass": 52 f"{model:34} {status:9} accuracy={accuracy}, expected={expected_accuracy}" 60 Error: {len(failed)} models have accuracy status regressed: 68 Improvement: {len(improved)} models have accuracy status improved:
|
/aosp_15_r20/cts/tests/sensor/src/android/hardware/cts/helpers/ |
H A D | TestSensorEvent.java | 33 public final int accuracy; field in TestSensorEvent 57 accuracy = event.accuracy; in TestSensorEvent() 65 public TestSensorEvent(Sensor sensor, long timestamp, int accuracy, float[] values) { in TestSensorEvent() argument 66 this(sensor, timestamp, timestamp, accuracy, values); in TestSensorEvent() 72 public TestSensorEvent(Sensor sensor, long timestamp, long receivedTimestamp, int accuracy, in TestSensorEvent() argument 77 this.accuracy = accuracy; in TestSensorEvent() 84 "Timestamp=%sns, ReceivedTimestamp=%sns, Accuracy=%s, Values=%s", in toString() 87 this.accuracy, in toString()
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/java/ovic/ |
H A D | Winner_OSS_Template.md | 54 | Rank | Username | Latency | Accuracy on Classified | # Classified | Accuracy/Time | Metric | Refe… 58 * **Metric**: Accuracy improvement over the reference accuracy from the Pareto optimal curve 59 …* **Accuracy on Classified**: The accuracy in [0, 1] computed based only on the images classified … 61 …* **Accuracy/Time**: The accuracy divided by either the total inference time or the wall-time, whi… 62 …* **Reference accuracy**: The reference accuracy of models from the Pareto optimal curve that have…
|
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/analysis/integration/ |
H A D | BaseAbstractUnivariateIntegrator.java | 37 /** Default absolute accuracy. */ 40 /** Default relative accuracy. */ 84 * <li>relative accuracy: 85 * this is used to stop iterations if the absolute accuracy can't be 88 * safety measure, set the absolute accuracy to a ridiculously small value, 90 * <li>absolute accuracy: 92 * -10..-0.1 and +0.1..+10 can be found with a reasonable accuracy. If the 105 * @param relativeAccuracy relative accuracy of the result 106 * @param absoluteAccuracy absolute accuracy of the result 120 // accuracy settings in BaseAbstractUnivariateIntegrator() [all …]
|