Home
last modified time | relevance | path

Searched refs:Model (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/frameworks/ml/nn/common/include/
DUtils.h119 void logModelToInfo(const V1_0::Model& model);
120 void logModelToInfo(const V1_1::Model& model);
176 bool compliantWithV1_0(const V1_0::Model& model);
177 bool compliantWithV1_0(const V1_1::Model& model);
178 bool compliantWithV1_1(const V1_0::Model& model);
179 bool compliantWithV1_1(const V1_1::Model& model);
196 V1_0::Model convertToV1_0(const V1_0::Model& model);
197 V1_0::Model convertToV1_0(const V1_1::Model& model);
198 V1_1::Model convertToV1_1(const V1_0::Model& model);
199 V1_1::Model convertToV1_1(const V1_1::Model& model);
DValidateHal.h31 bool validateModel(const V1_0::Model& model);
32 bool validateModel(const V1_1::Model& model);
38 bool validateRequest(const Request& request, const V1_0::Model& model);
39 bool validateRequest(const Request& request, const V1_1::Model& model);
DCpuExecutor.h110 int run(const V1_0::Model& model, const Request& request,
113 int run(const V1_1::Model& model, const Request& request,
128 const Model* mModel = nullptr;
/frameworks/compile/libbcc/include/bcc/
DCompilerConfig.h48 llvm::CodeModel::Model mCodeModel;
52 llvm::Optional<llvm::Reloc::Model> mRelocModel;
87 inline llvm::CodeModel::Model getCodeModel() const in getCodeModel()
89 inline void setCodeModel(llvm::CodeModel::Model pCodeMode) in setCodeModel()
97 inline llvm::Optional<llvm::Reloc::Model> getRelocationModel() const in getRelocationModel()
99 inline void setRelocationModel(llvm::Reloc::Model pRelocModel) in setRelocationModel()
/frameworks/ml/nn/driver/sample/
DSampleDriver.h40 Return<void> getSupportedOperations(const V1_0::Model& model,
42 Return<ErrorStatus> prepareModel(const V1_0::Model& model,
44 Return<ErrorStatus> prepareModel_1_1(const V1_1::Model& model, ExecutionPreference preference,
57 SamplePreparedModel(const Model& model) : mModel(model) {} in SamplePreparedModel()
66 Model mModel;
DSampleDriverAll.cpp37 Return<void> getSupportedOperations_1_1(const V1_1::Model& model,
52 Return<void> SampleDriverAll::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
DSampleDriver.cpp41 Return<void> SampleDriver::getSupportedOperations(const V1_0::Model& model, in getSupportedOperations()
52 Return<ErrorStatus> SampleDriver::prepareModel(const V1_0::Model& model, in prepareModel()
68 Return<ErrorStatus> SampleDriver::prepareModel_1_1(const V1_1::Model& model, in prepareModel_1_1()
DSampleDriverFloatFast.cpp37 Return<void> getSupportedOperations_1_1(const V1_1::Model& model,
52 Return<void> SampleDriverFloatFast::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
DSampleDriverFloatSlow.cpp37 Return<void> getSupportedOperations_1_1(const V1_1::Model& model,
52 Return<void> SampleDriverFloatSlow::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
DSampleDriverQuant.cpp37 Return<void> getSupportedOperations_1_1(const V1_1::Model& model,
52 Return<void> SampleDriverQuant::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
DSampleDriverMinimal.cpp38 Return<void> getSupportedOperations_1_1(const V1_1::Model& model,
53 Return<void> SampleDriverMinimal::getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1()
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h111 class Model {
113 Model() { in Model() function
117 ~Model() { ANeuralNetworksModel_free(mModel); } in ~Model()
122 Model(const Model&) = delete;
123 Model& operator=(const Model&) = delete;
128 Model(Model&& other) { *this = std::move(other); } in Model() function
129 Model& operator=(Model&& other) {
252 Compilation(const Model* model) { in Compilation()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp536 sp<Model> model = mModels.valueAt(i - 1); in detach()
541 if (model->mState == Model::STATE_ACTIVE) { in detach()
614 sp<Model> model = new Model(*handle, session, ioHandle, device, sound_model->type, in loadSoundModel()
641 sp<Model> model = mModels.valueAt(index); in unloadSoundModel()
643 if (model->mState == Model::STATE_ACTIVE) { in unloadSoundModel()
645 model->mState = Model::STATE_IDLE; in unloadSoundModel()
683 sp<Model> model = getModel(handle); in startRecognition()
688 if (model->mState == Model::STATE_ACTIVE) { in startRecognition()
701 model->mState = Model::STATE_ACTIVE; in startRecognition()
715 sp<Model> model = getModel(handle); in stopRecognition()
[all …]
DSoundTriggerHwService.h64 class Model : public RefBase {
72 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
75 ~Model() {} in ~Model()
131 sp<Model> getModel(sound_model_handle_t handle);
148 DefaultKeyedVector< sound_model_handle_t, sp<Model> > mModels;
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java83 public void updateModel(Model model) { in updateModel()
96 public Model getModel(UUID soundModelId) { in getModel()
98 return new Model(mSoundTriggerService.getSoundModel( in getModel()
153 public static class Model { class in SoundTriggerManager
160 Model(SoundTrigger.GenericSoundModel soundTriggerModel) { in Model() method in SoundTriggerManager.Model
168 public static Model create(UUID modelUuid, UUID vendorUuid, byte[] data) { in create()
169 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, in create()
/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp60 void CreateAddTwoTensorModel(Model* model) { in CreateAddTwoTensorModel()
77 void CreateAddThreeTensorModel(Model* model, const Matrix3x4 bias) { in CreateAddThreeTensorModel()
113 Model modelAdd2; in TEST_F()
130 Model modelAdd3; in TEST_F()
158 Model modelBroadcastAdd2; in TEST_F()
190 Model modelBroadcastMul2; in TEST_F()
DTestGenerated.cpp38 void graphDump([[maybe_unused]] const char* name, [[maybe_unused]] const Model& model) { in graphDump()
65 static void execute(std::function<void(Model*)> createModel, in execute()
69 Model model; in execute()
/frameworks/ml/nn/runtime/
DVersionedIDevice.h91 std::pair<ErrorStatus, hidl_vec<bool>> getSupportedOperations(const Model& model);
146 ErrorStatus prepareModel(const Model& model, ExecutionPreference preference,
DVersionedIDevice.cpp61 const Model& model) { in getSupportedOperations()
92 ErrorStatus VersionedIDevice::prepareModel(const Model& model, ExecutionPreference preference, in prepareModel()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java206 @NonNull private final Model mModel;
821 public enum Model { enum in ColorSpace
850 Model(@IntRange(from = 1, to = 4) int componentCount) { in Model() method in ColorSpace.Model
867 @NonNull Model model, in ColorSpace()
945 public Model getModel() { in getModel()
1217 if (source.getModel() == Model.RGB && destination.getModel() == Model.RGB) { in connect()
1269 if (source.getModel() == Model.RGB) { in connect()
1327 if (colorSpace.getModel() == Model.RGB) { in adapt()
1400 if (colorSpace.getModel() == Model.RGB) { in match()
1787 super(name, Model.XYZ, id); in Xyz()
[all …]
/frameworks/ml/nn/common/
DUtils.cpp264 void logModelToInfo(const V1_0::Model& model) { in logModelToInfo()
274 void logModelToInfo(const V1_1::Model& model) { in logModelToInfo()
1588 bool compliantWithV1_0(const V1_0::Model&) { in compliantWithV1_0() argument
1592 bool compliantWithV1_0(const V1_1::Model& model) { in compliantWithV1_0()
1603 bool compliantWithV1_1(const V1_0::Model&) { in compliantWithV1_1() argument
1607 bool compliantWithV1_1(const V1_1::Model&) { in compliantWithV1_1() argument
1692 V1_0::Model convertToV1_0(const V1_0::Model& model) { in convertToV1_0()
1696 V1_0::Model convertToV1_0(const V1_1::Model& model) { in convertToV1_0()
1709 V1_1::Model convertToV1_1(const V1_0::Model& model) { in convertToV1_1()
1719 V1_1::Model convertToV1_1(const V1_1::Model& model) { in convertToV1_1()
/frameworks/ml/nn/tools/test_generator/tests/P_float/
Daddfloat.mod.py7 Model().Add(i1, i2).Add(i3).Out(o)
/frameworks/ml/nn/runtime/test/specs/V1_0/
Drelu6_float_1.mod.py18 model = Model()
Drelu1_float_1.mod.py18 model = Model()
Drelu_float_1.mod.py18 model = Model()

12345678910>>...43