/external/tensorflow/tensorflow/contrib/bayesflow/python/ops/ |
layers_conv_variational.py | 15 """Convolutional variational layer classes and their functional aliases. 38 class _ConvVariational(layers_lib.Layer): 39 """Abstract nD convolution layer (private, used as implementation base). 41 This layer creates a convolution kernel that is convolved 42 (actually cross-correlated) with the layer input to produce a tensor of 47 By default, the layer implements a stochastic forward pass via 52 where f denotes the layer's calculation. 115 name: A string, the name of the layer. 353 """Abstract nD convolution layer (private, used as implementation base). 355 This layer creates a convolution kernel that is convolve [all...] |
layers_dense_variational.py | 15 """Dense Bayesian layer using KL-divergence based variational inference. 36 class _DenseVariational(layers_lib.Layer): 39 This layer implements the Bayesian variational inference analogue to 40 a dense layer by assuming the `kernel` and/or the `bias` are drawn 41 from distributions. By default, the layer implements a stochastic 92 name: Python `str`, the name of the layer. Layers with the same name will 96 layer by the same name. 257 """Densely-connected layer class with reparameterization estimator. 259 This layer implements the Bayesian variational inference analogue to 260 a dense layer by assuming the `kernel` and/or the `bias` are draw [all...] |
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
hw_device.cpp | 198 DLOGD_IF(kTagDriverConfig, "SDE layer count is %d", hw_layer_count); 209 const Layer &layer = hw_layer_info.hw_layers.at(i); local 210 LayerBuffer input_buffer = layer.input_buffer; 215 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer.flags.cursor); 234 if (layer.flags.solid_fill) { 242 mdp_layer.alpha = layer.plane_alpha; 245 SetBlending(layer.blending, &mdp_layer.blend_op); 254 SetMDPFlags(&layer, is_rotator_used, is_cursor_pipe_used, &mdp_layer.flags); 255 SetCSC(layer.input_buffer.color_metadata, &mdp_layer.color_space) 398 const mdp_input_layer &layer = mdp_layers[i]; local 426 const Layer &layer = hw_layer_info.hw_layers.at(i); local 528 const Layer &layer = hw_layer_info.hw_layers.at(i); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
display_base.cpp | 143 std::vector<Layer *> &layers = layer_stack->layers; 148 for (auto &layer : layers) { 149 if (layer->composition == kCompositionGPUTarget) { 161 DLOGW("Layer count is zero"); 174 Layer *gpu_target_layer = hw_layers_info.stack->layers.at(hw_layers_info.gpu_target_index); 177 DLOGE("Invalid src rect for GPU target layer"); 182 DLOGE("Invalid dst rect for GPU target layer"); 202 DLOGE("GPU target layer dst rect is not with in limits gpu wxh %fx%f, mixer wxh %dx%d", 286 // Layer stack attributes has changed, need to Reconfigure, currently in use for Hybrid Comp 573 // sdm-layer from client layer stac 1127 Layer *layer = layers.at(i); local 1142 Layer *layer = layers.at(max_area_layer_index); local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
hw_device.cpp | 194 DLOGV_IF(kTagDriverConfig, "SDE layer count is %d", hw_layer_count); 205 const Layer &layer = hw_layer_info.hw_layers.at(i); local 206 LayerBuffer input_buffer = layer.input_buffer; 211 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer.flags.cursor); 230 if (layer.flags.solid_fill) { 238 mdp_layer.alpha = layer.plane_alpha; 241 SetBlending(layer.blending, &mdp_layer.blend_op); 250 SetMDPFlags(&layer, is_rotator_used, is_cursor_pipe_used, &mdp_layer.flags); 251 SetCSC(layer.input_buffer.color_metadata, &mdp_layer.color_space) 394 const mdp_input_layer &layer = mdp_layers[i]; local 422 const Layer &layer = hw_layer_info.hw_layers.at(i); local 524 const Layer &layer = hw_layer_info.hw_layers.at(i); local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/ |
display_base.cpp | 147 std::vector<Layer *> &layers = layer_stack->layers; 152 for (auto &layer : layers) { 153 if (layer->composition == kCompositionGPUTarget) { 165 DLOGW("Layer count is zero"); 178 Layer *gpu_target_layer = hw_layers_info.stack->layers.at(hw_layers_info.gpu_target_index); 181 DLOGE("Invalid src rect for GPU target layer"); 186 DLOGE("Invalid dst rect for GPU target layer"); 206 DLOGE("GPU target layer dst rect is not with in limits gpu wxh %fx%f, mixer wxh %dx%d", 290 // Layer stack attributes has changed, need to Reconfigure, currently in use for Hybrid Comp 589 // sdm-layer from client layer stac 1146 Layer *layer = layers.at(i); local 1161 Layer *layer = layers.at(max_area_layer_index); local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
hw_device.cpp | 195 DLOGV_IF(kTagDriverConfig, "SDE layer count is %d", hw_layer_count); 206 const Layer &layer = hw_layer_info.hw_layers.at(i); local 207 LayerBuffer input_buffer = layer.input_buffer; 212 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer.flags.cursor); 231 if (layer.flags.solid_fill) { 239 mdp_layer.alpha = layer.plane_alpha; 242 SetBlending(layer.blending, &mdp_layer.blend_op); 249 SetMDPFlags(&layer, is_rotator_used, is_cursor_pipe_used, &mdp_layer.flags); 250 SetCSC(layer.input_buffer.color_metadata, &mdp_layer.color_space) 390 const mdp_input_layer &layer = mdp_layers[i]; local 418 const Layer &layer = hw_layer_info.hw_layers.at(i); local 520 const Layer &layer = hw_layer_info.hw_layers.at(i); local [all...] |
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 17 * This test also allows for settings temporal layers for each spatial layer. 162 /* This sets all the temporal layer parameters given |num_temporal_layers|, 172 /* 1-layer */ 185 /* 2-layers, with sync point at first frame of layer 1. */ 200 // Layer 0: predict from L and ARF, update L and G. 203 // Layer 1: sync point: predict from L and ARF, and update G. 207 // Layer 0, predict from L and ARF, update L. 211 // Layer 1: predict from L, G and ARF, and update G. 215 // Layer 0 218 // Layer [all...] |
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/ |
core_layers.py | 15 """Contains the core layer classes for model pruning and its functional aliases. 41 class _MaskedConv(base.Layer): 42 """Abstract nD convolution layer (private, used as implementation base). 44 This layer creates a convolution kernel that is convolved 45 (actually cross-correlated) with the layer input to produce a tensor of 46 outputs. The weight tensor of this layer is masked. 73 use_bias: Boolean, whether the layer uses a bias. 82 name: A string, the name of the layer. 244 """2D convolution layer (e.g. spatial convolution over images). 246 This layer creates a convolution kernel that is convolve [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
recurrent.py | 32 from tensorflow.python.keras._impl.keras.engine import Layer 40 class StackedRNNCells(Layer): 80 # e.g. states of a 2-layer LSTM would be 127 if isinstance(cell, Layer): 165 if isinstance(cell, Layer): 173 if isinstance(cell, Layer): 178 if isinstance(cell, Layer): 191 if isinstance(cell, Layer): 204 if isinstance(cell, Layer): 216 if isinstance(cell, Layer) [all...] |
merge_test.py | 51 layer = keras.layers.Add() 52 o = layer([m1, i2]) 54 mask = layer.output_mask 60 layer = keras.layers.Add() 61 o = layer([i1, i2]) 149 layer = keras.layers.Concatenate() 150 o = layer([m1, i2]) 152 mask = layer.output_mask 192 layer = keras.layers.Dot(axes=-1) 193 self.assertEqual(layer.compute_output_shape([(4, 5), (4, 5)]), (4, 1) [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
Hwc2TestBuffer.cpp | 467 * Takes into account the individual layer properties such as 496 /* Cycle through each layer from back to front and 498 for (auto layer = layersToDraw->rbegin(); 499 layer != layersToDraw->rend(); ++layer) { 501 const hwc_rect_t df = testLayers->getDisplayFrame(*layer); 508 /* If the pixel location falls outside of the layer display 509 * frame, skip the layer. */ 513 /* If the device has requested the layer be clear, clear 515 if (clearLayers->count(*layer) != 0) [all...] |
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/ |
HWC2OnFbAdapter.cpp | 429 int32_t destroyLayerHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer) { 435 if (adapter.removeLayer(layer)) { 443 int32_t setCursorPositionHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t /*layer*/, 454 int32_t setLayerBufferHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer, 465 if (!adapter.hasLayer(layer)) { 473 int32_t setLayerSurfaceDamageHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer, 479 if (!adapter.hasLayer(layer)) { 488 hwc2_layer_t layer, int32_t type) { 493 if (!adapter.markLayerDirty(layer, type != HWC2_COMPOSITION_CLIENT)) { 502 int32_t setLayerStateHook(hwc2_device_t* device, hwc2_display_t display, hwc2_layer_t layer, [all...] |
/external/libxcam/cl_kernel/ |
kernel_wavelet_coeff.cl | 26 __kernel void kernel_wavelet_coeff_variance (__read_only image2d_t input, __write_only image2d_t output, int layer) 176 * layer: wavelet decomposition layer 184 int layer, int decomLevels, 217 coeff_var_hl = 65025 * (1 << 2 * layer) * read_imagef(var_hl, sampler, (int2)(x, y)); 218 coeff_var_lh = 65025 * (1 << 2 * layer) * read_imagef(var_lh, sampler, (int2)(x, y)); 219 coeff_var_hh = 65025 * (1 << 2 * layer) * read_imagef(var_hh, sampler, (int2)(x, y)); 230 thresh_hl = (ag_weight * noise_var / stddev_hl) / (255 * (1 << layer)); 231 thresh_lh = (ag_weight * noise_var / stddev_lh) / (255 * (1 << layer)); 232 thresh_hh = (ag_weight * noise_var / stddev_hh) / (255 * (1 << layer)); [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
vc1parse_ppic_adv.c | 9 // Description: Parses VC-1 picture layer for progressive P picture in advanced
17 * Parse picture layer. This function parses progressive P picture for advanced
21 * layer.
119 /* Skip parsing of macroblock layer. */
125 * Parse picture layer. This function parses interlace P frame for advanced
129 * layer.
195 /* Skip parsing of macroblock layer. */
201 * Parse picture layer. This function parses interlace P field for advanced
205 * layer.
365 /* Skip parsing of macroblock layer. */ [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
esextcTextureBorderClampSamplingTexture.cpp | 497 /* Configure layer (third texture coordinate) */ 498 glw::GLint layerLocation = gl.getUniformLocation(m_po_id, "layer"); 499 GLU_EXPECT_NO_ERROR(gl.getError(), "Error getting layer uniform location!"); 502 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting layer uniform variable!"); 535 * For GL_NEAREST filtering and GL_TEXTURE_3D texture target and Layer equal to 726 glw::GLint layer) 751 return checkNearest(resultData, expectedValue, expectedBorderColor, layer); 755 return checkLinear(resultData, layer); 888 coordAssignment = "vec3(texture_coords_in, layer)"; 903 "uniform float layer;\n [all...] |
/external/drm_hwcomposer/ |
drmhwctwo.cpp | 251 HWC2::Error DrmHwcTwo::HwcDisplay::CreateLayer(hwc2_layer_t *layer) { 254 *layer = static_cast<hwc2_layer_t>(layer_idx_); 259 HWC2::Error DrmHwcTwo::HwcDisplay::DestroyLayer(hwc2_layer_t layer) { 261 layers_.erase(layer); 503 // Place it at the z_order of the highest client layer 516 DrmHwcLayer layer; local 517 l.second->PopulateDrmLayer(&layer); 518 int ret = layer.ImportBuffer(importer_.get(), gralloc_); 520 ALOGE("Failed to import layer, ret=%d", ret); 523 map.layers.emplace_back(std::move(layer)); 696 DrmHwcTwo::HwcLayer &layer = l.second; local [all...] |
glworker.cpp | 311 const DrmHwcLayer &layer = layers[texture_index]; local 313 DrmHwcRect<float> display_rect(layer.display_frame); 317 float tex_width = layer.buffer->width; 318 float tex_height = layer.buffer->height; 319 DrmHwcRect<float> crop_rect(layer.source_crop.left / tex_width, 320 layer.source_crop.top / tex_height, 321 layer.source_crop.right / tex_width, 322 layer.source_crop.bottom / tex_height); 334 if (layer.transform == DrmHwcTransform::kRotate180) { 338 } else if (layer.transform == DrmHwcTransform::kRotate270) 581 DrmHwcLayer *layer = &layers[layer_index]; local [all...] |
/hardware/qcom/display/msm8909/sdm/libs/core/ |
display_base.cpp | 148 std::vector<Layer *> &layers = layer_stack->layers; 153 for (auto &layer : layers) { 154 if (layer->composition == kCompositionGPUTarget) { 166 DLOGW("Layer count is zero"); 179 Layer *gpu_target_layer = hw_layers_info.stack->layers.at(hw_layers_info.gpu_target_index); 182 DLOGE("Invalid src rect for GPU target layer"); 187 DLOGE("Invalid dst rect for GPU target layer"); 207 DLOGE("GPU target layer dst rect is not with in limits gpu wxh %fx%f, mixer wxh %dx%d", 293 // Layer stack attributes has changed, need to Reconfigure, currently in use for Hybrid Comp 588 // hw-layer from hw layers inf 1147 Layer *layer = layers.at(i); local 1163 Layer *layer = layers.at(max_area_layer_index); local [all...] |
/external/syslinux/gpxe/src/net/ |
ipv4.c | 262 * Determine link-layer address 267 * @v ll_dest Link-layer destination address buffer 292 * @v tcpip Transport-layer protocol 293 * @v st_src Source network-layer address 294 * @v st_dest Destination network-layer address 296 * @v trans_csum Transport-layer checksum to complete, or NULL 299 * This function expects a transport-layer segment and prepends the IP header 341 /* Determine link-layer destination address */ 344 DBG ( "IPv4 has no link-layer address for %s: %s\n", 360 /* Hand off to link layer */ [all...] |
/external/tensorflow/tensorflow/contrib/eager/python/examples/resnet50/ |
resnet50.py | 34 """_IdentityBlock is the block that has no conv layer at shortcut. 37 kernel_size: the kernel size of middle conv layer at main path 38 filters: list of integers, the filters of 3 conv layer at main path 39 stage: integer, current stage label, used for generating layer names 40 block: 'a','b'..., current block label, used for generating layer names 96 """_ConvBlock is the block that has a conv layer at shortcut. 99 kernel_size: the kernel size of middle conv layer at main path 100 filters: list of integers, the filters of 3 conv layer at main path 101 stage: integer, current stage label, used for generating layer names 102 block: 'a','b'..., current block label, used for generating layer name [all...] |
/external/tensorflow/tensorflow/contrib/kfac/examples/ |
mlp.py | 17 This library fits a 3-layer, tanh-activated MLP on MNIST using K-FAC. After 40 """Builds a fully connected layer. 43 layer_id: int. Integer ID for this layer's variables. 46 output_size: int. Number of output dimensions after fully connected layer. 50 layer immediately before the activation function. 52 layer immediately after the activation function. 53 params: Tuple of (weights, bias), parameters for this layer. 56 layer = tf.layers.Dense( 60 preactivations = layer(inputs) 63 # layer.weights is a list. This converts it a (hashable) tuple [all...] |
/frameworks/base/core/java/android/view/ |
DisplayListCanvas.java | 193 // Hardware layer 197 * Draws the specified layer onto this canvas. 199 * @param layer The layer to composite on this canvas 201 void drawTextureLayer(TextureLayer layer) { 202 nDrawTextureLayer(mNativeCanvasWrapper, layer.getLayerHandle()); 260 private static native void nDrawTextureLayer(long renderer, long layer);
|
/frameworks/base/libs/hwui/ |
Snapshot.h | 30 #include "Layer.h" 89 * a new layer. 93 * Indicates that this snapshot is a special type of layer 198 * A pointer to the currently active layer. 200 * This snapshot does not own the layer, this pointer must not be freed. 202 Layer* layer; member in class:android::uirenderer::Snapshot
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
HwcHal.h | 43 using V2_1::Layer; 78 Display display, Layer layer, 93 int32_t error = mDispatch.setLayerPerFrameMetadata(mDevice, display, layer, metadata.size(), 157 Error setLayerFloatColor(Display display, Layer layer, 164 mDevice, display, layer, hwc_float_color{color.r, color.g, color.b, color.a});
|