/external/tensorflow/tensorflow/python/layers/ |
D | base_test.py | 43 layer = base_layers.Layer(name='my_layer') 44 self.assertEqual(layer.variables, []) 45 self.assertEqual(layer.trainable_variables, []) 46 self.assertEqual(layer.non_trainable_variables, []) 49 self.assertEqual(layer.updates, []) 50 self.assertEqual(layer.losses, []) 51 self.assertEqual(layer.built, False) 52 layer = base_layers.Layer(name='my_layer', trainable=False) 53 self.assertEqual(layer.trainable, False) 57 layer = base_layers.Layer(name='my_layer') [all …]
|
D | convolutional_test.py | 67 layer = conv_layers.Conv2D(32, [3, 3], activation=nn_ops.relu) 68 output = layer.apply(images) 72 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32]) 73 self.assertListEqual(layer.bias.get_shape().as_list(), [32]) 85 layer = conv_layers.Conv2D(32, 3) 86 output = layer.apply(images) 89 self.assertListEqual(layer.kernel.get_shape().as_list(), [3, 3, 4, 32]) 90 self.assertListEqual(layer.bias.get_shape().as_list(), [32]) 95 layer = conv_layers.Conv2D(32, [3, 3], data_format='channels_first') 96 output = layer.apply(images) [all …]
|
D | pooling_test.py | 56 layer = pooling_layers.MaxPooling2D([2, 2], strides=2) 57 output = layer.apply(images) 63 layer = pooling_layers.AveragePooling2D([2, 2], strides=2) 64 output = layer.apply(images) 70 layer = pooling_layers.MaxPooling2D([2, 2], 73 output = layer.apply(images) 79 layer = pooling_layers.AveragePooling2D((2, 2), 83 output = layer.apply(images) 90 layer = pooling_layers.AveragePooling2D((2, 2), 94 output = layer.apply(images) [all …]
|
D | network.py | 336 layer, node_index, tensor_index = x._keras_history 337 if len(layer._inbound_nodes) > 1 or ( 338 layer._inbound_nodes and layer._inbound_nodes[0].inbound_layers): 346 'it was generated by layer ' + layer.name + '.\n' 360 layer, node_index, tensor_index = x._keras_history # pylint: disable=protected-access 361 self._output_layers.append(layer) 362 self._output_coordinates.append((layer, node_index, tensor_index)) 366 layer, node_index, tensor_index = x._keras_history # pylint: disable=protected-access 371 self._input_layers.append(layer) 372 self._input_coordinates.append((layer, node_index, tensor_index)) [all …]
|
/external/skqp/tests/ |
D | GpuLayerCacheTest.cpp | 40 static int Uses(GrCachedLayer* layer) { 41 return layer->uses(); 59 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), 66 REPORTER_ASSERT(reporter, layer); 69 REPORTER_ASSERT(reporter, temp == layer); 73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); 74 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1); 75 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); 76 REPORTER_ASSERT(reporter, !layer->texture()); 77 REPORTER_ASSERT(reporter, !layer->paint()); [all …]
|
/external/skia/tests/ |
D | GpuLayerCacheTest.cpp | 40 static int Uses(GrCachedLayer* layer) { 41 return layer->uses(); 59 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), 66 REPORTER_ASSERT(reporter, layer); 69 REPORTER_ASSERT(reporter, temp == layer); 73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); 74 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1); 75 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); 76 REPORTER_ASSERT(reporter, !layer->texture()); 77 REPORTER_ASSERT(reporter, !layer->paint()); [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor.c | 610 default_rect(struct vl_compositor_layer *layer) in default_rect() argument 612 struct pipe_resource *res = layer->sampler_views[0]->texture; in default_rect() 632 calc_src_and_dst(struct vl_compositor_layer *layer, unsigned width, unsigned height, in calc_src_and_dst() argument 637 layer->src.tl = calc_topleft(size, src); in calc_src_and_dst() 638 layer->src.br = calc_bottomright(size, src); in calc_src_and_dst() 639 layer->dst.tl = calc_topleft(size, dst); in calc_src_and_dst() 640 layer->dst.br = calc_bottomright(size, dst); in calc_src_and_dst() 641 layer->zw.x = 0.0f; in calc_src_and_dst() 642 layer->zw.y = size.y; in calc_src_and_dst() 646 gen_rect_verts(struct vertex2f *vb, struct vl_compositor_layer *layer) in gen_rect_verts() argument [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | screenshare_layers_unittest.cc | 48 EXPECT_EQ(expected_.layer[layer_id].upd_buf, in EqualRefsForLayer() 49 actual.layer[layer_id].upd_buf); in EqualRefsForLayer() 50 EXPECT_EQ(expected_.layer[layer_id].ref_buf1, in EqualRefsForLayer() 51 actual.layer[layer_id].ref_buf1); in EqualRefsForLayer() 52 EXPECT_EQ(expected_.layer[layer_id].ref_buf2, in EqualRefsForLayer() 53 actual.layer[layer_id].ref_buf2); in EqualRefsForLayer() 54 EXPECT_EQ(expected_.layer[layer_id].ref_buf3, in EqualRefsForLayer() 55 actual.layer[layer_id].ref_buf3); in EqualRefsForLayer() 94 expected_.layer[l].upd_buf = l; in TEST_F() 100 expected_.layer[l].ref_buf1 = l; in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/ |
D | topology.py | 734 for i, layer in enumerate(self._input_layers): 735 self.input_names.append(layer.name) 736 if layer.is_placeholder: 737 self._feed_input_names.append(layer.name) 741 self._feed_inputs.append(layer.input) 742 for layer in self._output_layers: 743 self.output_names.append(layer.name) 808 return any([(hasattr(layer, 'stateful') and layer.stateful) 809 for layer in self.layers]) 812 for layer in self.layers: [all …]
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
D | convolutional_test.py | 75 layer = keras.layers.Conv1D(**kwargs) 76 layer.build((None, 5, 2)) 77 self.assertEqual(len(layer.losses), 2) 78 layer(keras.backend.variable(np.ones((1, 5, 2)))) 79 self.assertEqual(len(layer.losses), 3) 94 layer = keras.layers.Conv1D(**kwargs) 95 layer.build((None, 5, 2)) 96 self.assertEqual(layer.kernel.constraint, k_constraint) 97 self.assertEqual(layer.bias.constraint, b_constraint) 149 layer = keras.layers.Conv2D(**kwargs) [all …]
|
D | recurrent_test.py | 51 layer = keras.layers.RNN(cell) 52 y = layer(x) 61 layer = keras.layers.RNN(cells) 62 y = layer(x) 89 layer = keras.layers.RNN(cell) 90 y = layer(x) 99 layer = keras.layers.RNN(cells) 100 assert layer.cell.state_size == (32, 32, 16, 16, 8, 8) 101 y = layer(x) 140 layer = keras.layers.RNN(cell) [all …]
|
D | lstm_test.py | 53 layer = keras.layers.LSTM(units, return_sequences=True) 54 model.add(layer) 64 layer = keras.layers.LSTM(units, input_shape=(None, embedding_dim)) 66 model.add(layer) 113 layer = layer_class( 115 model.add(layer) 130 layer.reset_states() 144 layer.reset_states() 151 layer.reset_states() 164 layer = layer_class( [all …]
|
D | wrappers.py | 46 def __init__(self, layer, **kwargs): argument 47 self.layer = layer 59 if hasattr(self.layer, 'activity_regularizer'): 60 return self.layer.activity_regularizer 66 return self.layer.trainable 70 self.layer.trainable = value 74 return self.layer.trainable_weights 78 return self.layer.non_trainable_weights 82 return self.layer.updates + self._updates 86 return self.layer.losses + self._losses [all …]
|
D | 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 …]
|
/external/walt/hardware/kicad/ |
D | WALTsm.kicad_pcb | 204 (module Capacitors_SMD:C_0805 (layer F.Cu) (tedit 58B4C36B) (tstamp 5766179B) 210 (fp_text reference C1 (at -2.667 0.42) (layer F.SilkS) 213 (fp_text value 0.1uF (at 0.381 0) (layer F.Fab) 216 (fp_line (start -1.8 -1) (end 1.8 -1) (layer F.CrtYd) (width 0.05)) 217 (fp_line (start -1.8 1) (end 1.8 1) (layer F.CrtYd) (width 0.05)) 218 (fp_line (start -1.8 -1) (end -1.8 1) (layer F.CrtYd) (width 0.05)) 219 (fp_line (start 1.8 -1) (end 1.8 1) (layer F.CrtYd) (width 0.05)) 220 (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.15)) 221 (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.15)) 233 (module walt_footprints:R_0603_pad07mm_long (layer F.Cu) (tedit 57B60F33) (tstamp 576617B3) [all …]
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
D | network.py | 306 def track_layer(self, layer): argument 325 if not isinstance(layer, base.Layer): 328 (type(layer),)) 329 if isinstance(layer, Network): 330 layer._finalize_name(parent_network=self) 337 if not layer.built: 338 if not hasattr(layer, "_first_parent"): 341 dereferenced_layer_first_parent = layer._first_parent() 343 if layer._name != layer._base_name: 347 layer._name, layer._base_name = layer._make_unique_name( [all …]
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/ |
D | vis_utils.py | 84 for layer in layers: 85 layer_id = str(id(layer)) 88 layer_name = layer.name 89 class_name = layer.__class__.__name__ 90 if isinstance(layer, Wrapper): 91 layer_name = '{}({})'.format(layer_name, layer.layer.name) 92 child_class_name = layer.layer.__class__.__name__ 104 outputlabels = str(layer.output_shape) 107 if hasattr(layer, 'input_shape'): 108 inputlabels = str(layer.input_shape) [all …]
|
/external/libxcam/modules/ocl/ |
D | cl_newwavelet_denoise_handler.cpp | 67 uint32_t layer) in CLWaveletNoiseEstimateKernel() argument 72 , _current_layer (layer) in CLWaveletNoiseEstimateKernel() 292 uint32_t layer) in CLWaveletThresholdingKernel() argument 296 , _current_layer (layer) in CLWaveletThresholdingKernel() 378 uint32_t layer, in CLWaveletTransformKernel() argument 384 , _current_layer (layer) in CLWaveletTransformKernel() 497 CLWaveletTransformKernel::get_decomp_buffer (uint32_t channel, int layer) in get_decomp_buffer() argument 501 buffer = _handler->get_decomp_buffer (channel, layer); in get_decomp_buffer() 505 XCAM_LOG_ERROR ("get channel(%d) layer(%d) decomposition buffer failed!", channel, layer); in get_decomp_buffer() 538 for (int layer = 1; layer <= WAVELET_DECOMPOSITION_LEVELS; layer++) { in prepare_output_buf() local [all …]
|
/external/skqp/tools/sk_app/ |
D | Window.cpp | 41 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated() argument 45 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar() argument 49 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey() argument 53 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse() argument 57 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel() argument 61 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch() argument 65 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument 78 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument 79 this->visitLayers([=](Layer* layer) { layer->onPaint(canvas); }); in onPaint() argument
|
/external/skia/tools/sk_app/ |
D | Window.cpp | 41 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated() argument 45 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar() argument 49 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey() argument 53 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse() argument 57 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel() argument 61 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch() argument 65 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument 78 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument 79 this->visitLayers([=](Layer* layer) { layer->onPaint(canvas); }); in onPaint() argument
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_lib.cpp | 264 UINT layer) { in transportDec_OutOfBandConfig() argument 295 if (layer != 0) { in transportDec_OutOfBandConfig() 314 hTp->asc[layer] = hTp->asc[(1 * 1)]; in transportDec_OutOfBandConfig() 316 hTp->callbacks.cbUpdateConfigData, &hTp->asc[layer], in transportDec_OutOfBandConfig() 317 hTp->asc[layer].configMode, &hTp->asc[layer].AacConfigChanged); in transportDec_OutOfBandConfig() 325 err = DrmRawSdcAudioConfig_Parse(&hTp->asc[layer], hBs, &hTp->callbacks, in transportDec_OutOfBandConfig() 331 hTp->callbacks.cbUpdateConfigData, &hTp->asc[layer], in transportDec_OutOfBandConfig() 332 hTp->asc[layer].configMode, &hTp->asc[layer].AacConfigChanged); in transportDec_OutOfBandConfig() 341 if ((i == 0) && (hTp->asc[layer].AacConfigChanged || in transportDec_OutOfBandConfig() 342 hTp->asc[layer].SbrConfigChanged || in transportDec_OutOfBandConfig() [all …]
|
/external/walt/hardware/kicad/walt_footprints.pretty/ |
D | TRRS_SJ_43514.kicad_mod | 1 (module TRRS_SJ_43514 (layer F.Cu) (tedit 5766AF92) 4 (fp_text reference REF** (at 3.81 3.81 180) (layer F.SilkS) 7 (fp_text value "TRRS JACK" (at 11.43 -4.445 90) (layer F.Fab) 10 (fp_line (start -2.9 1.905) (end -2.9 -10.795) (layer B.CrtYd) (width 0.15)) 11 (fp_line (start 10.16 -10.795) (end 10.16 1.905) (layer B.CrtYd) (width 0.15)) 12 (fp_line (start 10.16 1.905) (end -2.9 1.905) (layer B.CrtYd) (width 0.15)) 13 (fp_line (start -1.6 1.905) (end -1.6 -10.795) (layer B.CrtYd) (width 0.15)) 14 (fp_line (start -2.9 -10.795) (end 10.16 -10.795) (layer B.CrtYd) (width 0.15)) 15 (fp_line (start -1.6 -1.4) (end -5.1 -1.4) (layer B.CrtYd) (width 0.15)) 16 (fp_line (start -5.1 -1.4) (end -5.1 -7.55) (layer B.CrtYd) (width 0.15)) [all …]
|
D | BPW34_DIP2.kicad_mod | 1 (module BPW34_DIP2 (layer F.Cu) (tedit 571545A8) 4 (fp_text reference REF** (at 1.905 3.175) (layer F.SilkS) 7 (fp_text value Photodiode (at 2.52 -3.15) (layer F.Fab) 10 (fp_line (start 1.27 0) (end 3.81 1.905) (layer F.SilkS) (width 0.15)) 11 (fp_line (start 3.81 1.905) (end 3.81 -1.905) (layer F.SilkS) (width 0.15)) 12 (fp_line (start 3.81 -1.905) (end 1.27 0) (layer F.SilkS) (width 0.15)) 13 (fp_line (start 1.27 -1.905) (end 1.27 1.905) (layer F.SilkS) (width 0.15)) 14 (fp_line (start -1.27 -2.15) (end 6.35 -2.15) (layer F.CrtYd) (width 0.05)) 15 (fp_line (start 6.35 -2.15) (end 6.35 2.15) (layer F.CrtYd) (width 0.05)) 16 (fp_line (start 6.35 2.15) (end -1.27 2.15) (layer F.CrtYd) (width 0.05)) [all …]
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_latm.cpp | 194 int prog, layer; in transportEnc_LatmCountVarBitDemandHeader() local 199 for (layer = 0; layer < LATM_MAX_LAYERS; layer++) { in transportEnc_LatmCountVarBitDemandHeader() 200 LATM_LAYER_INFO *p_linfo = &(hAss->m_linfo[prog][layer]); in transportEnc_LatmCountVarBitDemandHeader() 239 for (layer = 0; layer < LATM_MAX_LAYERS; layer++) { in transportEnc_LatmCountVarBitDemandHeader() 240 LATM_LAYER_INFO *p_linfo = &(hAss->m_linfo[prog][layer]); in transportEnc_LatmCountVarBitDemandHeader() 290 int layer, prog; in CreateStreamMuxConfig() local 325 for (layer = 0; layer < LATM_MAX_LAYERS; layer++) { in CreateStreamMuxConfig() 326 LATM_LAYER_INFO *p_linfo = &(hAss->m_linfo[prog][layer]); in CreateStreamMuxConfig() 327 CODER_CONFIG *p_lci = hAss->config[prog][layer]; in CreateStreamMuxConfig() 331 if (hAss->config[prog][layer] != NULL) { in CreateStreamMuxConfig() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tile_cache.c | 58 pos = addr.bits.layer * (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE); in addr_to_clear_pos() 343 sp_tile_cache_flush_clear(struct softpipe_tile_cache *tc, int layer) in sp_tile_cache_flush_clear() argument 345 struct pipe_transfer *pt = tc->transfer[layer]; in sp_tile_cache_flush_clear() 346 const uint w = tc->transfer[layer]->box.width; in sp_tile_cache_flush_clear() 347 const uint h = tc->transfer[layer]->box.height; in sp_tile_cache_flush_clear() 363 union tile_address addr = tile_address(x, y, layer); in sp_tile_cache_flush_clear() 368 pipe_put_tile_raw(pt, tc->transfer_map[layer], in sp_tile_cache_flush_clear() 374 pipe_put_tile_ui_format(pt, tc->transfer_map[layer], in sp_tile_cache_flush_clear() 379 pipe_put_tile_i_format(pt, tc->transfer_map[layer], in sp_tile_cache_flush_clear() 384 pipe_put_tile_rgba(pt, tc->transfer_map[layer], in sp_tile_cache_flush_clear() [all …]
|