Searched refs:ioType (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/runtime/ |
D | Memory.cpp | 105 bool validate(const CompilationBuilder* compilation, IOType ioType, uint32_t index, in validate() argument 108 NN_RET_CHECK(kCompilationRoles.count({compilation, ioType, index}) > 0) in validate() 317 int MemoryBuilder::addRole(const CompilationBuilder& compilation, IOType ioType, uint32_t index, in addRole() argument 319 const char* tag = ioType == IOType::INPUT ? "addInputRole" : "addOutputRole"; in addRole() 323 if (mRoles.count({&compilation, ioType, index}) > 0) { in addRole() 333 if (ioType == IOType::INPUT) { in addRole() 346 if (ioType == IOType::INPUT) { in addRole() 383 mRoles.emplace(&compilation, ioType, index); in addRole()
|
D | Memory.h | 129 virtual bool validate(const CompilationBuilder* compilation, IOType ioType, uint32_t index, 226 int addRole(const CompilationBuilder& compilation, IOType ioType, uint32_t index, float freq);
|