Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 3 of 3) sorted by relevance

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DLinearPartition.java37 public static List<List<IModuleDef>> split(List<IModuleDef> seq, int k) { in split() argument
42 partition.addAll(seq); in split()
47 int n = seq.size() - 1; in split()
50 for (IModuleDef value : seq) { in split()
58 int[][] table = buildPartitionTable(seq, k); in split()
65 partition.add(seq.get(i)); in split()
76 partition.add(seq.get(i)); in split()
87 private static int[][] buildPartitionTable(List<IModuleDef> seq, int k) { in buildPartitionTable() argument
88 int n = seq.size(); in buildPartitionTable()
93 table[i][0] = seq.get(i).getRuntimeHint() + ((i > 0) ? table[i - 1][0] : 0); in buildPartitionTable()
[all …]
/test/mlts/benchmark/jni/
Drun_tflite.cpp279 const InferenceInOutSequence& seq = inOutData[inputOutputSequenceIndex]; in benchmark() local
280 for (int i = 0; i < seq.size(); ++i) { in benchmark()
281 const InferenceInOut& data = seq[i]; in benchmark()
589 const InferenceInOutSequence& seq = inOutData[seqInferenceIndex]; in dumpAllLayers() local
590 for (int i = 0; i < seq.size(); ++i) { in dumpAllLayers()
591 const InferenceInOut& data = seq[i]; in dumpAllLayers()
Dbenchmark_jni.cpp176 auto& seq = mData.back(); in InferenceInOutSequenceList() local
177 seq.reserve(seqLen); in InferenceInOutSequenceList()
209 seq.push_back({input_data, input_len, {}, inputCreator}); in InferenceInOutSequenceList()
214 auto& outputs = seq.back().outputs; in InferenceInOutSequenceList()