/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
local_test.py | 68 layer = keras.layers.LocallyConnected1D(**kwargs) 69 layer.build((num_samples, num_steps, input_dim)) 70 self.assertEqual(len(layer.losses), 2) 71 layer( 73 self.assertEqual(len(layer.losses), 3) 84 layer = keras.layers.LocallyConnected1D(**kwargs) 85 layer.build((num_samples, num_steps, input_dim)) 86 self.assertEqual(layer.kernel.constraint, k_constraint) 87 self.assertEqual(layer.bias.constraint, b_constraint) 147 layer = keras.layers.LocallyConnected2D(**kwargs [all...] |
normalization_test.py | 58 layer = keras.layers.BatchNormalization(scale=False, center=False) 59 layer.build((None, 3, 4)) 60 self.assertEqual(len(layer.trainable_weights), 0) 61 self.assertEqual(len(layer.weights), 2) 63 layer = keras.layers.BatchNormalization() 64 layer.build((None, 3, 4)) 65 self.assertEqual(len(layer.trainable_weights), 2) 66 self.assertEqual(len(layer.weights), 4) 70 layer = keras.layers.BatchNormalization( 72 layer.build((None, 3, 4) [all...] |
/external/vulkan-validation-layers/tests/ |
run_wrap_objects_tests.sh | 8 # Check for insertion of wrap-objects layer. 16 echo "$output" | grep -q "Insert instance layer VK_LAYER_LUNARG_wrap_objects" 25 echo "$output" | grep -q "Inserted device layer VK_LAYER_LUNARG_wrap_objects" 35 # Check for insertion of wrap-objects layer in front. 43 echo "$output" | grep -q "Insert instance layer VK_LAYER_LUNARG_wrap_objects" 52 echo "$output" | grep -q "Inserted device layer VK_LAYER_LUNARG_wrap_objects" 62 # Check for insertion of wrap-objects layer in back. 70 echo "$output" | grep -q "Insert instance layer VK_LAYER_LUNARG_wrap_objects" 79 echo "$output" | grep -q "Inserted device layer VK_LAYER_LUNARG_wrap_objects" 89 # Check for insertion of wrap-objects layer in middle [all...] |
/frameworks/base/libs/hwui/renderstate/ |
OffscreenBufferPool.h | 34 * Lightweight alternative to Layer. Owns the persistent state of an offscreen render target, and 73 // Portion of layer that has been drawn to. Used to minimize drawing area when 97 WARN_UNUSED_RESULT OffscreenBuffer* resize(OffscreenBuffer* layer, const uint32_t width, 100 void putOrDelete(OffscreenBuffer* layer); 133 explicit Entry(OffscreenBuffer* layer) 134 : layer(layer) 135 , width(layer->texture.width()) 136 , height(layer->texture.height()) 137 , wideColorGamut(layer->wideColorGamut) { 147 OffscreenBuffer* layer = nullptr; member in struct:android::uirenderer::OffscreenBufferPool::Entry [all...] |
/frameworks/native/services/surfaceflinger/ |
Client.h | 33 class Layer; 42 Client(const sp<SurfaceFlinger>& flinger, const sp<Layer>& parentLayer); 48 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer); 50 void detachLayer(const Layer* layer); 52 sp<Layer> getLayerUser(const sp<IBinder>& handle) const; 54 void updateParent(const sp<Layer>& parentLayer); 74 sp<Layer> getParentLayer(bool* outParentDied = nullptr) const; 80 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers [all...] |
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
msm_mdp_ext.h | 11 * Ioctl for updating the layer position asynchronously. Initially, pipes 43 LAYER FLAG CONFIGURATION 45 /* left-right layer flip flag */ 48 /* up-down layer flip flag */ 52 * This flag enables pixel extension for the current layer. Validate/commit 57 /* Flag indicates that layer is foreground layer */ 60 /* Flag indicates that layer is associated with secure session */ 64 * Flag indicates that layer is drawing solid fill. Validate/commit call 69 /* Layer format is deinterlace * [all...] |
/hardware/qcom/msm8x09/original-kernel-headers/linux/ |
msm_mdp_ext.h | 11 * Ioctl for updating the layer position asynchronously. Initially, pipes 43 LAYER FLAG CONFIGURATION 45 /* left-right layer flip flag */ 48 /* up-down layer flip flag */ 52 * This flag enables pixel extension for the current layer. Validate/commit 57 /* Flag indicates that layer is foreground layer */ 60 /* Flag indicates that layer is associated with secure session */ 64 * Flag indicates that layer is drawing solid fill. Validate/commit call 69 /* Layer format is deinterlace * [all...] |
/hardware/qcom/msm8x09/original-kernel-headers/ |
msm_mdp_ext.h | 11 * Ioctl for updating the layer position asynchronously. Initially, pipes 43 LAYER FLAG CONFIGURATION 45 /* left-right layer flip flag */ 48 /* up-down layer flip flag */ 52 * This flag enables pixel extension for the current layer. Validate/commit 57 /* Flag indicates that layer is foreground layer */ 60 /* Flag indicates that layer is associated with secure session */ 64 * Flag indicates that layer is drawing solid fill. Validate/commit call 69 /* Layer format is deinterlace * [all...] |
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
VmsPublisherClientMockService.java | 34 * subscribers without them actively being subscribed to a layer, and also echos all the 35 * subscription requests with an offering for that layer. 37 * to layer X. If a client will subscribe later to layer Y, this service will respond with offering 68 for (VmsLayer layer : subscriptionState.getLayers()) { 69 if (layer.equals(VmsPublisherSubscriberTest.LAYER)) { 70 publish(VmsPublisherSubscriberTest.LAYER, 81 for( VmsLayer layer : subscriptionState.getLayers()) { 82 dependencies.add(new VmsLayerDependency(layer)); [all...] |
/external/iproute2/tc/ |
em_cmp.c | 33 " ATTRS := [ layer LAYER ] [ mask MASK ] [ trans ]\n" \ 34 " LAYER := { link | network | transport | 0..%d }\n" \ 36 "Example: cmp(u16 at 3 layer 2 mask 0xff00 gt 20)\n", 45 unsigned long offset = 0, layer = TCF_LAYER_NETWORK, mask = 0, value = 0; local 76 } else if (!bstrcmp(a, "layer")) { 81 layer = parse_layer(a); 82 if (layer == INT_MAX) { 83 layer = bstrtoul(a); 84 if (layer == ULONG_MAX [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
VmsUtils.cpp | 48 std::unique_ptr<VehiclePropValue> createSubscribeMessage(const VmsLayer& layer) { 50 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::SUBSCRIBE), layer.type, 51 layer.subtype, layer.version}; 59 toInt(VmsMessageType::SUBSCRIBE_TO_PUBLISHER), layer_publisher.layer.type, 60 layer_publisher.layer.subtype, layer_publisher.layer.version, layer_publisher.publisher_id}; 64 std::unique_ptr<VehiclePropValue> createUnsubscribeMessage(const VmsLayer& layer) { 66 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::UNSUBSCRIBE), layer.type, 67 layer.subtype, layer.version} [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/ |
run_wrap_objects_tests.sh | 5 # Check for insertion of wrap-objects layer. 13 echo "$output" | grep -q "Insert instance layer VK_LAYER_LUNARG_wrap_objects" 22 echo "$output" | grep -q "Insert device layer VK_LAYER_LUNARG_wrap_objects" 32 # Check for insertion of wrap-objects layer in front. 40 echo "$output" | grep -q "Insert instance layer VK_LAYER_LUNARG_wrap_objects" 49 echo "$output" | grep -q "Insert device layer VK_LAYER_LUNARG_wrap_objects" 59 # Check for insertion of wrap-objects layer in back. 67 echo "$output" | grep -q "Insert instance layer VK_LAYER_LUNARG_wrap_objects" 76 echo "$output" | grep -q "Insert device layer VK_LAYER_LUNARG_wrap_objects" 86 # Check for insertion of wrap-objects layer in middle [all...] |
/device/google/cuttlefish_common/guest/hals/hwcomposer/ |
hwcomposer.cpp | 36 // Ensures that the layer does not include any inconsistencies 37 int SanityCheckLayer(const hwc_layer_1& layer) { 39 if (layer.displayFrame.left > layer.displayFrame.right || 40 layer.displayFrame.top > layer.displayFrame.bottom) { 44 __FUNCTION__, layer.displayFrame.left, layer.displayFrame.right, 45 layer.displayFrame.top, layer.displayFrame.bottom) [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_mdpcomp.h | 88 /* per layer data */ 97 /* maps layer list to mdp list */ 101 /* maps mdp list to layer list */ 105 /* layer composing on FB? */ 142 virtual int configure(hwc_context_t *ctx, hwc_layer_1_t *layer, 144 /* Increments mdpCount if 4k2k yuv layer split is enabled. 145 * updates framebuffer z order if fb lies above source-split layer */ 148 /* configures 4kx2k yuv layer*/ 149 virtual int configure4k2kYuv(hwc_context_t *ctx, hwc_layer_1_t *layer, 154 /* Calculates the dirtyRegion for the given layer */ [all...] |
/external/syslinux/gpxe/src/net/ |
arp.c | 43 /** Network-layer protocol */ 45 /** Link-layer protocol */ 47 /** Network-layer address */ 49 /** Link-layer address */ 56 * network-layer protocols and link-layer protocols. 71 * @v ll_protocol Link-layer protocol 72 * @v net_protocol Network-layer protocol 73 * @v net_addr Network-layer address 94 * Look up media-specific link-layer address in the ARP cach [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
Hwc2Test.cpp | 71 hwc2_layer_t layer = itr->second; local 73 /* Destroys and removes the layer from mLayers */ 74 destroyLayer(display, layer); 160 ASSERT_EQ(err, HWC2_ERROR_NONE) << "failed to create layer"; 164 void destroyLayer(hwc2_display_t display, hwc2_layer_t layer, 171 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, display, layer)); 174 mLayers.erase(std::make_pair(display, layer)); 179 ASSERT_EQ(err, HWC2_ERROR_NONE) << "failed to destroy layer " 180 << layer; 360 void setLayerCompositionType(hwc2_display_t display, hwc2_layer_t layer, 723 auto layer = std::find(layers.begin(), layers.end(), local 1139 hwc2_layer_t layer; local 1254 hwc2_layer_t layer; local 1286 hwc2_layer_t layer; local 1357 hwc2_layer_t layer = 0; local 1396 hwc2_layer_t layer; local 2323 hwc2_layer_t layer; local 2335 hwc2_layer_t layer; local 2367 hwc2_layer_t layer = 0; local 2386 hwc2_layer_t layer; local 3058 hwc2_layer_t layer = 0; local 3399 hwc2_layer_t layer; local [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 306 auto layer = local 308 EXPECT_NE(nullptr, layer.get()) << "failed to create SurfaceControl"; 311 .setLayerStack(layer, mDisplayLayerStack) 312 .setLayer(layer, mLayerZBase) 316 layer.clear(); 319 return layer; 322 ANativeWindow_Buffer getLayerBuffer(const sp<SurfaceControl>& layer) { 327 EXPECT_EQ(NO_ERROR, layer->getSurface()->lock(&buffer, nullptr)); 332 void postLayerBuffer(const sp<SurfaceControl>& layer) { 333 ASSERT_EQ(NO_ERROR, layer->getSurface()->unlockAndPost()) 408 sp<SurfaceControl> layer; local 429 sp<SurfaceControl> layer; local 451 sp<SurfaceControl> layer; local 469 sp<SurfaceControl> layer; local 490 sp<SurfaceControl> layer; local 512 sp<SurfaceControl> layer; local 544 sp<SurfaceControl> layer; local 568 sp<SurfaceControl> layer; local 594 sp<SurfaceControl> layer; local 787 sp<SurfaceControl> layer; local 831 sp<SurfaceControl> layer; local 853 sp<SurfaceControl> layer; local 936 sp<SurfaceControl> layer; local 1048 sp<SurfaceControl> layer; local 1066 sp<SurfaceControl> layer; local 1108 sp<SurfaceControl> layer; local 1131 sp<SurfaceControl> layer; local 1152 sp<SurfaceControl> layer; local 1166 sp<SurfaceControl> layer; local 1186 sp<SurfaceControl> layer; local 1198 sp<SurfaceControl> layer; local 1216 sp<SurfaceControl> layer; local 1227 sp<SurfaceControl> layer; local 1240 sp<SurfaceControl> layer; local 1255 sp<SurfaceControl> layer; local 1278 sp<SurfaceControl> layer; local 1312 sp<SurfaceControl> layer; local 1343 sp<SurfaceControl> layer; local 1356 sp<SurfaceControl> layer; local 1375 sp<SurfaceControl> layer; local 1387 sp<SurfaceControl> layer; local 1399 sp<SurfaceControl> layer; local 1414 sp<SurfaceControl> layer; local 1437 sp<SurfaceControl> layer; local 1474 sp<SurfaceControl> layer; local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
RefocusFilter.java | 60 * each blending layer, focal depth, etc. For details, please refer to the 102 // Sets up target layer info in Render Script. 106 // For a layer that is behind the focal depth, its back depth has the 108 // of this layer. 115 // Marks active pixels (pixels that on this layer). 119 // and use the distance value as matte for layer blending later. 122 // Computes filtering for pixels on the target layer and saves the 141 // the first pass from back-most layer to focus layer {@code 145 // Sets up target layer info in Render Script [all...] |
layer_info.rsh | 4 // An object that contains the front and back depths values of a layer 6 // Front and back depth values of this layer. 13 // layer. 15 // The max kernel radius of a layer.
|
layer_info_fast.rsh | 4 // An object that contains the front and back depths values of a layer 6 // Front and back depth values of this layer. 13 // layer. 15 // The max kernel radius of a layer.
|
/frameworks/base/libs/hwui/ |
FrameBuilder.h | 44 * reorder and merge each op as it is resolved for drawing efficiency. Each layer of content (either 121 LayerBuilder& layer = *(mLayerBuilders[i]); local 122 if (layer.renderNode) { 123 // cached HW layer - can't skip layer if empty 124 renderer.startRepaintLayer(layer.offscreenBuffer, layer.repaintRect); 126 layer.replayBakedOpsImpl((void*)&renderer, unmergedReceivers, mergedReceivers); 129 } else if (!layer.empty()) { 130 // save layer - skip entire layer if empty (in which case, LayerOp has null layer) [all...] |
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
RefocusFilter.java | 59 * each blending layer, focal depth, etc. For details, please refer to the 101 // Sets up target layer info in Render Script. 105 // For a layer that is behind the focal depth, its back depth has the 107 // of this layer. 114 // Marks active pixels (pixels that on this layer). 118 // and use the distance value as matte for layer blending later. 121 // Computes filtering for pixels on the target layer and saves the 140 // the first pass from back-most layer to focus layer {@code 144 // Sets up target layer info in Render Script [all...] |
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
VmsRoutingTest.java | 53 // Add a subscription to a layer. 76 // Add a subscription to a layer. 81 // Add a HAL subscription to a layer there is already another subscriber for. 95 // Add a subscription to a layer. 102 // Remove a subscription to a layer. 115 // Add a subscription to a layer. 119 // Add a subscription without a layer. 123 // Verify 2 subscribers for the layer. 128 // Add the subscriber with layer as also a subscriber without layer [all...] |
/device/google/cuttlefish_common/guest/hals/hwcomposer/legacy/ |
hwcomposer.cpp | 117 log_line = "Invalid layer: "; 125 // Ensures that the layer does not include any inconsistencies 126 bool IsValidLayer(const vsoc_hwc_layer& layer) { 127 if (layer.flags & HWC_SKIP_LAYER) { 128 // A layer we are asked to skip validate should not be marked as skip 129 ALOGE("%s: Layer is marked as skip", __FUNCTION__); 133 if (layer.displayFrame.left > layer.displayFrame.right || 134 layer.displayFrame.top > layer.displayFrame.bottom) [all...] |
/external/iproute2/include/uapi/linux/tc_ematch/ |
tc_em_nbyte.h | 11 __u8 layer:4; member in struct:tcf_em_nbyte
|