Home
last modified time | relevance | path

Searched refs:number_of_layers (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers_test.py61 number_of_layers = 5
71 for ix in range(number_of_layers):
76 self.assertEqual(len(masks), number_of_layers)
77 for ix in range(number_of_layers):
84 self.assertEqual(len(masked_weight), number_of_layers)
85 for ix in range(number_of_layers):
110 number_of_layers = 5
119 for ix in range(number_of_layers):
124 self.assertEqual(len(masks), number_of_layers)
125 for ix in range(number_of_layers):
[all …]
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dstrip_pruning_vars_test.py74 def _build_convolutional_model(self, number_of_layers): argument
83 for ix in range(number_of_layers):
92 def _build_fully_connected_model(self, number_of_layers): argument
101 for ix in range(number_of_layers):
107 def _build_lstm_model(self, number_of_layers): argument
117 [lstm_cell() for _ in range(number_of_layers)], state_is_tuple=True)
/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c329 if (cpi->oxcf.number_of_layers == 1) { in calc_iframe_target_size()
565 (cpi->oxcf.number_of_layers == 1)) { in calc_pframe_target_size()
867 if (cpi->oxcf.number_of_layers > 1) { in calc_pframe_target_size()
871 for (i = cpi->current_layer + 1; i < cpi->oxcf.number_of_layers; ++i) { in calc_pframe_target_size()
1041 if (cpi->oxcf.number_of_layers == 1 && !cpi->gf_noboost_onepass_cbr && in vp8_update_rate_correction_factors()
1118 if (cpi->oxcf.number_of_layers == 1 && !cpi->gf_noboost_onepass_cbr && in vp8_update_rate_correction_factors()
1143 } else if (cpi->oxcf.number_of_layers == 1 && in vp8_regulate_q()
1147 } else if (cpi->oxcf.number_of_layers == 1 && in vp8_regulate_q()
1163 if (cpi->oxcf.number_of_layers == 1 && !cpi->gf_noboost_onepass_cbr && in vp8_regulate_q()
1216 } else if (cpi->oxcf.number_of_layers == 1 && in vp8_regulate_q()
[all …]
Donyx_if.c333 const int curr_num_layers = cpi->oxcf.number_of_layers; in reset_temporal_layer_change()
844 if ((cpi->Speed <= 6) && (cpi->oxcf.number_of_layers > 1) && in vp8_set_speed_features()
1362 if (cpi->oxcf.number_of_layers > 1) { in init_config()
1366 for (i = 0; i < cpi->oxcf.number_of_layers; ++i) { in init_config()
1388 if (oxcf->number_of_layers > 1) { in update_layer_contexts()
1392 assert(oxcf->number_of_layers <= VPX_TS_MAX_LAYERS); in update_layer_contexts()
1393 for (i = 0; i < oxcf->number_of_layers && i < VPX_TS_MAX_LAYERS; ++i) { in update_layer_contexts()
1444 prev_number_of_layers = cpi->oxcf.number_of_layers; in vp8_change_config()
1632 if (cpi->oxcf.number_of_layers != prev_number_of_layers) { in vp8_change_config()
1848 if (cpi->oxcf.number_of_layers == 1) { in vp8_create_compressor()
[all …]
Dencodeframe.c623 } else if ((cpi->oxcf.number_of_layers > 1) && in init_encode_frame_mb_context()
626 } else if ((cpi->oxcf.number_of_layers > 1) && in init_encode_frame_mb_context()
951 ((cpi->oxcf.number_of_layers > 1) || in vp8_encode_frame()
1212 cpi->oxcf.number_of_layers == 1) { in vp8cx_encode_inter_macroblock()
Dpickinter.c69 if (cpi->oxcf.number_of_layers > 1) { in check_dot_artifact_candidate()
/external/libvpx/libvpx/vp8/common/
Donyx.h223 unsigned int number_of_layers; member
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c345 oxcf->number_of_layers = cfg.ts_number_layers; in set_vp8e_config()
348 if (oxcf->number_of_layers > 1) { in set_vp8e_config()