Home
last modified time | relevance | path

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

/frameworks/ml/nn/tools/test_generator/
Dslicing.py109 def dump(self, model_file): argument
111 print(x, file=model_file)
162 with SmartOpen(model) as model_file:
164 print("# Generated file%s. Do not edit" % (spec_file), file=model_file)
165 print("model = Model()", file=model_file)
170 print(s.format_operands(model), file=model_file)
171 s.dump(model_file)
Dvts_generator.py187 def generate_vts_model(model, model_file): argument
263 print(model_fmt.format(**model_dict), file = model_file)
265 def generate_vts(model, model_file): argument
267 generate_vts_model(model, model_file)
268 DumpCtsIsIgnored(model, model_file)
316 model_file=re.sub(pathRegex, "", tg.FileNames.modelFile),
Dcts_generator.py115 model_file=re.sub(pathRegex, "", tg.FileNames.modelFile),