Home
last modified time | relevance | path

Searched refs:base_size (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_generate_mipmap.c98 const struct isl_extent4d *base_size = &mt->surf.logical_level0_px; in brw_generate_mipmap() local
105 last_layer = base_size->array_len - 1; in brw_generate_mipmap()
135 minify(base_size->width, src_level), in brw_generate_mipmap()
136 minify(base_size->height, src_level), in brw_generate_mipmap()
138 minify(base_size->width, dst_level), in brw_generate_mipmap()
139 minify(base_size->height, dst_level), in brw_generate_mipmap()
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/
Danchor_generator.py21 def __init__(self, base_size, scales, ratios, scale_major=True, ctr=None): argument
23 self.base_size = base_size
32 w = self.base_size
33 h = self.base_size
/third_party/grpc/src/core/lib/gprpp/
Darena.cc37 static constexpr size_t base_size = in ArenaStorage() local
40 size_t alloc_size = base_size + initial_size; in ArenaStorage()
69 static constexpr size_t base_size = in CreateWithAlloc() local
73 void* first_alloc = reinterpret_cast<char*>(new_arena) + base_size; in CreateWithAlloc()
Darena.h59 static constexpr size_t base_size = in Alloc() local
64 return reinterpret_cast<char*>(this) + base_size + begin; in Alloc()
/third_party/mindspore/mindspore/core/ops/
Dproposal.cc33 void Proposal::set_base_size(const float base_size) { (void)this->AddAttr(kBaseSize, MakeValue(base… in set_base_size() argument
86 void Proposal::Init(const float feat_stride, const float base_size, const float min_size, in Init() argument
90 this->set_base_size(base_size); in Init()
Dproposal.h34 …void Init(const float feat_stride, const float base_size, const float min_size, const std::vector<…
38 void set_base_size(const float base_size);
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/utils/
Dcustom_transforms.py81 def __init__(self, base_size, crop_size, fill=0): argument
82 self.base_size = base_size
88 short_size = random.randint(int(self.base_size * 0.5), int(self.base_size * 2.0))
/third_party/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc543 size_t base_size = empty_message.SpaceUsedLong(); in TEST_F() local
545 EXPECT_EQ(base_size, empty_message.SpaceUsedLong()); in TEST_F()
549 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
550 base_size = empty_message.SpaceUsedLong(); in TEST_F()
553 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
554 base_size = empty_message.SpaceUsedLong(); in TEST_F()
557 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
558 base_size = empty_message.SpaceUsedLong(); in TEST_F()
561 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
562 base_size = empty_message.SpaceUsedLong(); in TEST_F()
[all …]
Dextension_set_unittest.cc742 const int base_size = message.SpaceUsedLong(); \ in TEST()
745 base_size + \ in TEST()
766 const int base_size = message.SpaceUsedLong(); in TEST() local
770 base_size + in TEST()
778 const int base_size = message.SpaceUsedLong(); in TEST() local
783 int min_expected_size = base_size + s.length(); in TEST()
789 const int base_size = message.SpaceUsedLong(); in TEST() local
794 int min_expected_size = base_size + foreign.SpaceUsedLong(); in TEST()
811 const size_t base_size = message.SpaceUsedLong(); \ in TEST()
812 size_t min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \ in TEST()
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_dri.c226 SVGA3dSize base_size; in vmw_drm_surface_from_handle() local
309 base_size.width = size.width; in vmw_drm_surface_from_handle()
310 base_size.height = size.height; in vmw_drm_surface_from_handle()
311 base_size.depth = size.depth; in vmw_drm_surface_from_handle()
312 vsrf->size = svga3dsurface_get_serialized_size(rep->format, base_size, in vmw_drm_surface_from_handle()
Dvmw_screen_ioctl.c254 req->base.base_size.width = size.width; in vmw_ioctl_gb_surface_create()
255 req->base.base_size.height = size.height; in vmw_ioctl_gb_surface_create()
256 req->base.base_size.depth = size.depth; in vmw_ioctl_gb_surface_create()
293 req->base_size.width = size.width; in vmw_ioctl_gb_surface_create()
294 req->base_size.height = size.height; in vmw_ioctl_gb_surface_create()
295 req->base_size.depth = size.depth; in vmw_ioctl_gb_surface_create()
Dvmwgfx_drm.h938 struct drm_vmw_size base_size; member
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_emit.c92 unsigned base_size = max_bitsize_for_alu(ins); in mir_pack_mod() local
94 bool half = (sz == (base_size >> 1)); in mir_pack_mod()
239 unsigned sz, unsigned base_size, in mir_pack_swizzle() argument
246 midgard_reg_mode reg_mode = reg_mode_for_bitsize(base_size); in mir_pack_swizzle()
313 if (base_size == 16) { in mir_pack_swizzle()
335 unsigned base_size = max_bitsize_for_alu(ins); in mir_pack_vector_srcs() local
345 assert((sz == base_size) || (sz == base_size / 2)); in mir_pack_vector_srcs()
349 sz, base_size, channeled, in mir_pack_vector_srcs()
Dmidgard_print.c116 unsigned base_size = max_bitsize_for_alu(ins); in mir_print_embedded_constant() local
118 bool half = (sz == (base_size >> 1)); in mir_print_embedded_constant()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_program.c94 unsigned base_size = 0; in get_shader_module_for_stage() local
100 base_size = zs->nir->info.num_inlinable_uniforms; in get_shader_module_for_stage()
106 LIST_FOR_EACH_ENTRY_SAFE(iter, next, &prog->shader_cache[pstage][!!base_size], list) { in get_shader_module_for_stage()
107 if (!shader_key_matches(iter, key, base_size)) in get_shader_module_for_stage()
115 zm = malloc(sizeof(struct zink_shader_module) + key->size + base_size * sizeof(uint32_t)); in get_shader_module_for_stage()
126 zm->num_uniforms = base_size; in get_shader_module_for_stage()
129 if (base_size) in get_shader_module_for_stage()
130 memcpy(zm->key + key->size, &key->base, base_size * sizeof(uint32_t)); in get_shader_module_for_stage()
132 zm->default_variant = !base_size && list_is_empty(&prog->shader_cache[pstage][0]); in get_shader_module_for_stage()
133 if (base_size) in get_shader_module_for_stage()
[all …]
/third_party/mindspore/tests/st/networks/models/deeplabv3/src/
Dmd_dataset.py50 rsc_tr = tr.RandomScaleCrop(base_size=self.args.base_size, crop_size=self.args.crop_size)
/third_party/mindspore/tests/st/networks/models/deeplabv3/
Dtest_deeplabv3.py79 args_opt = argparse.Namespace(base_size=513, crop_size=513, batch_size=2)
80 args_opt.base_size = config.crop_size
/third_party/boost/boost/python/suite/indexing/
Dindexing_suite.hpp181 .def("__len__", base_size) in visit()
267 base_size(Container& container) in base_size() function in boost::python::indexing_suite
/third_party/ltp/tools/sparse/sparse-src/
Dsymbol.c126 int base_size; in lay_out_struct() local
129 base_size = sym->bit_size; in lay_out_struct()
135 if (base_size < 0) { in lay_out_struct()
138 base_size = 0; in lay_out_struct()
152 int width = base_size ? : (bit_offset ? room : 0); in lay_out_struct()
175 info->bit_size = bit_size + base_size; in lay_out_struct()
/third_party/ffmpeg/libavcodec/
Dilbcdec.c653 int16_t k, base_size; in get_codebook() local
659 base_size = lMem - cbveclen + 1; in get_codebook()
662 base_size += cbveclen / 2; in get_codebook()
672 } else if (index < base_size) { in get_codebook()
686 if (index - base_size < lMem - cbveclen + 1) { in get_codebook()
690 memIndTest = lMem - (index - base_size + cbveclen); in get_codebook()
708 lag = (cbveclen << 1) - 20 + index - base_size - lMem - 1; in get_codebook()
Dmovtextdec.c119 size_t base_size; member
533 if (m->tracksize + m->size_var + box_types[i].base_size > avpkt->size) in mov_text_decode_frame()
/third_party/mindspore/tests/st/model_zoo_tests/deeplabv3/
Dtrain_one_epoch_with_loss.py74 args_opt.base_size = config.crop_size
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1239 LLVMValueRef base_size, in lp_build_minify() argument
1244 assert(lp_check_value(bld->type, base_size)); in lp_build_minify()
1249 return base_size; in lp_build_minify()
1256 size = LLVMBuildLShr(builder, base_size, level, "minify"); in lp_build_minify()
1283 base_size = lp_build_int_to_float(&fbld, base_size); in lp_build_minify()
1284 size = lp_build_mul(&fbld, base_size, lf); in lp_build_minify()
/third_party/libdrm/include/drm/
Dvmwgfx_drm.h937 struct drm_vmw_size base_size; member
/third_party/mesa3d/src/compiler/glsl/
Dlower_ubo_reference.cpp218 ir_constant *base_size = new(mem_ctx) in interface_field_name() local
220 array_index = mul(array_index, base_size); in interface_field_name()

12