/cmsis-dsp-latest/Testing/PatternGeneration/ |
D | Tools.py | 1 import os.path 56 theDir=os.path.normpath(destPath) 57 if not os.path.exists(theDir): 187 def canOverwrite(self,path): argument 188 return(self._overwrite or not os.path.exists(path)) 191 """ Path to a reference pattern from the ID 198 str : path to the file where to generate the pattern data 201 return(os.path.join(self._patternDir,"%s%d_%s.txt" % (name,i,self._ext))) 203 return(os.path.join(self._patternDir,"Input%d_%s.txt" % (i,self._ext))) 206 """ Path to a reference pattern from the ID [all …]
|
D | DebugTools.py | 78 def readQ31Output(path): argument 79 sig = np.loadtxt(path, delimiter=',',dtype="int64",converters= {0:hexToQ31}) 83 def readQ15Output(path): argument 84 sig = np.loadtxt(path, delimiter=',',dtype="int64",converters= {0:hexToQ15}) 89 def readF32Output(path): argument 90 sig = np.loadtxt(path, delimiter=',',dtype="float",converters= {0:hex2float}) 94 def readF16Output(path): argument 95 sig = np.loadtxt(path, delimiter=',',dtype="float",converters= {0:hex2f16})
|
D | Example.py | 1 import os.path 51 # We define the path to the patterns. 52 # This path must be compatible with the folder directives used in the desc.txt 56 # So both path defines in desc.txt are relative to those root folders. 60 PATTERNDIR = os.path.join("Patterns","Example","ExampleCategory","ExampleCategory") 61 PARAMDIR = os.path.join("Parameters","Example","ExampleCategory","ExampleCategory")
|
D | Controller.py | 1 import os.path 21 PATTERNDIR = os.path.join("Patterns","DSP","Controller","Controller") 22 PARAMDIR = os.path.join("Parameters","DSP","Controller","Controller")
|
D | Softmax.py | 1 import os.path 52 PATTERNDIR = os.path.join("Patterns","NN","Softmax",) 53 PARAMDIR = os.path.join("Parameters","NN","Softmax")
|
/cmsis-dsp-latest/ |
D | setup.py | 8 import os.path 13 here = pathlib.Path(__file__).parent.resolve() 17 PYTHON_MOD = os.path.join(ROOT,"cmsisdsp") 18 version_path = os.path.join(PYTHON_MOD,"version.py") 26 includes = [os.path.join(ROOT,"Include"),os.path.join(ROOT,"PrivateInclude"),os.path.join("PythonWr… 52 filteringMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_filtering.c")) 53 matrixMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_matrix.c")) 54 supportMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_support.c")) 55 statisticsMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_statistics.c")) 56 complexfMod.append(os.path.join("PythonWrapper","cmsisdsp_pkg","src","cmsisdsp_complexf.c")) [all …]
|
/cmsis-dsp-latest/Testing/ |
D | summaryBench.py | 9 import os.path 17 def findItem(root,path): argument 21 path (list) : A list of node ID 22 This list is describing a path in the tree. 23 By starting from the root and following this path, 31 q = deque(path) 64 def summaryBenchmark(resultPath,elem,path): argument 65 regressionPath=os.path.join(os.path.dirname(path),"regression.csv") 67 if os.path.isfile(path): 69 full=pd.read_csv(path,dtype={'OLDID': str} ,keep_default_na = False) [all …]
|
D | convertToOld.py | 9 import os.path 20 def findItem(root,path): argument 24 path (list) : A list of node ID 25 This list is describing a path in the tree. 26 By starting from the root and following this path, 34 q = deque(path) 64 regressionPath=os.path.join(os.path.dirname(fullPath),"regression.csv") 79 benchPath = os.path.join(benchmark,elem.fullPath(),"fullBenchmark.csv") 90 …dd_argument('-f', nargs='?',type = str, default="Output.pickle", help="Test description file path") 91 …r.add_argument('-b', nargs='?',type = str, default="FullBenchmark", help="Full Benchmark dir path")
|
D | processResult.py | 9 import os.path 48 def findItem(root,path): argument 52 path (list) : A list of node ID 53 This list is describing a path in the tree. 54 By starting from the root and following this path, 62 q = deque(path) 93 #print(elem.path) 307 theDir=os.path.normpath(os.path.dirname(destPath)) 308 if not os.path.exists(theDir): 311 def correctPath(path): argument [all …]
|
D | processTests.py | 8 parser.add_argument('-f', nargs='?',type = str, default="Output.pickle", help="Pickle path") 10 parser.add_argument('-p', nargs='?',type = str, default="Patterns", help="Pattern dir path") 11 parser.add_argument('-d', nargs='?',type = str, default="Parameters", help="Parameter dir path")
|
/cmsis-dsp-latest/Testing/TestScripts/ |
D | CodeGen.py | 3 import os.path 34 theDir=os.path.normpath(os.path.dirname(destPath)) 35 if not os.path.exists(theDir): 164 with open(os.path.join(thedir,"%s_decl.h" % theClass),"w") as decl: 278 folder to the path used to get input files 279 if y, the path for the node is added. 291 The number of patterns path is generated 297 The number of parameter path is generated 300 path if a path 355 # Always dump even if there is no path for a test [all …]
|
D | NewParser.py | 57 t.addPattern(c["ID"],c["path"]) 61 if "path" in c: 62 t.addParam(p.TreeElem.PARAMFILE,c["ID"],c["path"]) 69 t.addOutput(c["ID"],c["path"]) 116 d["path"] = toks["path"] 122 if "path" in toks: 123 d["path"] = toks["path"] 167 path = Word(alphanums+"_/.") 169 folder = CaselessKeyword("folder") + "=" + path("folder") 174 … patterns = (Keyword("Pattern") + ident("ID") + ":" + path("path")).setParseAction(parseFile) [all …]
|
D | Parser.py | 16 Each pair is a pattern ID and pattern path 18 Each pair is an output ID and an output path 91 # New path for this node (when we want a new subfolder 109 def path(self): member in TreeElem 118 return(os.path.join(self.parent._fullPath() , self.path)) 123 return(os.path.normpath(self._fullPath())) 128 if p and self.path: 129 return(p + ":" + self.path) 132 if self.path: 133 return(self.path) [all …]
|
/cmsis-dsp-latest/Testing/DebugScripts/ |
D | debugbiquad.py | 4 import os.path 10 current_path = os.path.abspath(getsourcefile(lambda:0)) 11 current_dir = os.path.dirname(current_path) 12 parent_dir = current_dir[:current_dir.rfind(os.path.sep)] 14 sys.path.insert(0, parent_dir) 20 inputPath = os.path.join(parent_dir,"Patterns","DSP","Filtering","BIQUAD","BIQUAD%s" % f.upper(),"B… 21 refPath = os.path.join(parent_dir,"Patterns","DSP","Filtering","BIQUAD","BIQUAD%s" % f.upper(),"Biq… 22 outputPath= os.path.join(parent_dir,"Output","DSP","Filtering","BIQUAD","BIQUAD%s" % f.upper(),"Out…
|
D | debug.py | 4 import os.path 29 …inputPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexInput… 30 …refPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexInputSa… 31 …outputPath= os.path.join("Output","DSP","Transform","Transform%s" % args.f.upper(),"ComplexFFTSamp… 34 …inputPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexInput… 35 …refPath = os.path.join("Patterns","DSP","Transform","Transform%s" % args.f.upper(),"ComplexFFTSamp… 36 …outputPath= os.path.join("Output","DSP","Transform","Transform%s" % args.f.upper(),"ComplexFFTSamp…
|
/cmsis-dsp-latest/Source/DistanceFunctions/ |
D | arm_dtw_path_f32.c | 5 * Description: Warping path 48 * @param[out] pPath Warping path in cost matrix 2*(nb rows + nb columns) 49 * @param[out] pathLength Length of path in number of points 51 * @par Warping path 53 * The warping path has length which is at most 59 * the warping path. 62 * the returned path. The resturned path 142 /* Reverse the path */ in arm_dtw_path_f32()
|
/cmsis-dsp-latest/PythonWrapper/docs/source/ |
D | conf.py | 7 # -- Path setup -------------------------------------------------------------- 10 # add these directories to sys.path here. If the directory is relative to the 11 # documentation root, use os.path.abspath to make it absolute, like shown here. 15 # sys.path.insert(0, os.path.abspath('.')) 19 sys.path.insert(0, pathlib.Path(__file__).parents[2].resolve().as_posix())
|
/cmsis-dsp-latest/Testing/FrameworkInclude/ |
D | Semihosting.h | 51 Semihosting(std::string path,std::string patternRootPath 106 // Get the path to a pattern from a pattern ID 108 // Get a path to an output file from an ouput category 114 // Get file size from local path 115 Testing::nbSamples_t GetFileSize(std::string &path); 126 // Current path for the node 127 // (It is not the full path but the path added by this node) 135 std::vector<std::string> *path; variable 149 // Used to find a path or generator from a parameter ID
|
D | Test.h | 208 the path to the folder by using this new local folder 209 which is appended to the path. 262 Using the local path and ID, the IO implementatiom should 265 The path do not have to be a file path. Just a way 275 Using the local path and ID, the IO implementatiom should 278 The path do not have to be a file path. Just a way 352 combined with the path to identify patterns in other part of the class. 362 combined with the path and current test ID
|
/cmsis-dsp-latest/dsppp/ |
D | run_all.py | 3 import os.path 244 return(os.path.join("cprj","out","test",target_name(),"Release","test"+ ext)) 278 with open(os.path.join("allocation",test_name)+".h","w") as h: 285 with open(os.path.join("allocation",test_name)+".cpp","w") as h: 296 print(os.path.join(results(),test_name)+".txt") 297 with open(os.path.join(results(),test_name)+".txt","w") as h: 312 config = os.path.join("fvp_configs",target) + ".txt" 321 avhAttempt = os.path.join(AVHROOT,fvpWin[core]) 322 if os.path.exists(avhAttempt): 325 avhAttempt = os.path.join(AVHROOT,fvpUnix[core]) [all …]
|
D | mps3run.py | 11 import os.path 64 path = "." variable 68 axf_path = os.path.join(path,out,bin)
|
/cmsis-dsp-latest/Testing/cmsis_build/ |
D | runall.py | 33 sys.path.append("..") 159 if os.path.exists(axf): 161 if os.path.exists(elf): 164 config = os.path.join("configs",configFiles[core]) 166 config = os.path.join("configs",configFiles[core][compiler]) 169 avhAttempt = os.path.join(AVHROOT,avhWindowsExe[core]) 170 if os.path.exists(avhAttempt): 173 avhAttempt = os.path.join(AVHROOT,avhUnixExe[core]) 174 if os.path.exists(avhAttempt):
|
/cmsis-dsp-latest/.github/workflows/ |
D | runcpptest.yaml | 32 cache-dependency-path: Testing/requirements.txt 45 path: /home/runner/.cache/arm/packs 62 path: ${{ github.workspace }}/boost_1_84_0 100 path: dsppp/${{ matrix.compiler }}_results/errors_${{ matrix.core }}.txt
|
/cmsis-dsp-latest/PythonWrapper/examples/ |
D | example_1_11.py | 104 printSubTitle("Path") 106 path=dsp.arm_dtw_path_f32(np.copy(dtwMatrix)) variable 107 #print(path) 109 for x in list(zip(path[0::2],path[1::2])):
|
/cmsis-dsp-latest/Testing/FrameworkSource/ |
D | Semihosting.cpp | 49 std::string path; member 56 …Semihosting::Semihosting(std::string path,std::string patternRootPath,std::string outputRootPath,s… in Semihosting() argument 59 this->infile=fopen(path.c_str(), "r"); in Semihosting() 60 this->path=new std::vector<std::string>(); in Semihosting() 88 delete(this->path); in ~Semihosting() 167 gen.path=tmp; in ReadParameterList() 266 for (iter = this->path->begin(); iter != this->path->end(); ++iter) in recomputeTestDir() 352 this->path->push_back(currentPath); in ReadIdentification() 392 this->path->pop_back(); in EndGroup() 396 Get pattern path. [all …]
|