Searched refs:vector (Results 1 - 25 of 180) sorted by relevance

12345678

/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.h24 #include <vector>
47 // Computes the score of a given input vector for a given parameter
48 // vector, by computing the dot product between the two.
49 float Score(const std::vector<float>& inputs,
50 const std::vector<float>& parameters) const;
51 float SparseScore(const std::vector<std::pair<int, float> >& inputs,
52 const std::vector<float>& parameters) const;
55 float L2NormSquare(const std::vector<float>& inputs) const;
56 float SparseL2NormSquare(const std::vector<std::pair<int, float> >& inputs) const;
61 virtual float TrainOneExample(const std::vector<floa
[all...]
H A Dmulticlass_pa.cpp24 using std::vector;
68 float MulticlassPA::Score(const vector<float>& inputs,
69 const vector<float>& parameters) const {
78 float MulticlassPA::SparseScore(const vector<pair<int, float> >& inputs, argument
79 const vector<float>& parameters) const {
89 float MulticlassPA::L2NormSquare(const vector<float>& inputs) const {
98 const vector<pair<int, float> >& inputs) const {
106 float MulticlassPA::TrainOneExample(const vector<float>& inputs, int target) {
139 const vector<pair<int, float> >& inputs, int target) {
171 float MulticlassPA::Train(const vector<pai argument
97 SparseL2NormSquare( const vector<pair<int, float> >& inputs) const argument
138 SparseTrainOneExample( const vector<pair<int, float> >& inputs, int target) argument
183 SparseTrain( const vector<pair<vector<pair<int, float> >, int> >& data, int num_iterations) argument
210 SparseGetClass(const vector<pair<int, float> >& inputs) argument
224 Test(const vector<pair<vector<float>, int> >& data) argument
236 SparseTest( const vector<pair<vector<pair<int, float> >, int> >& data) argument
[all...]
/frameworks/base/tools/aidl/
H A Dsearch_path.h7 #include <vector>
19 void set_import_paths(const vector<string>& importPaths);
H A Doptions.h6 #include <vector>
20 vector<string> importPaths;
21 vector<string> preprocessedFiles;
28 vector<string> filesToPreprocess;
H A Dsearch_path.cpp10 static vector<string> g_importPaths;
13 set_import_paths(const vector<string>& importPaths)
32 vector<string>& paths = g_importPaths;
33 for (vector<string>::iterator it=paths.begin(); it!=paths.end(); it++) {
/frameworks/compile/libbcc/lib/Core/
H A DBCCContextImpl.cpp19 #include <vector>
31 std::vector<Source *> Sources(mOwnSources.begin(), mOwnSources.end());
/frameworks/base/libs/hwui/utils/
H A DSortedListImpl.cpp84 ssize_t SortedListImpl::merge(const VectorImpl& vector) { argument
86 if (!vector.isEmpty()) {
87 const void* buffer = vector.arrayImpl();
89 size_t s = vector.size();
100 ssize_t SortedListImpl::merge(const SortedListImpl& vector) { argument
101 // we've merging a sorted vector... nice!
103 if (!vector.isEmpty()) {
105 if (do_compare(vector.itemLocation(vector.size() - 1), arrayImpl()) <= 0) {
106 err = VectorImpl::insertVectorAt(static_cast<const VectorImpl&> (vector),
[all...]
H A DSortedListImpl.h36 ssize_t merge(const VectorImpl& vector);
37 ssize_t merge(const SortedListImpl& vector);
52 ssize_t insertVectorAt(const VectorImpl& vector, size_t index);
53 ssize_t appendVector(const VectorImpl& vector);
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionStrTab.h23 #include <vector>
32 std::vector<char> buf;
H A DELFSectionRelTable.h24 #include <vector>
32 std::vector<ELFRelocTy *> table;
/frameworks/minikin/include/minikin/
H A DFontCollection.h20 #include <vector>
30 explicit FontCollection(const std::vector<FontFamily*>& typefaces);
41 std::vector<Run>* result) const;
70 // This vector has ownership of the bitsets and typeface objects.
71 std::vector<FontFamily*> mFamilies;
73 // This vector contains pointers into mInstances
74 std::vector<FontFamily*> mFamilyVec;
77 std::vector<Range> mRanges;
/frameworks/base/core/java/android/gesture/
H A DInstanceLearner.java44 ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector) { argument
51 if (sample.vector.length != vector.length) {
56 distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType);
58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector);
/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dinterpolator_base.h66 bool Initialize(const vector<T> &x_data, const vector<T> &y_data);
72 const vector<T> &y_data);
/frameworks/base/libs/hwui/
H A DAnimatorManager.h19 #include <vector>
68 // To improve the efficiency of resizing & removing from the vector
70 std::vector<BaseRenderNodeAnimator*> mNewAnimators;
71 std::vector<BaseRenderNodeAnimator*> mAnimators;
/frameworks/compile/mclinker/include/mcld/LD/
H A DStubFactory.h13 #include <vector>
48 typedef std::vector<Stub*> StubPoolType;
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dbitcode_wrapperer.h25 #include <vector>
180 std::vector<uint8_t> buffer_;
212 std::vector<BCHeaderField> header_fields_;
215 std::vector<uint8_t*> variable_field_data_;
/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.h20 #include <vector>
43 typedef std::vector<llvm::Type*> TypeList;
46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList;
61 std::vector<llvm::AttributeSet> AttributeGroups;
65 std::vector<llvm::AttributeSet> Attribute;
77 std::vector<const llvm::BasicBlock*> BasicBlocks;
136 const std::vector<const llvm::BasicBlock*> &getBasicBlocks() const {
139 const std::vector<llvm::AttributeSet> &getAttributes() const {
142 const std::vector<llvm::AttributeSet> &getAttributeGroups() const {
/frameworks/compile/slang/BitWriter_2_9_func/
H A DValueEnumerator.h20 #include <vector>
43 typedef std::vector<llvm::Type*> TypeList;
46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList;
61 std::vector<llvm::AttributeSet> AttributeGroups;
65 std::vector<llvm::AttributeSet> Attribute;
77 std::vector<const llvm::BasicBlock*> BasicBlocks;
136 const std::vector<const llvm::BasicBlock*> &getBasicBlocks() const {
139 const std::vector<llvm::AttributeSet> &getAttributes() const {
142 const std::vector<llvm::AttributeSet> &getAttributeGroups() const {
/frameworks/compile/slang/BitWriter_3_2/
H A DValueEnumerator.h20 #include <vector>
43 typedef std::vector<llvm::Type*> TypeList;
46 typedef std::vector<std::pair<const llvm::Value*, unsigned> > ValueList;
61 std::vector<llvm::AttributeSet> AttributeGroups;
65 std::vector<llvm::AttributeSet> Attribute;
77 std::vector<const llvm::BasicBlock*> BasicBlocks;
136 const std::vector<const llvm::BasicBlock*> &getBasicBlocks() const {
139 const std::vector<llvm::AttributeSet> &getAttributes() const {
142 const std::vector<llvm::AttributeSet> &getAttributeGroups() const {
/frameworks/compile/mclinker/include/mcld/MC/
H A DAttributeSet.h12 #include <vector>
27 typedef std::vector<Attribute*> AttrSet;
/frameworks/compile/mclinker/include/mcld/Script/
H A DOutputFormatCmd.h14 #include <vector>
28 typedef std::vector<std::string> FormatList;
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.h17 #include <vector>
82 typedef std::vector<AArch64GOTEntry*> EntryListType;
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.h15 #include <vector>
70 typedef std::vector<ARMGOTEntry*> EntryListType;
/frameworks/ex/variablespeed/jni/
H A Ddecode_buffer.h23 #include <vector>
49 // This vector isn't ideal because we perform a number of queue-like
52 // vector, and therefore it's not good enough to use a std::queue.
54 std::vector<int16*> data_;
H A Dring_buffer.h20 #include <vector>
102 std::vector<int64> readers_;

Completed in 532 milliseconds

12345678