/frameworks/ml/nn/runtime/ |
H A D | ModelBuilder.cpp | 49 auto& operand = mOperands[idx]; local 50 operand.type = static_cast<OperandType>(type.type); 51 setFromIntList(&operand.dimensions, type.dimensionCount, type.dimensions); 52 operand.numberOfConsumers = 0; 53 operand.scale = type.scale; 54 operand.zeroPoint = type.zeroPoint; 55 operand.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; 56 operand.location = {.poolIndex = 0, .offset = 0, .length = 0}; 61 VLOG(MODEL) << __func__ << " for operand " << index << " size " << length; 63 LOG(ERROR) << "ANeuralNetworksModel_setOperandValue setting operand " << inde 67 Operand& operand = mOperands[index]; local 121 Operand& operand = mOperands[l.operandIndex]; local 144 Operand& operand = mOperands[l.operandIndex]; local 160 Operand& operand = mOperands[index]; local [all...] |
H A D | Manager.cpp | 100 const Operand& operand = hidlModel.operands[operandIndex]; 101 accumulator ^= static_cast<uint32_t>(operand.type); 102 accumulator ^= operand.dimensions.size(); 103 for (uint32_t dimension : operand.dimensions) { 105 if (operand.lifetime == OperandLifeTime::CONSTANT_COPY || 106 operand.lifetime == OperandLifeTime::CONSTANT_REFERENCE) {
|
H A D | ExecutionBuilder.h | 57 int setFromPointer(const Operand& operand, const ANeuralNetworksOperandType* type, void* buffer, 59 int setFromMemory(const Operand& operand, const ANeuralNetworksOperandType* type, 61 int setFromTemporaryMemory(const Operand& operand, uint32_t poolIndex, uint32_t offset); 62 int updateDimensionInfo(const Operand& operand, const ANeuralNetworksOperandType* newType); 127 // operand indexes. 138 // corresponding operand.
|
H A D | ExecutionBuilder.cpp | 34 int ModelArgumentInfo::setFromPointer(const Operand& operand, argument 37 int n = updateDimensionInfo(operand, type); 55 int ModelArgumentInfo::setFromMemory(const Operand& operand, const ANeuralNetworksOperandType* type, argument 57 int n = updateDimensionInfo(operand, type); 67 int ModelArgumentInfo::setFromTemporaryMemory(const Operand& operand, argument 69 dimensions = operand.dimensions; 72 {.poolIndex = poolIndex, .offset = offset, .length = sizeOfData(operand)}; 77 int ModelArgumentInfo::updateDimensionInfo(const Operand& operand, argument 83 if (static_cast<OperandType>(newType->type) != operand.type || 84 count != operand [all...] |
H A D | ExecutionPlan.cpp | 77 // This class tracks whether we know the value of an operand as operations 138 // Adds an operand if it has not been added already. 139 // Sets the index in the submodel for the corresponding operand. 142 // Have we added this operand already? 150 // First time we add this operand. 154 // Add the operand to the submodel. 155 const Operand& operand = fromModel.getOperand(fromOperandIndex); local 156 ANeuralNetworksOperandType type = {.type = static_cast<int32_t>(operand.type), 158 static_cast<uint32_t>(operand.dimensions.size()), 159 .dimensions = operand 327 const Operand& operand = mSubModel->getOperand(subModelOutput.second); local [all...] |
/frameworks/rs/rsov/compiler/spirit/ |
H A D | instructions.h | 36 // Word count for a serialized operand 42 inline uint16_t WordCount(const std::string &operand) { argument 43 return operand.length() / 4 + 1; 97 bool DeserializeExactlyOne(InputWordStream &IS, T *operand) { argument 102 IS >> operand; local 104 mRemainingWordCount -= WordCount(*operand); 110 bool DeserializeOptionallyOne(InputWordStream &IS, T **operand) { argument 114 *operand = new T(); 115 return DeserializeExactlyOne(IS, *operand);
|
H A D | generate.py | 194 for operand in operands: 195 type = operand['kind'] 201 quantifier = operand.get('quantifier') 202 comment = operand.get('name');
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | InMatcher.java | 66 public static <T> Matcher<T> in(T... operand) { argument 67 return new InMatcher<T>(operand); 71 public static <T> Matcher<T> in(Collection<T> operand) { argument 72 return new InMatcher<T>(operand);
|
/frameworks/ml/nn/common/ |
H A D | Utils.cpp | 291 LOG(ERROR) << tag << " invalid operand index at " << i << " = " << list[i] 311 for (auto& operand : operands) { 313 static_cast<uint32_t>(operand.type))) { 314 LOG(ERROR) << "Invalid operand type " << toString(operand.type); 318 if (!validOperandIndexes(operand.dimensions, mDimensions)) { 322 switch (operand.lifetime) { 324 if (operand.location.offset + operand.location.length > operandValues.size()) { 326 << operand 394 const Operand& operand = operands[operandIndex]; local [all...] |
/frameworks/ml/nn/common/include/ |
H A D | CpuExecutor.h | 30 // Information we maintain about each operand during execution that 35 // The type and dimensions of the operand. The dimensions can 43 // Where the operand's data is stored. Check the corresponding 45 // to memory we have allocated for an temporary operand. 102 // making a full copy, the indexes used in the operand description 135 inline size_t NumDimensions(const RunTimeOperandInfo *operand) { argument 136 return operand->shape().dimensions.size(); 139 inline uint32_t SizeOfDimension(const RunTimeOperandInfo *operand, int i) { argument 140 return operand->shape().dimensions[i];
|
H A D | Utils.h | 87 // type of this operand. 88 inline uint32_t sizeOfData(const Operand& operand) { argument 89 return sizeOfData(operand.type, operand.dimensions);
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
H A D | LockFindingClassVisitor.java | 125 BasicValue operand = (BasicValue) f.getStack(f.getStackSize() - 1); 126 if (operand instanceof LockTargetState) { 127 LockTargetState state = (LockTargetState) operand; 139 BasicValue operand = (BasicValue) f.getStack(f.getStackSize() - 1); 140 if (operand instanceof LockTargetState) { 141 LockTargetState state = (LockTargetState) operand;
|
/frameworks/ml/nn/runtime/test/ |
H A D | TestPartitioning.cpp | 80 // outputs in order to construct the models and operand lists to 94 // operand number in the original model (see ExecutionStep method 241 // about graph topology rather than details of operand types and 245 // Create a tensor operand of the specified type, and return the 246 // corresponding operand index. 257 // the operation kind (0..7) and the input operand indexes. 258 // Returns the output operand index. 286 // Create a scalar integer operand of the specified value, and 287 // return the corresponding operand index. 290 uint32_t operand local 297 addOperandOfSameType(uint32_t operand) argument 406 const Operand& operand = model->getOperand(i); local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ValidateNotificationPeople.java | 487 public void applyChangesLocked(NotificationRecord operand) { argument 488 float affinityBound = operand.getContactAffinity(); 489 operand.setContactAffinity(Math.max(mContactAffinity, affinityBound)); 490 if (VERBOSE) Slog.i(TAG, "final affinity: " + operand.getContactAffinity());
|
/frameworks/ml/nn/common/operations/ |
H A D | LSTM.cpp | 29 inline T *GetBuffer(RunTimeOperandInfo* operand) { argument 30 return reinterpret_cast<T*>(operand->buffer); 34 inline const T *GetBuffer(const RunTimeOperandInfo* operand) { argument 35 return reinterpret_cast<const T*>(operand->buffer);
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter.java | 403 public void visitIntInsn(int opcode, int operand) { argument 405 mOrgWriter.visitIntInsn(opcode, operand);
|
H A D | StubMethodAdapter.java | 320 public void visitIntInsn(int opcode, int operand) { argument 322 mParentVisitor.visitIntInsn(opcode, operand);
|
H A D | AsmAnalyzer.java | 669 // pass -- a zero operand instruction 673 public void visitIntInsn(int opcode, int operand) { argument 674 // pass -- a single int operand instruction 769 // type is the operand of the instruction to be visited. This operand must be the
|
H A D | DependencyFinder.java | 547 // pass -- a zero operand instruction 551 public void visitIntInsn(int opcode, int operand) { argument 552 // pass -- a single int operand instruction 643 // type is the operand of the instruction to be visited. This operand must be the
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |