Home
last modified time | relevance | path

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

/test/mlts/benchmark/tools/
Dconvert_binary_to_img.py33 arr = np.frombuffer(f.read(), dtype=np.float32)
35 arr = arr.reshape((h, w, d))
36 arr = (arr + 1) * 128
37 im = Image.fromarray(arr.astype(np.uint8))
/test/dittosuite/
Dditto2cpp.py40 def compute_common_prefix(arr): argument
41 result = arr[0]
45 for i in range(1, len(arr)):
47 while arr[i].find(result) != 0:
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DIncrementalDeqpPreparer.java363 String[] arr = file.split("/", 3); in getTargetFileHash() local
364 if (arr.length < 3) { in getTargetFileHash()
373 String formattedName = arr[1].toUpperCase() + "/" + arr[2]; in getTargetFileHash()