Home
last modified time | relevance | path

Searched full:acceleration (Results 1 – 25 of 2123) sorted by relevance

12345678910>>...85

/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/
H A Dmini_benchmark_test.cc15 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/mini_benchmark.h"
28 #include "tensorflow/lite/experimental/acceleration/configuration/configuration.pb.h"
29 #include "tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h"
30 #include "tensorflow/lite/experimental/acceleration/configuration/proto_to_flatbuffer.h"
31 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_mobilenet_float_validat…
32 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_nnapi_sl_fake_impl.h"
33 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/mini_benchmark_test_helper.h"
34 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/nnapi_sl_fake_impl.h"
35 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
39 namespace acceleration { namespace
[all …]
H A DBUILD16 # Mini benchmarking helps in validating HW acceleration across Android and iOS.
94 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
413 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
414 "//tensorflow/lite/experimental/acceleration/configuration:delegate_registry",
433 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
459 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
547 "//tensorflow/lite/experimental/acceleration/compatibility:android_info",
572 "//tensorflow/lite/experimental/acceleration/compatibility:android_info",
585 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
604 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
[all …]
H A Dbuild_defs.bzl41 …$(location //tensorflow/lite/experimental/acceleration/compatibility:convert_binary_to_cc_source) \
47 … tools = ["//tensorflow/lite/experimental/acceleration/compatibility:convert_binary_to_cc_source"],
101 …$(location //tensorflow/lite/experimental/acceleration/mini_benchmark/model_modifier:embedder_cmdl…
109 … $(location //tensorflow/lite/experimental/acceleration/mini_benchmark:copy_associated_files) \
116 … "//tensorflow/lite/experimental/acceleration/mini_benchmark/model_modifier:embedder_cmdline",
117 "//tensorflow/lite/experimental/acceleration/mini_benchmark:copy_associated_files",
139 … srcs = ["//tensorflow/lite/experimental/acceleration/mini_benchmark:model_validation_test.cc"],
149 "//tensorflow/lite/experimental/acceleration/compatibility:android_info",
150 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
151 "//tensorflow/lite/experimental/acceleration/configuration:nnapi_plugin",
[all …]
H A Drunner_test_entry_points.cc25 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/model_loader.h"
26 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
38 return ::tflite::acceleration::kMinibenchmarkSuccess; in ReturnSuccess()
48 return ::tflite::acceleration::kMinibenchmarkSuccess; in WriteOk()
55 ? ::tflite::acceleration::kMinibenchmarkSuccess in Write10kChars()
64 return ::tflite::acceleration::kMinibenchmarkSuccess; in WriteArgs()
68 std::unique_ptr<tflite::acceleration::ModelLoader> model_loader = in ReadFromPipe()
69 tflite::acceleration::CreateModelLoaderFromPath(argv[3]); in ReadFromPipe()
70 if (model_loader->Init() != tflite::acceleration::kMinibenchmarkSuccess) { in ReadFromPipe()
80 ? ::tflite::acceleration::kMinibenchmarkSuccess in ReadFromPipe()
[all …]
H A Dvalidator_test.cc15 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator.h"
25 #include "tensorflow/lite/experimental/acceleration/configuration/configuration.pb.h"
26 #include "tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h"
27 #include "tensorflow/lite/experimental/acceleration/configuration/proto_to_flatbuffer.h"
28 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_mobilenet_model.h"
29 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_mobilenet_validation_mo…
30 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/mini_benchmark_test_helper.h"
31 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/model_loader.h"
32 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
38 namespace acceleration { namespace
[all …]
H A Dmini_benchmark_implementation.cc24 #include "tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h"
25 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/fb_storage.h"
26 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/mini_benchmark.h"
27 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
28 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner.h"
33 namespace acceleration { namespace
74 "Rebuilding memoised best acceleration from storage. It has been " in MemoizedBestAccelerationSelector()
88 "acceleration result for model (%s, %s).\n", in GetBestAcceleration()
95 "Returning memoized best acceleration result for " in GetBestAcceleration()
104 "Calculating best acceleration result for model (%s, " in GetBestAcceleration()
[all …]
H A Dvalidator_runner_test.cc15 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner.h"
26 #include "tensorflow/lite/experimental/acceleration/compatibility/android_info.h"
27 #include "tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h"
28 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_mobilenet_validation_mo…
29 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_nnapi_sl_fake_impl.h"
30 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/mini_benchmark_test_helper.h"
31 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/nnapi_sl_fake_impl.h"
32 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
38 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_validator_runner_entryp…
42 namespace acceleration { namespace
[all …]
H A Dembedder_main.cc30 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/call_register.h"
31 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_register.h"
32 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedder.h"
39 namespace acceleration { namespace
100 tflite::acceleration::Embedder embedder( in RunEmbedder()
106 ::tflite::acceleration::ops::Register_CALL(), 1); in RunEmbedder()
109 ::tflite::acceleration::decode_jpeg_kernel::Register_DECODE_JPEG(), 1); in RunEmbedder()
145 } // namespace acceleration
149 tflite::acceleration::EmbedderOptions options; in main()
178 return tflite::acceleration::RunEmbedder(options); in main()
H A Dvalidator_runner_entrypoint.cc31 #include "tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h"
32 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/fb_storage.h"
33 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/model_loader.h"
34 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/set_big_core_affinity.h"
35 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
36 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator.h"
37 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner.h"
41 namespace acceleration { namespace
165 } // namespace acceleration
H A Dvalidator.cc15 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator.h"
34 #include "tensorflow/lite/experimental/acceleration/configuration/configuration_generated.h"
35 #include "tensorflow/lite/experimental/acceleration/configuration/delegate_registry.h"
36 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/call_register.h"
37 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_register.h"
38 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/model_loader.h"
39 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/status_codes.h"
56 namespace acceleration { namespace
270 ::tflite::acceleration::ops::Register_CALL(), 1); in CreateInterpreter()
273 ::tflite::acceleration::decode_jpeg_kernel::Register_DECODE_JPEG(), 1); in CreateInterpreter()
[all …]
/aosp_15_r20/frameworks/native/include/input/
H A DVelocityControl.h32 * Specifies parameters that govern pointer or wheel acceleration.
44 // The scaled speed at which acceleration begins to be applied.
46 // small precise motions that are performed without any acceleration.
52 // The scaled speed at which maximum acceleration is applied.
54 // the range of speeds over which the acceleration factor is interpolated.
55 // The wider the range, the smoother the acceleration.
61 // The acceleration factor.
66 // Default is 1.0 (no acceleration).
67 float acceleration; member
70 scale(1.0f), lowThreshold(0.0f), highThreshold(0.0f), acceleration(1.0f) { in VelocityControlParameters()
[all …]
/aosp_15_r20/external/replicaisland/src/com/replica/replicaisland/
H A DInterpolator.java20 * Helper class for interpolating velocity over time given a target velocity and acceleration.
22 * Note that acceleration is effectively an absolute value--it always points in the direction of
35 // Rather than simply interpolating acceleration and velocity for each time step
36 // (as in, position += (velocity * time); velocity += (acceleration * time);),
49 // change in position = velocity * time + (0.5 * acceleration * (time^2))
50 // change in velocity = acceleration * time
52 public void set(float current, float target, float acceleration) { in set() argument
55 mAcceleration = acceleration; in set()
63 // point the acceleration at the target, or zero it if we are already in interpolate()
67 // calculate scaled acceleration (0.5 * acceleration * (time^2)) in interpolate()
[all …]
/aosp_15_r20/frameworks/base/core/java/android/os/vibrator/
H A DVibratorFrequencyProfile.java34 * acceleration, enabling retrieval of supported acceleration levels for specific frequencies, if
37 * <p>It also describes the max output acceleration (Gs), of a vibration at different supported
59 * Returns a {@link SparseArray} representing the vibrator's output acceleration capabilities
60 * across different frequencies. This map defines the maximum acceleration
74 * Returns the maximum output acceleration (in Gs) supported by the vibrator.
75 * This value represents the highest acceleration the vibrator can achieve
78 * @return The maximum output acceleration in Gs.
87 * the given minimum output acceleration (Gs).
89 * @param minOutputAccelerationGs The minimum desired output acceleration in Gs.
91 * vibrator can sustain at least the given minimum acceleration, or null if
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/
H A Dgpu_compatibility_test.cc15 #include "tensorflow/lite/experimental/acceleration/compatibility/gpu_compatibility.h"
23 #include "tensorflow/lite/experimental/acceleration/compatibility/devicedb-sample.h"
30 list_ = tflite::acceleration::GPUCompatibilityList::Create( in GPUCompatibilityTest()
35 std::unique_ptr<tflite::acceleration::GPUCompatibilityList> list_;
41 tflite::acceleration::AndroidInfo android_info = {.android_sdk_version = "24", in TEST_F()
54 tflite::acceleration::AndroidInfo android_info = {.android_sdk_version = "28", in TEST_F()
67 tflite::acceleration::AndroidInfo android_info; in TEST_F()
88 EXPECT_TRUE(tflite::acceleration::GPUCompatibilityList::IsValidFlatbuffer( in TEST()
96 EXPECT_FALSE(tflite::acceleration::GPUCompatibilityList::IsValidFlatbuffer( in TEST()
103 std::unique_ptr<tflite::acceleration::GPUCompatibilityList> list = in TEST()
[all …]
H A Dgpu_compatibility.cc15 #include "tensorflow/lite/experimental/acceleration/compatibility/gpu_compatibility.h"
24 #include "tensorflow/lite/experimental/acceleration/compatibility/canonicalize_value.h"
25 #include "tensorflow/lite/experimental/acceleration/compatibility/database_generated.h"
26 #include "tensorflow/lite/experimental/acceleration/compatibility/devicedb.h"
27 #include "tensorflow/lite/experimental/acceleration/compatibility/gpu_compatibility_binary.h"
28 #include "tensorflow/lite/experimental/acceleration/compatibility/variables.h"
31 namespace acceleration { namespace
107 return tflite::acceleration::VerifyDeviceDatabaseBuffer(verifier); in IsValidFlatbuffer()
110 } // namespace acceleration
/aosp_15_r20/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java72 * <li> values[0]: Acceleration minus Gx on the x-axis </li>
73 * <li> values[1]: Acceleration minus Gy on the y-axis </li>
74 * <li> values[2]: Acceleration minus Gz on the z-axis </li>
78 * A sensor of this type measures the acceleration applied to the device
87 * acceleration:
105 * It should be apparent that in order to measure the real acceleration of
135 * toward the right, the x acceleration value is positive.</li>
137 * <li>When the device lies flat on a table, the acceleration value is
138 * +9.81, which correspond to the acceleration of the device (0 m/s^2) minus
142 * with an acceleration of A m/s^2, the acceleration value is equal to
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/1f/
D1f3aee264db2a0154444601688fc752c1bdad9a231 …from: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/bus…
32 …to: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/busyb…
35 …from: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/com…
36 …to: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/combi…
39 …from: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/man…
40 …to: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/manif…
263acceleration/CtsAccelerationTestCases/android_common/lint-srcs.list.rsp __SBOX_SANDBOX_DIR__/out/l…
266 …to: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/lint/…
270 …to: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/lint/…
274 …to: "out/soong/.intermediates/cts/tests/acceleration/CtsAccelerationTestCases/android_common/lint/…
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/metrics/
H A DBUILD17 load("//tensorflow/lite/experimental/acceleration/mini_benchmark:build_defs.bzl", "validation_model…
43 "//tensorflow/lite/experimental/acceleration/mini_benchmark/metrics:kl_divergence",
57 jpegs = "//tensorflow/lite/experimental/acceleration/mini_benchmark:odt_classifier_testfiles",
58 …main_model = "//tensorflow/lite/experimental/acceleration/mini_benchmark/models:mobilenet_v1_1.0_2…
70 jpegs = "//tensorflow/lite/experimental/acceleration/mini_benchmark:odt_classifier_testfiles",
71 …main_model = "//tensorflow/lite/experimental/acceleration/mini_benchmark/models:mobilenet_v1_1.0_2…
87 "//tensorflow/lite/experimental/acceleration/mini_benchmark/metrics:kl_divergence",
101 jpegs = "//tensorflow/lite/experimental/acceleration/mini_benchmark:blazeface_testfiles",
102 …main_model = "//tensorflow/lite/experimental/acceleration/mini_benchmark/models:blazeface_mlkit_v1…
/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/model_modifier/
H A Dembedder_main.cc30 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/call_register.h"
31 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_register.h"
32 #include "tensorflow/lite/experimental/acceleration/mini_benchmark/model_modifier/embedder.h"
39 namespace acceleration { namespace
100 tflite::acceleration::Embedder embedder( in RunEmbedder()
106 ::tflite::acceleration::ops::Register_CALL(), 1); in RunEmbedder()
109 ::tflite::acceleration::decode_jpeg_kernel::Register_DECODE_JPEG(), 1); in RunEmbedder()
145 } // namespace acceleration
149 tflite::acceleration::EmbedderOptions options; in main()
178 return tflite::acceleration::RunEmbedder(options); in main()
/aosp_15_r20/external/lz4/lib/
H A Dlz4.c50 * Select "acceleration" for LZ4_compress_fast() when parameter value <= 0
55 * Any "acceleration" value higher than this threshold
941 const int acceleration) in LZ4_compress_generic_validated() argument
986 assert(acceleration >= 1); in LZ4_compress_generic_validated()
1023 int searchMatchNb = acceleration << LZ4_skipTrigger; in LZ4_compress_generic_validated()
1044 int searchMatchNb = acceleration << LZ4_skipTrigger; in LZ4_compress_generic_validated()
1355 const int acceleration) in LZ4_compress_generic() argument
1378 tableType, dictDirective, dictIssue, acceleration); in LZ4_compress_generic()
1382 …te(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration) in LZ4_compress_fast_extState() argument
1386 if (acceleration < 1) acceleration = LZ4_ACCELERATION_DEFAULT; in LZ4_compress_fast_extState()
[all …]
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/vibrator/
H A DBasicToPwleSegmentAdapter.java39 * (defined by the intersection points of the frequency-acceleration response curve with the
49 * An array of (frequency in Hz, minimum perceptible acceleration in dB) pairs.
134 * minimum and maximum frequencies where the actuator's output acceleration exceeds the minimum
138 * acceleration response curve intersects the minimum sensitivity threshold. The maximum
215 * <p>This method first converts the desired intensity to an equivalent acceleration value
217 * desired acceleration to the maximum acceleration the vibrator can produce at the given
220 * <p>If the desired acceleration exceeds the vibrator's capability, the method returns
222 * the ratio of the desired acceleration to the maximum available acceleration at the given
302 * Retrieves the minimum perceptible acceleration, in dB, for the specified frequency (hz).
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dconfig_adjust_legacy_from_psa.h41 * 1. Check if acceleration is complete for curves, key types, algs.
43 * doesn't have complete acceleration of the other triplet/pair components.
49 /* ECC: curves: is acceleration complete? */
73 /* ECC: algs: is acceleration complete? */
82 /* ECC: key types: is acceleration complete? */
116 * - if there's a key type with missing acceleration, or
117 * - if there's a alg with missing acceleration.
242 * - if there's a relevant curve (see below) with missing acceleration, or
243 * - if there's a key type among (public, basic) with missing acceleration.
307 * - if there's a curve with missing acceleration, or
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/c/
H A DBUILD45 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
46 "//tensorflow/lite/experimental/acceleration/configuration:nnapi_plugin_impl",
56 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
70 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
71 "//tensorflow/lite/experimental/acceleration/configuration:gpu_plugin_impl",
91 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
104 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
115 "//tensorflow/lite/experimental/acceleration/configuration:configuration_fbs",
/aosp_15_r20/external/libchrome-gestures/include/
H A Daccel_filter_interpreter.h20 // This interpreter provides pointer and scroll acceleration based on
21 // an acceleration curve and the user's sensitivity setting.
94 // ret: true, acceleration expected
95 // false, acceleration not expected
112 // ret: true, acceleration expected
113 // false, acceleration not expected
156 // curves when acceleration is disabled.
171 // These are used to calculate acceleration, see smooth_accel_
202 // Flag for disabling mouse/touchpad acceleration.
/aosp_15_r20/external/coreboot/payloads/libpayload/drivers/
H A Dmouse_cursor.c103 /* Apply simple cursor acceleration. Default: x2.6 */ in mouse_cursor_poll()
121 * Returns relative mouse movement with acceleration
162 * than the mouse acceleration coefficient.
182 * Set cursor acceleration.
184 * Sets the mouse cursor acceleration coefficient.
185 * The acceleration is used to compare the raw relative
195 * Get cursor acceleration.
197 * Returns the current cursor acceleration coefficient.

12345678910>>...85