/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | ConcatSplit.cpp | 24 static void concatConstructor(uint32_t numInputs, bool isV1_0, uint32_t rank, RandomOperation* op) { in concatConstructor() argument 26 op->inputs[i]->dimensions.resize(rank); in concatConstructor() 29 op->outputs[0]->dimensions.resize(rank); in concatConstructor() 31 int32_t axis = getUniform<int32_t>(0, rank - 1); in concatConstructor() 33 for (uint32_t i = 0; i < rank; i++) { in concatConstructor() 56 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE() argument 57 concatConstructor(/*numInputs=*/2, /*isV1_0=*/true, rank, op); in DEFINE_OPERATION_SIGNATURE() 69 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE() argument 70 concatConstructor(/*numInputs=*/3, /*isV1_0=*/true, rank, op); in DEFINE_OPERATION_SIGNATURE() 81 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE() argument [all …]
|
D | Reshape.cpp | 26 static void spaceToDepthConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in spaceToDepthConstructor() argument 27 NN_FUZZER_CHECK(rank == 4); in spaceToDepthConstructor() 81 static void depthToSpaceConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in depthToSpaceConstructor() argument 82 NN_FUZZER_CHECK(rank == 4); in depthToSpaceConstructor() 137 static void reshapeConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in reshapeConstructor() argument 138 setFreeDimensions(op->inputs[0], rank); in reshapeConstructor() 139 op->inputs[1]->dimensions = {rank}; in reshapeConstructor() 140 op->inputs[1]->randomBuffer.resize(rank); in reshapeConstructor() 143 for (uint32_t i = 0; i < rank; i++) { in reshapeConstructor() 169 static void batchToSpaceConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in batchToSpaceConstructor() argument [all …]
|
D | Selection.cpp | 27 static void embeddingLookupConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in embeddingLookupConstructor() argument 29 setFreeDimensions(op->inputs[1], rank); in embeddingLookupConstructor() 30 op->outputs[0]->dimensions.resize(rank); in embeddingLookupConstructor() 32 for (uint32_t i = 1; i < rank; i++) { in embeddingLookupConstructor() 64 static void hashtableLookupConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in hashtableLookupConstructor() argument 67 op->inputs[2]->dimensions.resize(rank); in hashtableLookupConstructor() 68 op->outputs[0]->dimensions.resize(rank); in hashtableLookupConstructor() 71 for (uint32_t i = 1; i < rank; i++) { in hashtableLookupConstructor() 115 static void gatherConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in gatherConstructor() argument 117 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in gatherConstructor() [all …]
|
D | Reduce.cpp | 23 static void reduceOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in reduceOpConstructor() argument 24 setFreeDimensions(op->inputs[0], rank); in reduceOpConstructor() 34 int32_t dim = getUniform<int32_t>(-rank, rank - 1); in reduceOpConstructor() 36 reduce[dim < 0 ? dim + rank : dim] = true; in reduceOpConstructor() 47 for (uint32_t i = 0; i < rank; i++) { in reduceOpConstructor() 102 static void singleAxisReduceOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in singleAxisReduceOpConstructor() argument 103 setFreeDimensions(op->inputs[0], rank); in singleAxisReduceOpConstructor() 106 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in singleAxisReduceOpConstructor() 108 for (uint32_t i = 0; i < rank; i++) { in singleAxisReduceOpConstructor() 109 if (i != static_cast<uint32_t>(axis) && i != axis + rank) { in singleAxisReduceOpConstructor()
|
D | Normalization.cpp | 23 static void softmaxConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in softmaxConstructor() argument 24 sameDimensionOpConstructor(dataType, rank, op); in softmaxConstructor() 27 op->inputs[2]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in softmaxConstructor() 91 static void l2normConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in l2normConstructor() argument 92 sameDimensionOpConstructor(dataType, rank, op); in l2normConstructor() 95 op->inputs[1]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in l2normConstructor() 158 static void localResponseNormConstructor(TestOperandType dataType, uint32_t rank, in localResponseNormConstructor() argument 160 sameDimensionOpConstructor(dataType, rank, op); in localResponseNormConstructor() 163 op->inputs[5]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in localResponseNormConstructor()
|
D | OperationSignatureUtils.h | 235 inline void setFreeDimensions(const std::shared_ptr<RandomOperand>& op, uint32_t rank) { 236 op->dimensions.resize(rank); 237 for (uint32_t i = 0; i < rank; i++) op->dimensions[i] = RandomVariableType::FREE; 251 inline void sameDimensionOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { 252 setFreeDimensions(op->inputs[0], rank); 257 inline void sameShapeOpConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { 258 sameDimensionOpConstructor(dataType, rank, op); 330 .constructor = [](TestOperandType, uint32_t rank, \ 331 RandomOperand* op) { defaultOperandConstructor((opType), rank, op); }, \ 343 [](TestOperandType dataType, uint32_t rank, RandomOperand* op) { \ [all …]
|
D | Broadcast.cpp | 25 static void broadcastOpConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in broadcastOpConstructor() argument 26 const uint32_t rank2 = getUniform(1u, rank), rankDiff = rank - rank2; in broadcastOpConstructor() 27 op->inputs[0]->dimensions.resize(rank); in broadcastOpConstructor() 29 op->outputs[0]->dimensions.resize(rank); in broadcastOpConstructor() 30 for (uint32_t i = 0; i < rank; i++) { in broadcastOpConstructor()
|
D | FullyConnected.cpp | 25 static void fullyConnectedConstructor(TestOperandType, uint32_t rank, TestHalVersion ver, in fullyConnectedConstructor() argument 28 op->inputs[0]->dimensions.resize(rank); in fullyConnectedConstructor() 30 for (uint32_t i = 0; i < rank; i++) { in fullyConnectedConstructor()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | NotificationVisibility.java | 35 public int rank; field in NotificationVisibility 77 private NotificationVisibility(String key, int rank, int count, boolean visible, in NotificationVisibility() argument 81 this.rank = rank; in NotificationVisibility() 91 + " rank=" + rank in toString() 100 return obtain(this.key, this.rank, this.count, this.visible, this.location); in clone() 127 out.writeInt(this.rank); in writeToParcel() 135 this.rank = in.readInt(); in readFromParcel() 144 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible) { in obtain() argument 145 return obtain(key, rank, count, visible, in obtain() 152 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible, in obtain() argument [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 351 C2Component::rank_t rank = trait.rank; in buildMediaCodecList() local 402 rank = 1; in buildMediaCodecList() 409 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList() 418 rank = 1; in buildMediaCodecList() 423 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList() 429 rank = 1; in buildMediaCodecList() 489 if (!codec.rank.empty()) { in buildMediaCodecList() 492 if (sscanf(codec.rank.c_str(), "%u%c", &xmlRank, &dummy) == 1) { in buildMediaCodecList() 493 rank = xmlRank; in buildMediaCodecList() 496 ALOGV("rank: %u", (unsigned)rank); in buildMediaCodecList() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SearchIndexableResource.java | 53 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument 55 this.rank = rank; in SearchIndexableResource()
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_3/ |
D | rank.example.cpp | 7 namespace generated_tests::rank { namespace 54 namespace generated_tests::rank { namespace 135 namespace generated_tests::rank { namespace 182 namespace generated_tests::rank { namespace 229 namespace generated_tests::rank { namespace 310 namespace generated_tests::rank { namespace 357 namespace generated_tests::rank { namespace 438 namespace generated_tests::rank { namespace 485 namespace generated_tests::rank { namespace 566 namespace generated_tests::rank { namespace [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | svdf.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
D | svdf_bias_present.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
D | svdf2.mod.py | 19 rank = 2 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | OperationManager.cpp | 51 for (auto rank : supportedRanks) { in matchFilter() local 52 if (hasValue(filter.ranks, rank)) combinedRanks.push_back(rank); in matchFilter()
|
D | RandomGraphGenerator.cpp | 45 uint32_t rank) in RandomOperand() argument 48 if (operand.constructor) operand.constructor(dataType, rank, this); in RandomOperand() 88 uint32_t rank = getRandomChoice(operation.supportedRanks); in RandomOperation() local 92 inputs.emplace_back(new RandomOperand(op, dataType, rank)); in RandomOperation() 95 outputs.emplace_back(new RandomOperand(op, dataType, rank)); in RandomOperation() 97 if (operation.constructor) operation.constructor(dataType, rank, this); in RandomOperation()
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | svdf_bias_present_float16.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
D | svdf_float16.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | svdf2_relaxed.mod.py | 19 rank = 2 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
D | svdf_relaxed.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
D | svdf_bias_present_relaxed.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
/frameworks/av/media/libstagefright/ |
D | OmxInfoBuilder.cpp | 165 uint32_t rank = isSoftware in buildMediaCodecList() local 171 uint32_t oldRank = rank; in buildMediaCodecList() 173 if (sscanf(attribute.value.c_str(), "%u%c", &rank, &dummy) != 1) { in buildMediaCodecList() 174 rank = oldRank; in buildMediaCodecList() 189 info->setRank(rank); in buildMediaCodecList()
|
/frameworks/ml/nn/common/operations/ |
D | SVDF.cpp | 82 const int rank = getScalarData<int>(*GetInput(operation, operands, kRankParam)); in Prepare() local 85 NN_CHECK_EQ(num_filters % rank, 0); in Prepare() 86 const uint32_t num_units = num_filters / rank; in Prepare() 169 const int rank = params_.rank_; in EvalFloat32() local 173 const int num_units = num_filters / rank; in EvalFloat32() 217 rank); in EvalFloat32()
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 81 ShortcutInfo shortcutInfo, String className, int rank) { in AppTarget() argument 87 mRank = rank; in AppTarget() 286 public Builder setRank(@IntRange(from = 0) int rank) { in setRank() 287 if (rank < 0) { in setRank() 290 mRank = rank; in setRank()
|