| AI Engine-ML Intrinsics User Guide (v2025.2)

Loading...
Searching...
No Matches
Functions | Variables
render_files Namespace Reference

## Functions
| filter_newline (input)

## Variables
| args = parser.parse_args(sys.argv[1:])
| basename = os.path.splitext(filename)[0]
| filename = args.input
| mylookup = TemplateLookup(directories=["mako_helpers/"])
| mytemplate = Template(filename=filename,lookup=mylookup)
| output = args.output
| parser = argparse.ArgumentParser()
| text

## Function Documentation

## ◆ filter_newline()

render_files.filter_newline | ( |  | input | ) |

## Variable Documentation

## ◆ args

render_files.args = parser.parse_args(sys.argv[1:])

## ◆ basename

render_files.basename = os.path.splitext(filename)[0]

## ◆ filename

render_files.filename = args.input

## ◆ mylookup

render_files.mylookup = TemplateLookup(directories=["mako_helpers/"])

## ◆ mytemplate

render_files.mytemplate = Template(filename=filename,lookup=mylookup)

## ◆ output

render_files.output = args.output

## ◆ parser

render_files.parser = argparse.ArgumentParser()

## ◆ text

render_files.text

Initial value:
1= mytemplate.render(FILENAME =os.path.basename(basename),
2 NAMESPACE="aie2")