Home
last modified time | relevance | path

Searched full:batching (Results 1 – 25 of 971) sorted by relevance

12345678910>>...39

/aosp_15_r20/external/pytorch/functorch/
H A Dwriting_batching_rules.md1 So, you want to write some batching rules? This is the guide to get started :)
3 First off, what are batching rules and why do we need so many of them? Well, to understand that, we…
18 ### Basic Batching Rule (unsqueeze)
19 Let's take a look at our batching rule API. For some reference, the function signature for unsqueez…
38 For the most part, the function signature for a batching rule is identical to the function signatur…
45 For `unsqueeze(x, dim)`, the strategy for the batching rule is pretty simple. We first move the bat…
59 ### Implementing multiple batching rules with boxed fallbacks or templates
60 … of batching rules. For example, every single pointwise op has a similar pattern. In that case, it…
62 …ritten a boxed fallback that covers many reductions (see the [reduction batching rules](https://gi…
70 ### Sidestepping batching rules by decomposing operators
[all …]
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/batching/
H A DBatchingSettings.java30 package com.google.api.gax.batching;
32 import com.google.api.gax.batching.FlowController.LimitExceededBehavior;
39 * Represents the batching settings to use for an API method that is capable of batching.
41 * <p>By default the settings are configured to <b>not</b> use batching (i.e. the batch size
43 * scenarios. Users are expected to configure actual batching thresholds explicitly: the element
48 * <p>When batching is turned on for an API method, a call to that method will result in the request
81 * <p>For these values, individual requests that surpass the limit are rejected, and the batching
86 * <p>Batching also supports FlowControl. This can be used to prevent the batching implementation
88 * can occur if messages are created and added to batching faster than they can be processed. The
93 /** Get the element count threshold to use for batching. */
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
H A Dmap_and_batch_test.py24 from tensorflow.python.data.experimental.ops import batching
66 batching.map_and_batch(
125 batching.map_and_batch(
145 batching.map_and_batch(lambda x: array_ops.reshape(x * x, [1]), 4)))
156 batching.map_and_batch(lambda x: x, batch_size=100))
182 batching.map_and_batch(
214 batching.map_and_batch(_sparse, 5))
233 dataset = dataset.apply(batching.map_and_batch(lambda x: x, 14))
250 dataset = dataset.apply(batching.map_and_batch(lambda x: x, batch_size))
270 1000).apply(batching.map_and_batch(_map_fn, batch_size=100))
[all …]
/aosp_15_r20/hardware/interfaces/gnss/aidl/android/hardware/gnss/
H A DIGnssBatching.aidl22 * Extended interface for GNSS Batching support.
24 * If this interface is supported, this batching request must be able to run in parallel with, or
30 * added batching request must not disrupt the 1Hz continuous location output on the IGnssCallback.
41 * Bit mask indicating batching supports wake up and flush when FIFO is full.
51 /** Options specifying the batching request. */
58 * The minimum distance in meters that the batching engine should
66 /** A bit field of Flags (WAKEUP_ON_FIFO_FULL) indicating the batching behavior. */
83 * this is the minimum size guaranteed to be available for batching operations.
85 * This may, for example, be used by the client, to decide on the batching interval and whether
93 * Start batching locations. This API is primarily used when the AP is asleep and the device can
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/docs/design/core/batch-manager/
H A DDesign.md3 # Design Document (Automatic Request Batching)
10batching solution could not only be implemented in SQS but in any service that might benefit from …
66 Note: Focusing on automatic batching and manual flushing for the scope of the internship.
69 // 1. Automatic Batching
101 * Batch Manager class that implements batching features for a sync client.
163 * Batch Manager class that implements batching features for an async client.
229 * batching features.
254 ### **Why don’t we just implement batching features directly on the low level client?**
256 There are three options we discussed in implementing batching features:
258 1. Create batching features directly on the low level client
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/functorch/
H A DLegacyBatchingRegistrations.cpp25 // NOTE: [What is a batching rule?]
28 // the legacy (deprecated) batching rule API. Please see writing_batch_rules.md
29 // for how to write new-style batching rules.
31 // This files contains batching rules written with the legacy (now-deprecated)
32 // batching rule API.
33 // Please try to use the new-style batching rule API (see writing_batch_rules.md)
35 // A *batching rule* implements the logic of how to call an operator on inputs
44 // NOTE: [When should I add a batching rule?]
45 // When you are adding a new operator, you'll need to add a batching rule so
47 // to generate a slow fallback for the batching rule.
[all …]
/aosp_15_r20/hardware/interfaces/gnss/1.0/
H A DIGnssBatching.hal22 * Extended interface for GNSS Batching support.
24 * If this interface is supported, this batching request must be able to run in
32 * seconds, the newly added batching request must not disrupt the 1Hz
43 * Enum which holds the bit masks for batching control.
66 * Flags controlling how batching should behave.
87 * for batching operations.
90 * batching interval and whether the AP should be woken up or not.
97 * Start batching locations. This API is primarily used when the AP is
131 * Stop batching.
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v30/arm/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v30/arm64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/hardware/libhardware/include_vendor/hardware/
H A Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v30/x86/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v30/x86_64/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v34/x86/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm/include/hardware/libhardware/include/hardware/
Dfused_location.h80 * (batching or geofencing). If not supported that particular feature
107 * While batching, the implementation should not call the
114 * When this bit is on amidst a batching session, batching should
215 * or 0 in FlpCallbacks to indicate you don't support location batching.
248 /** Options with the batching FLP APIs */
252 * can use for this batching call.
270 * bit is on amidst a batching session, batching should continue
331 * This will be used by the upper layer, to decide on the batching
337 * Start batching locations. This API is primarily used when the AP is
361 * Update FlpBatchOptions associated with a batching request.
[all …]

12345678910>>...39