Home
last modified time | relevance | path

Searched refs:tg (Results 1 – 5 of 5) sorted by relevance

/frameworks/ml/nn/tools/test_generator/
Dcts_generator.py35 import test_generator as tg namespace
81 tg.FileNames.InitializeFileLists(
87 [tg.FileNames.modelFile, tg.FileNames.exampleFile, tg.FileNames.testFile]):
89 specTime = os.path.getmtime(tg.FileNames.specFile) + 10
90 modelTime = os.path.getmtime(tg.FileNames.modelFile)
91 exampleTime = os.path.getmtime(tg.FileNames.exampleFile)
92 testTime = os.path.getmtime(tg.FileNames.testFile)
110 specFileBase = os.path.basename(tg.FileNames.specFile)
115 model_file=re.sub(pathRegex, "", tg.FileNames.modelFile),
116 example_file=re.sub(pathRegex, "", tg.FileNames.exampleFile),
[all …]
Dvts_generator.py39 import test_generator as tg namespace
78 tg.FileNames.InitializeFileLists(
104 "scale": tg.PrettyPrintAsFloat(o.type.scale),
178 'ins': tg.GetJointStr(model.GetIndexOfOperands(op.ins)),
179 'outs': tg.GetJointStr(model.GetIndexOfOperands(op.outs))
258 "output_indices": tg.GetJointStr(model.GetOutputsIndex()),
259 "input_indices": tg.GetJointStr(model.GetInputsIndex()),
290 namespace=tg.FileNames.specName,
311 specFileBase = os.path.basename(tg.FileNames.specFile)
316 model_file=re.sub(pathRegex, "", tg.FileNames.modelFile),
[all …]
Dspec_visualizer.py39 import test_generator as tg namespace
356 html += "<h1>%s</h1>"%(tg.FileNames.specName)
369 g["options"] = {"relaxed": str(model.isRelaxed), "useSHM": str(tg.Configuration.useSHM())}
391 tg.FileNames.InitializeFileLists(
393 tg.FileNames.NextFile()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp61 const uchar *tg = &tr[256]; in kernel() local
62 const uchar *tb = &tg[256]; in kernel()
67 out[1] = tg[in[1]]; in kernel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java58 float tg = tgi / 255f; in colorize() local
62 float cLum = (tr * lr + tg * lg + tb * lb) * 255; in colorize()