/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() 55 .constructor = [](Type, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE() argument 56 concatConstructor(/*numInputs=*/2, /*isV1_0=*/true, rank, op); in DEFINE_OPERATION_SIGNATURE() 66 .constructor = [](Type, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE() argument 67 concatConstructor(/*numInputs=*/3, /*isV1_0=*/true, rank, op); in DEFINE_OPERATION_SIGNATURE() 77 .constructor = [](Type, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE() argument [all …]
|
D | Selection.cpp | 23 static void embeddingLookupConstructor(Type, uint32_t rank, RandomOperation* op) { in embeddingLookupConstructor() argument 25 setFreeDimensions(op->inputs[1], rank); in embeddingLookupConstructor() 26 op->outputs[0]->dimensions.resize(rank); in embeddingLookupConstructor() 28 for (uint32_t i = 1; i < rank; i++) { in embeddingLookupConstructor() 53 static void hashtableLookupConstructor(Type, uint32_t rank, RandomOperation* op) { in hashtableLookupConstructor() argument 56 op->inputs[2]->dimensions.resize(rank); in hashtableLookupConstructor() 57 op->outputs[0]->dimensions.resize(rank); in hashtableLookupConstructor() 60 for (uint32_t i = 1; i < rank; i++) { in hashtableLookupConstructor() 102 static void gatherConstructor(Type, uint32_t rank, RandomOperation* op) { in gatherConstructor() argument 104 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in gatherConstructor() [all …]
|
D | Reshape.cpp | 23 static void spaceToDepthConstructor(Type, uint32_t rank, RandomOperation* op) { in spaceToDepthConstructor() argument 24 NN_FUZZER_CHECK(rank == 4); in spaceToDepthConstructor() 76 static void depthToSpaceConstructor(Type, uint32_t rank, RandomOperation* op) { in depthToSpaceConstructor() argument 77 NN_FUZZER_CHECK(rank == 4); in depthToSpaceConstructor() 129 static void reshapeConstructor(Type, uint32_t rank, RandomOperation* op) { in reshapeConstructor() argument 130 setFreeDimensions(op->inputs[0], rank); in reshapeConstructor() 131 op->inputs[1]->dimensions = {rank}; in reshapeConstructor() 132 op->inputs[1]->randomBuffer.resize(rank); in reshapeConstructor() 135 for (uint32_t i = 0; i < rank; i++) { in reshapeConstructor() 163 static void batchToSpaceConstructor(Type, uint32_t rank, RandomOperation* op) { in batchToSpaceConstructor() argument [all …]
|
D | Reduce.cpp | 23 static void reduceOpConstructor(Type, 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() 97 static void singleAxisReduceOpConstructor(Type, uint32_t rank, RandomOperation* op) { in singleAxisReduceOpConstructor() argument 98 setFreeDimensions(op->inputs[0], rank); in singleAxisReduceOpConstructor() 101 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in singleAxisReduceOpConstructor() 103 for (uint32_t i = 0; i < rank; i++) { in singleAxisReduceOpConstructor() 104 if (i != static_cast<uint32_t>(axis) && i != axis + rank) { in singleAxisReduceOpConstructor()
|
D | Normalization.cpp | 23 static void softmaxConstructor(Type 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() 68 static void l2normConstructor(Type dataType, uint32_t rank, RandomOperation* op) { in l2normConstructor() argument 69 sameDimensionOpConstructor(dataType, rank, op); in l2normConstructor() 72 op->inputs[1]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in l2normConstructor() 114 static void localResponseNormConstructor(Type dataType, uint32_t rank, RandomOperation* op) { in localResponseNormConstructor() argument 115 sameDimensionOpConstructor(dataType, rank, op); in localResponseNormConstructor() 118 op->inputs[5]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in localResponseNormConstructor()
|
D | OperationSignatureUtils.h | 201 inline void setFreeDimensions(const std::shared_ptr<RandomOperand>& op, uint32_t rank) { 202 op->dimensions.resize(rank); 203 for (uint32_t i = 0; i < rank; i++) op->dimensions[i] = RandomVariableType::FREE; 217 inline void sameDimensionOpConstructor(Type, uint32_t rank, RandomOperation* op) { 218 setFreeDimensions(op->inputs[0], rank); 223 inline void sameShapeOpConstructor(Type dataType, uint32_t rank, RandomOperation* op) { 224 sameDimensionOpConstructor(dataType, rank, op); 256 .constructor = [](Type, uint32_t rank, \ 257 RandomOperand* op) { defaultOperandConstructor((opType), rank, op); }, \ 269 [](Type dataType, uint32_t rank, RandomOperand* op) { \ [all …]
|
D | Broadcast.cpp | 23 static void broadcastOpConstructor(Type dataType, uint32_t rank, RandomOperation* op) { in broadcastOpConstructor() argument 25 op->inputs[0]->dimensions.resize(rank); in broadcastOpConstructor() 26 op->inputs[1]->dimensions.resize(rank); in broadcastOpConstructor() 27 op->outputs[0]->dimensions.resize(rank); in broadcastOpConstructor() 28 for (uint32_t i = 0; i < rank; i++) { in broadcastOpConstructor()
|
D | FullyConnected.cpp | 25 static void fullyConnectedConstructor(Type, uint32_t rank, HalVersion ver, RandomOperation* op) { in fullyConnectedConstructor() argument 27 op->inputs[0]->dimensions.resize(rank); in fullyConnectedConstructor() 29 for (uint32_t i = 0; i < rank; i++) { in fullyConnectedConstructor()
|
D | Convolutions.cpp | 25 static void conv2DExplicitConstructor(Type, uint32_t rank, HalVersion ver, RandomOperation* op) { in conv2DExplicitConstructor() argument 26 NN_FUZZER_CHECK(rank == 4); in conv2DExplicitConstructor() 79 static void conv2DImplicitConstructor(Type, uint32_t rank, HalVersion ver, RandomOperation* op) { in conv2DImplicitConstructor() argument 80 NN_FUZZER_CHECK(rank == 4); in conv2DImplicitConstructor() 260 static void depthwiseConv2DExplicitConstructor(Type, uint32_t rank, HalVersion ver, in depthwiseConv2DExplicitConstructor() argument 262 NN_FUZZER_CHECK(rank == 4); in depthwiseConv2DExplicitConstructor() 316 static void depthwiseConv2DImplicitConstructor(Type, uint32_t rank, HalVersion ver, in depthwiseConv2DImplicitConstructor() argument 318 NN_FUZZER_CHECK(rank == 4); in depthwiseConv2DImplicitConstructor() 508 static void groupedConv2DExplicitConstructor(Type, uint32_t rank, RandomOperation* op) { in groupedConv2DExplicitConstructor() argument 509 NN_FUZZER_CHECK(rank == 4); in groupedConv2DExplicitConstructor() [all …]
|
/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 | 350 C2Component::rank_t rank = trait.rank; in buildMediaCodecList() local 401 rank = 1; in buildMediaCodecList() 408 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList() 417 rank = 1; in buildMediaCodecList() 422 rank = std::numeric_limits<decltype(rank)>::max(); in buildMediaCodecList() 428 rank = 1; in buildMediaCodecList() 488 if (!codec.rank.empty()) { in buildMediaCodecList() 491 if (sscanf(codec.rank.c_str(), "%u%c", &xmlRank, &dummy) == 1) { in buildMediaCodecList() 492 rank = xmlRank; in buildMediaCodecList() 495 ALOGV("rank: %u", (unsigned)rank); in buildMediaCodecList() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SearchIndexableResource.java | 52 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument 54 this.rank = rank; in SearchIndexableResource()
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | svdf_float16.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
D | svdf_bias_present_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_0/ |
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)
|
D | svdf.mod.py | 19 rank = 1 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | OperationManager.cpp | 49 for (auto rank : supportedRanks) { in matchFilter() local 50 if (hasValue(filter.ranks, rank)) combinedRanks.push_back(rank); in matchFilter()
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
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)
|
D | svdf2_relaxed.mod.py | 19 rank = 2 variable 20 units = int(features / rank) 31 rank_param = Int32Scalar("rank_param", rank)
|
/frameworks/ml/nn/common/operations/ |
D | SVDF.cpp | 65 const int rank = getScalarData<int>(*GetInput(operation, operands, kRankParam)); in Prepare() local 68 NN_CHECK_EQ(num_filters % rank, 0); in Prepare() 69 const uint32_t num_units = num_filters / rank; in Prepare() 153 const int rank = params_.rank_; in EvalFloat32() local 157 const int num_units = num_filters / rank; in EvalFloat32() 201 rank); in EvalFloat32()
|
/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/base/packages/CarSystemUI/src/com/android/systemui/volume/ |
D | CarVolumeDialogImpl.java | 384 int rank = 0; in loadAudioUsageItems() local 396 volumeItem.rank = rank; in loadAudioUsageItems() 400 rank++; in loadAudioUsageItems() 411 int rank = Integer.MAX_VALUE; in getVolumeItemForUsages() local 415 if (volumeItem.rank < rank) { in getVolumeItemForUsages() 416 rank = volumeItem.rank; in getVolumeItemForUsages() 475 private int rank; field in CarVolumeDialogImpl.VolumeItem
|
/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()
|