Home
last modified time | relevance | path

Searched refs:cls_id (Results 1 – 25 of 110) sorted by relevance

12345

/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/utils/viz/
H A Dbbox.py88 if cls_id not in colors:
90 colors[cls_id] = plt.get_cmap('hsv')(cls_id / len(class_names))
96 edgecolor=colors[cls_id],
99 if class_names is not None and cls_id < len(class_names):
100 class_name = class_names[cls_id]
102 class_name = str(cls_id) if cls_id >= 0 else ''
191 if cls_id not in colors:
193 colors[cls_id] = plt.get_cmap('hsv')(cls_id / len(class_names))
197 bcolor = [x * 255 for x in colors[cls_id]]
201 class_name = class_names[cls_id]
[all …]
/dports/biology/rainbow/rainbow_2.0.4/
H A Dmergecontig.c45 contig.cls_id = i; in load_ctgdb()
69 contig.cls_id = i; in load_ctgdb()
174 pwc->id0 = c0->cls_id; in pw_aln_contigs_brute()
175 pwc->id1 = c1->cls_id; in pw_aln_contigs_brute()
461 pwc->id0 = c0->cls_id; in pw_aln_contigs()
505 …ref_ctglist(ret->ctgv, i)->cls_id = ref_ctglist(ret->ctgv, ref_ctglist(ret->ctgv, i)->cls_id)->cls… in clustering_ctg()
507 …ref_ctglist(ret->ctgv, j)->cls_id = ref_ctglist(ret->ctgv, ref_ctglist(ret->ctgv, j)->cls_id)->cls… in clustering_ctg()
526 if (t0->cls_id == t1->cls_id) return 0; in cmp_ctg_clsid()
527 if (t0->cls_id < t1->cls_id) return 1; in cmp_ctg_clsid()
589 ctg->cls_id = id; in execute_pwaln()
[all …]
/dports/science/hdf5/hdf5-1.10.6/java/src/hdf/hdf5lib/structs/
H A DH5E_error2_t.java22 public long cls_id; //class ID field in H5E_error2_t
30 …H5E_error2_t(long cls_id, long maj_num, long min_num, int line, String func_name, String file_name… in H5E_error2_t() argument
31 this.cls_id = cls_id; in H5E_error2_t()
/dports/misc/py-gluoncv/gluon-cv-0.9.0/scripts/deployment/cpp-inference/src/
H A Dcommon.hpp185 int cls_id = static_cast<int>(label); in PlotBbox() local
186 if (colors.find(cls_id) == colors.end()) { in PlotBbox()
191 colors[cls_id] = HSV2BGR(cv::Scalar(hue * 255, 0.75, 0.95)); in PlotBbox()
196 colors[cls_id] = HSV2BGR(cv::Scalar(hue * 255, 0.75, 0.95)); in PlotBbox()
201 auto color = colors[cls_id]; in PlotBbox()
207 if (cls_id >= class_names.size()) { in PlotBbox()
208 LOG(INFO) << "id: " << cls_id << ", scores: " << score; in PlotBbox()
210 LOG(INFO) << "id: " << class_names[cls_id] << ", scores: " << score; in PlotBbox()
217 if (class_names.size() > cls_id) { in PlotBbox()
218 txt += class_names[cls_id]; in PlotBbox()
/dports/misc/mxnet/incubator-mxnet-1.9.0/example/ssd/detect/
H A Ddetector.py170 cls_id = int(klass)
171 if cls_id not in colors:
172 colors[cls_id] = (random.random(), random.random(), random.random())
179 edgecolor=colors[cls_id],
182 class_name = str(cls_id)
183 if classes and len(classes) > cls_id:
184 class_name = classes[cls_id]
187 bbox=dict(facecolor=colors[cls_id], alpha=0.5),
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/example/ssd/detect/
H A Ddetector.py170 cls_id = int(klass)
171 if cls_id not in colors:
172 colors[cls_id] = (random.random(), random.random(), random.random())
179 edgecolor=colors[cls_id],
182 class_name = str(cls_id)
183 if classes and len(classes) > cls_id:
184 class_name = classes[cls_id]
187 bbox=dict(facecolor=colors[cls_id], alpha=0.5),
/dports/misc/tvm/incubator-tvm-0.6.1/topi/python/topi/vision/ssd/
H A Dmultibox.py210 cls_id = 0
214 cls_id = k if temp > score else cls_id
216 if cls_id > 0 and score < threshold:
217 cls_id = 0
220 if cls_id > 0:
221 out_loc[i, valid_count[i], 0] = cls_id - 1.0
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/topi/vision/ssd/
H A Dmultibox.py219 cls_id = 0
223 cls_id = k if temp > score else cls_id
225 if cls_id > 0 and score < threshold:
226 cls_id = 0
229 if cls_id > 0:
230 out_loc[i, valid_count[i], 0] = cls_id - 1.0
/dports/misc/py-tvm/incubator-tvm-0.6.1/topi/python/topi/vision/ssd/
H A Dmultibox.py210 cls_id = 0
214 cls_id = k if temp > score else cls_id
216 if cls_id > 0 and score < threshold:
217 cls_id = 0
220 if cls_id > 0:
221 out_loc[i, valid_count[i], 0] = cls_id - 1.0
/dports/games/openttd/openttd-12.1/src/
H A Dnewgrf_class_func.h93 assert(spec->cls_id < Tmax); in DEFINE_NEWGRF_CLASS_METHOD()
94 Get(spec->cls_id)->Insert(spec); in DEFINE_NEWGRF_CLASS_METHOD()
103 NewGRFClass<Tspec, Tid, Tmax> *NewGRFClass<Tspec, Tid, Tmax>::Get(Tid cls_id) in Get() argument
105 assert(cls_id < Tmax); in Get()
106 return classes + cls_id; in Get()
222 template NewGRFClass<Tspec, Tid, Tmax> *name::Get(Tid cls_id); \
/dports/misc/tvm/incubator-tvm-0.6.1/topi/python/topi/cuda/ssd/
H A Dmultibox.py192 cls_id = ib.buffer_ptr(temp_cls_id)
215 cls_id[tid] = 0
218 cls_id[tid] = if_then_else(temp > score[tid], k + 1, cls_id[tid])
220 with ib.if_scope(tvm.all(cls_id[tid] > 0, score[tid] < threshold)):
221 cls_id[tid] = 0
222 with ib.if_scope(cls_id[tid] > 0):
306 cls_id = ib.buffer_ptr(temp_cls_id)
326 with ib.if_scope(cls_id[tid] > 0):
329 out_loc[out_base_idx] = cls_id[tid] - 1.0
338 out_loc[out_base_idx] = cls_id[tid] - 1.0
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/topi/cuda/ssd/
H A Dmultibox.py196 cls_id = ib.buffer_ptr(temp_cls_id)
219 cls_id[tid] = 0
222 cls_id[tid] = if_then_else(temp > score[tid], k + 1, cls_id[tid])
224 with ib.if_scope(tvm.tir.all(cls_id[tid] > 0, score[tid] < threshold)):
225 cls_id[tid] = 0
226 with ib.if_scope(cls_id[tid] > 0):
324 cls_id = ib.buffer_ptr(temp_cls_id)
344 with ib.if_scope(cls_id[tid] > 0):
347 out_loc[out_base_idx] = cls_id[tid] - 1.0
367 out_loc[out_base_idx] = cls_id[tid] - 1.0
/dports/misc/py-tvm/incubator-tvm-0.6.1/topi/python/topi/cuda/ssd/
H A Dmultibox.py192 cls_id = ib.buffer_ptr(temp_cls_id)
215 cls_id[tid] = 0
218 cls_id[tid] = if_then_else(temp > score[tid], k + 1, cls_id[tid])
220 with ib.if_scope(tvm.all(cls_id[tid] > 0, score[tid] < threshold)):
221 cls_id[tid] = 0
222 with ib.if_scope(cls_id[tid] > 0):
306 cls_id = ib.buffer_ptr(temp_cls_id)
326 with ib.if_scope(cls_id[tid] > 0):
329 out_loc[out_base_idx] = cls_id[tid] - 1.0
338 out_loc[out_base_idx] = cls_id[tid] - 1.0
/dports/science/hdf5-18/hdf5-1.8.21/src/
H A DH5Pdeprec.c270 H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, in H5Pregister1() argument
280 H5TRACE10("e", "i*sz*xxxxxxx", cls_id, name, size, def_value, prp_create, in H5Pregister1()
284 if(NULL == (pclass = (H5P_genclass_t *)H5I_object_verify(cls_id, H5I_GENPROP_CLS))) in H5Pregister1()
301 if(NULL == (old_pclass = (H5P_genclass_t *)H5I_subst(cls_id, pclass))) in H5Pregister1()
H A DH5Eint.c381 cls_ptr = (H5E_cls_t *)H5I_object_verify(err_desc->cls_id, H5I_ERROR_CLASS); in H5E_walk2_cb()
700 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...) in H5E_printf_stack() argument
721 HDassert(cls_id > 0); in H5E_printf_stack()
762 if(H5E_push_stack(estack, file, func, line, cls_id, maj_id, min_id, tmp) < 0) in H5E_printf_stack()
797 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *desc) in H5E_push_stack() argument
811 HDassert(cls_id > 0); in H5E_push_stack()
838 if(H5I_inc_ref(cls_id, FALSE) < 0) in H5E_push_stack()
840 estack->slot[estack->nused].cls_id = cls_id; in H5E_push_stack()
898 if(H5I_dec_ref(error->cls_id) < 0) in H5E_clear_entries()
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5Pdeprec.c271 H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, in H5Pregister1() argument
281 H5TRACE10("e", "i*sz*xxxxxxx", cls_id, name, size, def_value, prp_create, in H5Pregister1()
285 if(NULL == (pclass = (H5P_genclass_t *)H5I_object_verify(cls_id, H5I_GENPROP_CLS))) in H5Pregister1()
302 if(NULL == (old_pclass = (H5P_genclass_t *)H5I_subst(cls_id, pclass))) in H5Pregister1()
H A DH5Eint.c381 cls_ptr = (H5E_cls_t *)H5I_object_verify(err_desc->cls_id, H5I_ERROR_CLASS); in H5E_walk2_cb()
698 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...) in H5E_printf_stack() argument
719 HDassert(cls_id > 0); in H5E_printf_stack()
774 if(H5E_push_stack(estack, file, func, line, cls_id, maj_id, min_id, tmp) < 0) in H5E_printf_stack()
809 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *desc) in H5E_push_stack() argument
823 HDassert(cls_id > 0); in H5E_push_stack()
850 if(H5I_inc_ref(cls_id, FALSE) < 0) in H5E_push_stack()
852 estack->slot[estack->nused].cls_id = cls_id; in H5E_push_stack()
910 if(H5I_dec_ref(error->cls_id) < 0) in H5E_clear_entries()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/metrics/android/
H A Djava_heap_histogram.sql20 WITH RECURSIVE cls_visitor(cls_id, category) AS (
38 FROM heap_graph_class child JOIN cls_visitor parent ON parent.cls_id = child.superclass_id
55 LEFT JOIN android_special_classes special ON special.cls_id = c.id
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/nn/
H A Dcoder.py373 cls_id = F.argmax(pos_x, self._axis)
374 scores = F.pick(pos_x, cls_id, axis=-1)
376 cls_id = F.where(mask, cls_id, F.ones_like(cls_id) * -1)
378 return cls_id, scores
419 cls_id = F.broadcast_add(template,
422 cls_id = F.where(mask, cls_id, F.ones_like(cls_id) * -1)
424 return cls_id, scores
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/HDF5/src/itkhdf5/src/
H A DH5Eint.c358 cls_ptr = (H5E_cls_t *)H5I_object_verify(err_desc->cls_id, H5I_ERROR_CLASS); in H5E_walk2_cb()
677 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...) in H5E_printf_stack() argument
698 HDassert(cls_id > 0); in H5E_printf_stack()
739 if(H5E__push_stack(estack, file, func, line, cls_id, maj_id, min_id, tmp) < 0) in H5E_printf_stack()
782 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *desc) in H5E__push_stack() argument
796 HDassert(cls_id > 0); in H5E__push_stack()
823 if(H5I_inc_ref(cls_id, FALSE) < 0) in H5E__push_stack()
825 estack->slot[estack->nused].cls_id = cls_id; in H5E__push_stack()
883 if(H5I_dec_ref(error->cls_id) < 0) in H5E_clear_entries()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5Eint.c342 cls_ptr = (H5E_cls_t *)H5I_object_verify(err_desc->cls_id, H5I_ERROR_CLASS); in H5E__walk2_cb()
650 H5E_printf_stack(H5E_t *estack, const char *file, const char *func, unsigned line, hid_t cls_id, hi… in H5E_printf_stack() argument
668 HDassert(cls_id > 0); in H5E_printf_stack()
687 if (H5E__push_stack(estack, file, func, line, cls_id, maj_id, min_id, tmp) < 0) in H5E_printf_stack()
723 H5E__push_stack(H5E_t *estack, const char *file, const char *func, unsigned line, hid_t cls_id, hid… in H5E__push_stack() argument
738 HDassert(cls_id > 0); in H5E__push_stack()
766 if (H5I_inc_ref(cls_id, FALSE) < 0) in H5E__push_stack()
768 estack->slot[estack->nused].cls_id = cls_id; in H5E__push_stack()
825 if (H5I_dec_ref(error->cls_id) < 0) in H5E__clear_entries()
/dports/science/hdf5/hdf5-1.10.6/src/
H A DH5Eint.c358 cls_ptr = (H5E_cls_t *)H5I_object_verify(err_desc->cls_id, H5I_ERROR_CLASS); in H5E_walk2_cb()
674 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...) in H5E_printf_stack() argument
695 HDassert(cls_id > 0); in H5E_printf_stack()
736 if(H5E__push_stack(estack, file, func, line, cls_id, maj_id, min_id, tmp) < 0) in H5E_printf_stack()
779 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *desc) in H5E__push_stack() argument
793 HDassert(cls_id > 0); in H5E__push_stack()
820 if(H5I_inc_ref(cls_id, FALSE) < 0) in H5E__push_stack()
822 estack->slot[estack->nused].cls_id = cls_id; in H5E__push_stack()
880 if(H5I_dec_ref(error->cls_id) < 0) in H5E_clear_entries()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5Eint.c357 cls_ptr = (H5E_cls_t *)H5I_object_verify(err_desc->cls_id, H5I_ERROR_CLASS); in H5E_walk2_cb()
676 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...) in H5E_printf_stack() argument
697 HDassert(cls_id > 0); in H5E_printf_stack()
738 if(H5E_push_stack(estack, file, func, line, cls_id, maj_id, min_id, tmp) < 0) in H5E_printf_stack()
781 hid_t cls_id, hid_t maj_id, hid_t min_id, const char *desc) in H5E_push_stack() argument
795 HDassert(cls_id > 0); in H5E_push_stack()
822 if(H5I_inc_ref(cls_id, FALSE) < 0) in H5E_push_stack()
824 estack->slot[estack->nused].cls_id = cls_id; in H5E_push_stack()
882 if(H5I_dec_ref(error->cls_id) < 0) in H5E_clear_entries()
/dports/science/hdf5/hdf5-1.10.6/java/src/jni/
H A Dh5eImp.c129 (JNIEnv *env, jclass clss, jlong cls_id) in Java_hdf_hdf5lib_H5_H5Eunregister_1class() argument
133 if (cls_id < 0) in Java_hdf_hdf5lib_H5_H5Eunregister_1class()
136 if (H5Eunregister_class((hid_t)cls_id) < 0) in Java_hdf_hdf5lib_H5_H5Eunregister_1class()
293 (JNIEnv *env, jclass clss, jlong cls_id) in Java_hdf_hdf5lib_H5_H5Eget_1class_1name() argument
301 if (cls_id < 0) in Java_hdf_hdf5lib_H5_H5Eget_1class_1name()
305 if ((buf_size = H5Eget_class_name((hid_t)cls_id, NULL, 0)) < 0) in Java_hdf_hdf5lib_H5_H5Eget_1class_1name()
314 if ((H5Eget_class_name((hid_t)cls_id, (char *)namePtr, (size_t)buf_size + 1)) < 0) in Java_hdf_hdf5lib_H5_H5Eget_1class_1name()
542 args[0].j = info->cls_id; in H5E_walk_cb()
/dports/security/snort3/snort3-3.1.19.0/src/decompress/
H A Dfile_olefile.h155 memcpy_id(cls_id, sizeof(cls_id), buf, 16); in set_cls_id()
160 return cls_id; in get_cls_id()
195 char cls_id[16]; member

12345