/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
H A D | scatter_nd_ops_test.py | 59 def _NumpyScatterNd(ref, indices, updates, op): argument 67 flat_updates = updates.reshape((num_updates, slice_size)) 76 def _NumpyUpdate(ref, indices, updates): argument 77 return _NumpyScatterNd(ref, indices, updates, lambda p, u: u) 80 def _NumpyAdd(ref, indices, updates): argument 81 return _NumpyScatterNd(ref, indices, updates, lambda p, u: p + u) 84 def _NumpySub(ref, indices, updates): argument 85 return _NumpyScatterNd(ref, indices, updates, lambda p, u: p - u) 88 def _NumpyMul(ref, indices, updates): argument 89 return _NumpyScatterNd(ref, indices, updates, lambda p, u: p * u) [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | scatter_test.cc | 28 Literal* scatter_indices, Literal* updates) { in RunTest() argument 29 RunTest(hlo_text, {operand, scatter_indices, updates}); in RunTest() 53 updates = s32[2,3] parameter(2) in XLA_TEST_F() 54 ROOT scatter = s32[3,3] scatter(operand, indices, updates), in XLA_TEST_F() 65 Literal updates = in XLA_TEST_F() local 67 RunTest(hlo_text, &operand, &scatter_indices, &updates); in XLA_TEST_F() 85 updates = s32[2,3] add(p2, p2) in XLA_TEST_F() 86 ROOT scatter = s32[3,3] scatter(operand, indices, updates), in XLA_TEST_F() 97 Literal updates = in XLA_TEST_F() local 99 RunTest(hlo_text, &operand, &scatter_indices, &updates); in XLA_TEST_F() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/ |
H A D | state_ops.py | 383 def scatter_update(ref, indices, updates, use_locking=True, name=None): argument 385 r"""Applies sparse updates to a variable reference. 391 ref[indices, ...] = updates[...] 394 ref[indices[i], ...] = updates[i, ...] 397 ref[indices[i, ..., j], ...] = updates[i, ..., j, ...] 404 duplicate entries in `indices`, the order at which the updates happen 407 Requires `updates.shape = indices.shape + ref.shape[1:]`. 417 updates: A `Tensor`. Must have the same type as `ref`. 429 return gen_state_ops.scatter_update(ref, indices, updates, 432 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/core/java/com/android/server/updates/updates_flags_lib/android_common/javac/ |
D | updates_flags_lib.jar | ... android/server/
com/android/server/updates/
com/android/server/updates/CustomFeatureFlags |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/core/java/com/android/server/updates/updates_flags_lib/android_common/repackaged-jarjar/javac/ |
D | updates_flags_lib.jar | ... Flags.java
package com.android.server.updates
public final com.android.server.updates. ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/unfold/SystemUIUnfoldLib/android_common/kapt/gen/stubs/com/android/systemui/unfold/updates/ |
D | DeviceFoldStateProvider.java | 1 package com.android.systemui.unfold.updates; 11 import com.android.systemui.unfold.updates.hinge.HingeAngleProvider; 12 import com.android.systemui.unfold.updates.screen.ScreenStatusProvider; 21 …updates/DeviceFoldStateProvider;", "Lcom/android/systemui/unfold/updates/FoldStateProvider;", "con… 22 public final class DeviceFoldStateProvider implements com.android.systemui.unfold.updates.FoldState… 26 …private final com.android.systemui.unfold.updates.screen.ScreenStatusProvider screenStatusProvider… 32 private final com.android.systemui.unfold.updates.FoldProvider foldProvider = null; 34 …private final com.android.systemui.unfold.updates.hinge.HingeAngleProvider hingeAngleProvider = nu… 36 …private final com.android.systemui.unfold.updates.RotationChangeProvider rotationChangeProvider = … 40 …private final java.util.concurrent.CopyOnWriteArrayList<com.android.systemui.unfold.updates.FoldSt… [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/unfold/SystemUIUnfoldLib/android_common/kotlin_headers/ |
D | SystemUIUnfoldLib.jar | ... public final com.android.systemui.unfold.updates.FoldStateProvider provideFoldStateProvider (com.android.systemui. ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/unfold/SystemUIUnfoldLib/android_common/turbine/ |
D | SystemUIUnfoldLib.jar | ... create (com.android.systemui.unfold.updates.FoldStateProvider, android.os.Handler)
public |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/unfold/SystemUIUnfoldLib/android_common/kotlin/ |
D | SystemUIUnfoldLib.jar | ... public final com.android.systemui.unfold.updates.FoldStateProvider provideFoldStateProvider (com.android.systemui. ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/unfold/SystemUIUnfoldLib/android_common/javac/ |
D | SystemUIUnfoldLib.jar | ... bgHandlerProvider
private com.android.systemui.unfold.updates.RotationChangeProvider_Factory rotationChangeProvider
private dagger.internal.Provider factoryProvider2 ... |
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/ |
H A D | scatter_nd_op.cc | 49 // If shape_input has 0 elements, then we need to have indices and updates with 51 // then updates should also have 0 elements, otherwise we should error. 72 const Tensor& updates = c->input(1); in Compute() local 79 OP_REQUIRES(c, updates.shape().dims() >= 1, in Compute() 81 "Updates shape must have rank at least one. Found:", in Compute() 82 updates.shape().DebugString())); in Compute() 92 updates.shape().num_elements()), in Compute() 94 "Indices and updates specified for empty output shape")); in Compute() 100 c, indices.shape().dim_size(i) == updates.shape().dim_size(i), in Compute() 105 ") of updates[shape=", updates.shape().DebugString(), "]")); in Compute() [all …]
|
/aosp_15_r20/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 52 std::vector<Update> updates; member in android::os::statsd::TestStateListener 57 updates.emplace_back(primaryKey, newState.mValue.int_value); in onStateChanged() 261 ASSERT_EQ(1, listener->updates.size()); in TEST() 262 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST() 263 EXPECT_EQ(1, listener->updates[0].mState); in TEST() 264 listener->updates.clear(); in TEST() 269 ASSERT_EQ(0, listener->updates.size()); in TEST() 274 ASSERT_EQ(0, listener->updates.size()); in TEST() 279 ASSERT_EQ(1, listener->updates.size()); in TEST() 280 EXPECT_EQ(1000, listener->updates[0].mKey.getValues()[0].mValue.int_value); in TEST() [all …]
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/core/java/com/android/server/updates/updates_flags_lib/android_common/turbine-combined/ |
D | updates_flags_lib.jar | ... server.updates
public com.android.server.updates.CustomFeatureFlags extends java.lang.Object implements com ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/core/java/com/android/server/updates/updates_flags_lib/android_common/repackaged-jarjar/turbine/ |
D | updates_flags_lib.jar | ... .updates
public final com.android.server.updates.Flags extends java.lang.Object {
public ... |
/aosp_15_r20/out/soong/.intermediates/frameworks/base/services/core/java/com/android/server/updates/updates_flags_lib/android_common/turbine/ |
D | updates_flags_lib.jar | ... server.updates
public com.android.server.updates.CustomFeatureFlags extends java.lang.Object implements com ... |
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tests/ |
H A D | scatter_nd_op_test.py | 46 def _NumpyScatterNd(ref, indices, updates, op): argument 54 flat_updates = updates.reshape((num_updates, slice_size)) 63 def _NumpyUpdate(indices, updates, shape): argument 64 ref = np.zeros(shape, dtype=updates.dtype) 65 return _NumpyScatterNd(ref, indices, updates, lambda p, u: u) 104 updates = _AsType(np.random.randn(*(updates_shape)), vtype) 107 np_out = np_scatter(indices, updates, ref_shape) 109 tf_out = tf_scatter(indices, updates, ref_shape) 118 def _runScatterNd(self, indices, updates, shape): argument 120 updates_placeholder = array_ops.placeholder(updates.dtype) [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/stablehlo/tests/ |
H A D | verify_scatter.mlir | 5 %scatter_indices: tensor<10x2xi32>, %updates: tensor<10x300xf32>) -> 7 %0 = "stablehlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 27 %scatter_indices: tensor<*xi32>, %updates: tensor<*xf32>) -> 29 %0 = "stablehlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 50 %scatter_indices: tensor<10x2xf32>, %updates: tensor<10x300xf32>) -> 53 %0 = "stablehlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 74 %scatter_indices: tensor<10x2xi32>, %updates: tensor<*xf32>) -> 77 %0 = "stablehlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 98 %scatter_indices: tensor<10x2xi32>, %updates: tensor<10x300xf32>) -> 101 %0 = "stablehlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/mhlo/ |
H A D | verifier_scatter_op.mlir | 5 %scatter_indices: tensor<10x2xi32>, %updates: tensor<10x300xf32>) -> 7 %0 = "mhlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 27 %scatter_indices: tensor<*xi32>, %updates: tensor<*xf32>) -> 29 %0 = "mhlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 50 %scatter_indices: tensor<10x2xf32>, %updates: tensor<10x300xf32>) -> 53 %0 = "mhlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 74 %scatter_indices: tensor<10x2xi32>, %updates: tensor<*xf32>) -> 77 %0 = "mhlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ 98 %scatter_indices: tensor<10x2xi32>, %updates: tensor<10x300xf32>) -> 101 %0 = "mhlo.scatter" (%input_tensor, %scatter_indices, %updates) ({ [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/ |
H A D | scatter_nd.cc | 51 const RuntimeShape& updates, in CheckShapes() argument 55 (updates.DimensionsCount() >= 1) && in CheckShapes() 60 TF_LITE_ENSURE_EQ(context, indices.Dims(i), updates.Dims(i)); in CheckShapes() 64 TF_LITE_ENSURE_EQ(context, updates.DimensionsCount() - outer_dims, in CheckShapes() 66 for (int i = 0; i + outer_dims < updates.DimensionsCount(); ++i) { in CheckShapes() 67 TF_LITE_ENSURE_EQ(context, updates.Dims(i + outer_dims), in CheckShapes() 79 const TfLiteTensor* updates; in Prepare() local 80 TF_LITE_ENSURE_OK(context, GetInputSafe(context, node, kUpdates, &updates)); in Prepare() 84 switch (updates->type) { in Prepare() 94 context, "Updates of type '%s' are not supported by scatter_nd.", in Prepare() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/ |
H A D | DomTreeUpdater.h | 74 /// as having no pending updates. This function does not check 79 /// Returns true if there are DominatorTree updates queued. 83 /// Returns true if there are PostDominatorTree updates queued. 90 /// These methods provide APIs for submitting updates to the DominatorTree and 95 /// 1. Eager UpdateStrategy: Updates are submitted and then flushed 97 /// 2. Lazy UpdateStrategy: Updates are submitted but only flushed when you 99 /// when you submit a bunch of updates multiple times which can then 100 /// add up to a large number of updates between two queries on the 101 /// DominatorTree. The incremental updater can reschedule the updates or 103 /// process depending on the number of updates. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Analysis/ |
D | DomTreeUpdater.h | 74 /// as having no pending updates. This function does not check 79 /// Returns true if there are DominatorTree updates queued. 83 /// Returns true if there are PostDominatorTree updates queued. 90 /// These methods provide APIs for submitting updates to the DominatorTree and 95 /// 1. Eager UpdateStrategy: Updates are submitted and then flushed 97 /// 2. Lazy UpdateStrategy: Updates are submitted but only flushed when you 99 /// when you submit a bunch of updates multiple times which can then 100 /// add up to a large number of updates between two queries on the 101 /// DominatorTree. The incremental updater can reschedule the updates or 103 /// process depending on the number of updates. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Analysis/ |
D | DomTreeUpdater.h | 74 /// as having no pending updates. This function does not check 79 /// Returns true if there are DominatorTree updates queued. 83 /// Returns true if there are PostDominatorTree updates queued. 90 /// These methods provide APIs for submitting updates to the DominatorTree and 95 /// 1. Eager UpdateStrategy: Updates are submitted and then flushed 97 /// 2. Lazy UpdateStrategy: Updates are submitted but only flushed when you 99 /// when you submit a bunch of updates multiple times which can then 100 /// add up to a large number of updates between two queries on the 101 /// DominatorTree. The incremental updater can reschedule the updates or 103 /// process depending on the number of updates. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Analysis/ |
D | DomTreeUpdater.h | 74 /// as having no pending updates. This function does not check 79 /// Returns true if there are DominatorTree updates queued. 83 /// Returns true if there are PostDominatorTree updates queued. 90 /// These methods provide APIs for submitting updates to the DominatorTree and 95 /// 1. Eager UpdateStrategy: Updates are submitted and then flushed 97 /// 2. Lazy UpdateStrategy: Updates are submitted but only flushed when you 99 /// when you submit a bunch of updates multiple times which can then 100 /// add up to a large number of updates between two queries on the 101 /// DominatorTree. The incremental updater can reschedule the updates or 103 /// process depending on the number of updates. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Analysis/ |
D | DomTreeUpdater.h | 74 /// as having no pending updates. This function does not check 79 /// Returns true if there are DominatorTree updates queued. 83 /// Returns true if there are PostDominatorTree updates queued. 90 /// These methods provide APIs for submitting updates to the DominatorTree and 95 /// 1. Eager UpdateStrategy: Updates are submitted and then flushed 97 /// 2. Lazy UpdateStrategy: Updates are submitted but only flushed when you 99 /// when you submit a bunch of updates multiple times which can then 100 /// add up to a large number of updates between two queries on the 101 /// DominatorTree. The incremental updater can reschedule the updates or 103 /// process depending on the number of updates. [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | DomTreeUpdater.h | 72 /// as having no pending updates. This function does not check 77 /// Returns true if there are DominatorTree updates queued. 81 /// Returns true if there are PostDominatorTree updates queued. 88 /// These methods provide APIs for submitting updates to the DominatorTree and 93 /// 1. Eager UpdateStrategy: Updates are submitted and then flushed 95 /// 2. Lazy UpdateStrategy: Updates are submitted but only flushed when you 97 /// when you submit a bunch of updates multiple times which can then 98 /// add up to a large number of updates between two queries on the 99 /// DominatorTree. The incremental updater can reschedule the updates or 101 /// process depending on the number of updates. [all …]
|