Home
last modified time | relevance | path

Searched refs:scale_index (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/st/networks/models/deeplabv3/src/
Ddeeplabv3.py124 def construct(self, x, scale_index=0): argument
126 aspp1 = self.global_poolings[scale_index](x)
128 aspp1 = self.samples[scale_index](aspp1)
132 aspp_i = self.aspp_depth_spacetobatchs[i + scale_index * len(self.atrous_rates)](x)
134 aspp_i = self.aspp_depth_batchtospaces[i + scale_index * len(self.atrous_rates)](aspp_i)
212 def construct(self, x, low_level_feature, scale_index): argument
214 low_level_feature = self.samples[scale_index](low_level_feature)
215 x = self.samples[scale_index](x)
316 def construct(self, x, scale_index=0): argument
322 output = self.aspp(feature_map, scale_index)
[all …]
/third_party/ffmpeg/libavcodec/
Ddca_core.c347 static inline int parse_scale(DCACoreDecoder *s, int *scale_index, int sel) in parse_scale() argument
363 *scale_index += dca_get_vlc(&s->gb, &ff_dca_vlc_scale_factor, sel); in parse_scale()
365 *scale_index = get_bits(&s->gb, sel + 1); in parse_scale()
368 if ((unsigned int)*scale_index >= scale_size) { in parse_scale()
373 return scale_table[*scale_index]; in parse_scale()
378 int scale_index; in parse_joint_scale() local
382 scale_index = dca_get_vlc(&s->gb, &ff_dca_vlc_scale_factor, sel); in parse_joint_scale()
384 scale_index = get_bits(&s->gb, sel + 1); in parse_joint_scale()
387 scale_index += 64; in parse_joint_scale()
390 if ((unsigned int)scale_index >= FF_ARRAY_ELEMS(ff_dca_joint_scale_factors)) { in parse_joint_scale()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c7725 unsigned scale_index = emit->texcoord_scale_index[unit]; in setup_texcoord() local
7729 struct tgsi_full_src_register scale_src = make_src_const_reg(scale_index); in setup_texcoord()