Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 1785) sorted by relevance

12345678910>>...72

/external/opencv/cvaux/src/
Dcvbgfg_codebook.cpp45 CvBGCodeBookModel* model = (CvBGCodeBookModel*)cvAlloc( sizeof(*model) ); in cvCreateBGCodeBookModel() local
46 memset( model, 0, sizeof(*model) ); in cvCreateBGCodeBookModel()
47 model->cbBounds[0] = model->cbBounds[1] = model->cbBounds[2] = 10; in cvCreateBGCodeBookModel()
48 model->modMin[0] = 3; in cvCreateBGCodeBookModel()
49 model->modMax[0] = 10; in cvCreateBGCodeBookModel()
50 model->modMin[1] = model->modMin[2] = 1; in cvCreateBGCodeBookModel()
51 model->modMax[1] = model->modMax[2] = 1; in cvCreateBGCodeBookModel()
52 model->storage = cvCreateMemStorage(); in cvCreateBGCodeBookModel()
54 return model; in cvCreateBGCodeBookModel()
57 void cvReleaseBGCodeBookModel( CvBGCodeBookModel** model ) in cvReleaseBGCodeBookModel() argument
[all …]
Dcvbgfg_acmmm2003.cpp69 static void CV_CDECL icvReleaseFGDStatModel( CvFGDStatModel** model );
71 CvFGDStatModel* model );
192 CvFGDStatModel* model = *_model; in icvReleaseFGDStatModel() local
193 if( model->pixel_stat ) in icvReleaseFGDStatModel()
195 cvFree( &model->pixel_stat[0].ctable ); in icvReleaseFGDStatModel()
196 cvFree( &model->pixel_stat[0].cctable ); in icvReleaseFGDStatModel()
197 cvFree( &model->pixel_stat ); in icvReleaseFGDStatModel()
200 cvReleaseImage( &model->Ftd ); in icvReleaseFGDStatModel()
201 cvReleaseImage( &model->Fbd ); in icvReleaseFGDStatModel()
202 cvReleaseImage( &model->foreground ); in icvReleaseFGDStatModel()
[all …]
/external/opencv3/samples/cpp/
Dletter_recog.cpp88 Ptr<T> model = StatModel::load<T>( filename_to_load ); in load_classifier() local
89 if( model.empty() ) in load_classifier()
94 return model; in load_classifier()
118 static void test_and_save_classifier(const Ptr<StatModel>& model, in test_and_save_classifier() argument
131 float r = model->predict( sample ); in test_and_save_classifier()
148 model->save( filename_to_save ); in test_and_save_classifier()
164 Ptr<RTrees> model; in build_rtrees_classifier() local
172 model = load_classifier<RTrees>(filename_to_load); in build_rtrees_classifier()
173 if( model.empty() ) in build_rtrees_classifier()
187 model = RTrees::create(); in build_rtrees_classifier()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dgpu_timeline_unittest.py9 from telemetry.timeline import model as model_module
64 def GetResults(self, metric, model, renderer_thread, interaction_records): argument
66 metric.AddResults(model, renderer_thread, interaction_records, results)
71 model = model_module.TimelineModel()
72 test_thread = model.GetOrCreateProcess(1).GetOrCreateThread(2)
75 model.FinalizeImport()
78 results = self.GetResults(metric, model=model, renderer_thread=test_thread,
103 model = model_module.TimelineModel()
104 test_thread = model.GetOrCreateProcess(1).GetOrCreateThread(2)
107 model.FinalizeImport()
[all …]
Dmemory_timeline_unittest.py53 def getResultsDict(self, model, interactions, renderer_pid=1234): argument
68 metric.AddResults(model, mock_thread, interactions, results)
74 def getOverallPssTotal(self, model, interactions, renderer_pid=1234): argument
76 model, interactions, renderer_pid=renderer_pid)
81 model = MockTimelineModel([
84 self.assertEqual([123], self.getOverallPssTotal(model, interactions))
87 model = MockTimelineModel([
91 self.assertEqual([123, 456], self.getOverallPssTotal(model, interactions))
94 model = MockTimelineModel([
101 self.getOverallPssTotal(model, interactions))
[all …]
/external/opencv3/samples/python2/
Dletter_recog.py41 self.model.load(fn)
43 self.model.save(fn)
61 self.model = cv2.RTrees()
68 … self.model.train(samples, cv2.CV_ROW_SAMPLE, responses, varType = var_types, params = params)
71 return np.float32( [self.model.predict(s) for s in samples] )
76 self.model = cv2.KNearest()
79 self.model.train(samples, responses)
82 retval, results, neigh_resp, dists = self.model.find_nearest(samples, k = 10)
88 self.model = cv2.Boost()
97 …self.model.train(new_samples, cv2.CV_ROW_SAMPLE, new_responses, varType = var_types, params=params)
[all …]
Ddigits.py70 self.model.load(fn)
72 self.model.save(fn)
77 self.model = cv2.ml.KNearest_create()
80 self.model = cv2.ml.KNearest_create()
81 self.model.train(samples, cv2.ml.ROW_SAMPLE, responses)
84 retval, results, neigh_resp, dists = self.model.findNearest(samples, self.k)
89 self.model = cv2.ml.SVM_create()
90 self.model.setGamma(gamma)
91 self.model.setC(C)
92 self.model.setKernel(cv2.ml.SVM_RBF)
[all …]
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/auth/
Dmodels.py14 from ndb import model
16 from google.appengine.ext.ndb import model
22 class Unique(model.Model):
83 entity = cls(key=model.Key(cls, value))
85 return model.transaction(txn) is not None
106 keys = [model.Key(cls, value) for value in values]
109 created = [model.transaction(lambda: func(e)) for e in entities]
113 model.delete_multi(k for k in created if k)
125 return model.delete_multi(model.Key(cls, v) for v in values)
128 class UserToken(model.Model):
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DModelCache.java1 package com.bumptech.glide.load.model;
43 public B get(A model, int width, int height) { in get() argument
44 ModelKey<A> key = ModelKey.get(model, width, height); in get()
58 public void put(A model, int width, int height, B value) { in put() argument
59 ModelKey<A> key = ModelKey.get(model, width, height); in put()
69 private A model; field in ModelCache.ModelKey
71 static <A> ModelKey<A> get(A model, int width, int height) { in get() argument
78 modelKey.init(model, width, height); in get()
84 private void init(A model, int width, int height) { in init() argument
85 this.model = model; in init()
[all …]
/external/chromium-trace/catapult/tracing/
Dtrace_viewer.gypi169 'tracing/model/activity.html',
170 'tracing/model/alert.html',
171 'tracing/model/annotation.html',
172 'tracing/model/async_slice.html',
173 'tracing/model/async_slice_group.html',
174 'tracing/model/clock_sync_manager.html',
175 'tracing/model/clock_sync_record.html',
176 'tracing/model/comment_box_annotation.html',
177 'tracing/model/compound_event_selection_state.html',
178 'tracing/model/constants.html',
[all …]
/external/autotest/frontend/
Ddb_router.py43 def _should_be_in_server_db(self, model): argument
50 return model._meta.db_table.startswith('server')
53 def _should_be_in_global(self, model): argument
60 return model._meta.db_table.startswith('tko_')
63 def db_for_read(self, model, **hints): argument
72 if self._should_be_in_server_db(model):
74 if self._should_be_in_global(model):
79 def db_for_write(self, model, **hints): argument
88 if self._should_be_in_server_db(model):
90 if self._should_be_in_global(model):
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DHttpUrlGlideUrlLoader.java1 package com.bumptech.glide.load.model.stream;
7 import com.bumptech.glide.load.model.GenericLoaderFactory;
8 import com.bumptech.glide.load.model.GlideUrl;
9 import com.bumptech.glide.load.model.ModelCache;
10 import com.bumptech.glide.load.model.ModelLoader;
11 import com.bumptech.glide.load.model.ModelLoaderFactory;
49 public DataFetcher<InputStream> getResourceFetcher(GlideUrl model, int width, int height) { in getResourceFetcher() argument
51 GlideUrl url = model; in getResourceFetcher()
53 url = modelCache.get(model, 0, 0); in getResourceFetcher()
55 modelCache.put(model, 0, 0, model); in getResourceFetcher()
[all …]
DBaseGlideUrlLoader.java1 package com.bumptech.glide.load.model.stream;
8 import com.bumptech.glide.load.model.GlideUrl;
9 import com.bumptech.glide.load.model.ModelCache;
10 import com.bumptech.glide.load.model.ModelLoader;
42 public DataFetcher<InputStream> getResourceFetcher(T model, int width, int height) { in getResourceFetcher() argument
45 result = modelCache.get(model, width, height); in getResourceFetcher()
49 String stringURL = getUrl(model, width, height); in getResourceFetcher()
57 modelCache.put(model, width, height, result); in getResourceFetcher()
72 protected abstract String getUrl(T model, int width, int height); in getUrl() argument
/external/autotest/server/cros/
Dchaos_dynamic_ap_list.conf10 model = linksys e2100l
22 model = linksys ea3500
35 model = linksys ea3500
56 model = linksys wrt54g2 1.5
69 model = linksys e2000
79 model = wrt54g2
91 model = linksys e4200
104 model = linksys e4200
117 model = linksys e2700
130 model = linksys e2700
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/
Dmodel_test.py27 import model
46 return db.get(model.ArtistInfo(name=name).put()).encoded_name
67 model.ArtistInfo(name='The Bee__Gees').put()
68 model.ArtistInfo(name=' The-DooRs ').put()
69 model.ArtistInfo(name='Wendy Carlos').put()
70 model.ArtistInfo(name='Amadeus Mozart').put()
71 model.ArtistInfo(name='The Beatles').put()
73 names = [artist.name for artist in model.ArtistInfo.search(' ')]
78 names = [artist.name for artist in model.ArtistInfo.search(' !tHe} ')]
81 names = [artist.name for artist in model.ArtistInfo.search('the bee gees')]
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/
DRequestManager.java11 import com.bumptech.glide.load.model.ModelLoader;
12 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorModelLoader;
13 import com.bumptech.glide.load.model.stream.MediaStoreStreamLoader;
14 import com.bumptech.glide.load.model.stream.StreamByteArrayLoader;
15 import com.bumptech.glide.load.model.stream.StreamModelLoader;
497 public DrawableTypeRequest<byte[]> load(byte[] model, final String id) { in load() argument
498 return (DrawableTypeRequest<byte[]>) load(model).signature(new StringSignature(id)); in load()
509 public DrawableTypeRequest<byte[]> load(byte[] model) { in load() argument
510 return (DrawableTypeRequest<byte[]>) fromBytes().load(model); in load()
546 public <T> DrawableTypeRequest<T> load(T model) { in load() argument
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
DDynamicTableModelTest.java40 TableModel model = new DynamicTableModel(5, 5, TableOrder.COLUMN_MAJOR); in testConstructor() local
48 DynamicTableModel model = new DynamicTableModel(5, 5); in testGetCellRect() local
50 RectF cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
54 model = new DynamicTableModel(5, 0); in testGetCellRect()
55 cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
59 model = new DynamicTableModel(0, 5); in testGetCellRect()
60 cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
65 TableModel model = new DynamicTableModel(2, 2); in testIterator() local
70 Iterator<RectF> it = model.getIterator(tableRect, 10); in testIterator()
80 model = new DynamicTableModel(2, 0); in testIterator()
[all …]
/external/testng/src/main/java/org/testng/mustache/
DMustache.java15 String run(String template, Model model) throws IOException { in run() argument
43 Value value = model.resolveValue(conditionalVariable); in run()
54 model.push(conditionalVariable, o); in run()
55 String r = new Mustache().run(subTemplate, model); in run()
56 model.popSubModel(); in run()
57 chunks.add(new StringChunk(model, r)); in run()
63 model.push(conditionalVariable, v); in run()
64 String r = new Mustache().run(subTemplate, model); in run()
65 model.popSubModel(); in run()
66 chunks.add(new StringChunk(model, r)); in run()
[all …]
/external/llvm/utils/
Dschedcover.py16 def add(instr, model, resource=None): argument
20 entry[model] = resource
21 models.add(model)
39 for model in ordered_models:
40 if not model: model = "default"
41 sys.stdout.write(", {}".format(model))
46 for model in ordered_models:
47 if model in mapping:
48 sys.stdout.write(", {}".format(mapping[model]))
/external/opencv3/modules/videostab/include/opencv2/videostab/
Dmotion_core.hpp102 static RansacParams default2dMotion(MotionModel model) in default2dMotion()
104 CV_Assert(model < MM_UNKNOWN); in default2dMotion()
105 if (model == MM_TRANSLATION) in default2dMotion()
107 if (model == MM_TRANSLATION_AND_SCALE) in default2dMotion()
109 if (model == MM_ROTATION) in default2dMotion()
111 if (model == MM_RIGID) in default2dMotion()
113 if (model == MM_SIMILARITY) in default2dMotion()
115 if (model == MM_AFFINE) in default2dMotion()
/external/llvm/test/CodeGen/SPARC/
Dconstpool.ll1 ; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-pref…
2 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-pref…
3 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-pref…
4 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-pref…
5 ; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-pref…
6 ; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-pref…
Dglobals.ll1 ; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-pref…
2 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-pref…
3 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-pref…
4 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-pref…
5 ; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-pref…
6 ; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-pref…
/external/autotest/frontend/shared/
Dquery_lib.py22 def add_related_existence_selector(self, name, model, field, doc=None): argument
25 _RelatedExistenceConstraint(model, field,
29 def add_keyval_selector(self, name, model, key_field, value_field, argument
33 _KeyvalConstraint(model, key_field, value_field,
127 def __init__(self, model, field, make_alias_fn): argument
128 self._model = model
141 queryset = queryset.model.objects.join_custom_field(queryset,
149 queryset.model.objects.key_on_joined_table(related_query))
151 queryset = queryset.model.objects.add_where(queryset, condition)
157 def __init__(self, model, key_field, value_field, make_alias_fn): argument
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeMapTest.java238 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangesAlone() local
239 putModel(model, range, 1); in testAllRangesAlone()
242 verify(model, test); in testAllRangesAlone()
249 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangePairs() local
250 putModel(model, range1, 1); in testAllRangePairs()
251 putModel(model, range2, 2); in testAllRangePairs()
255 verify(model, test); in testAllRangePairs()
264 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangeTriples() local
265 putModel(model, range1, 1); in testAllRangeTriples()
266 putModel(model, range2, 2); in testAllRangeTriples()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.runtime.compatibility_3.2.100.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12345678910>>...72