| AI Engine-ML v2 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]
| default
| mylookup = TemplateLookup(directories=["mako_helpers/"])
| mytemplate = Template(filename=filename,lookup=mylookup)
| nargs
| output_file = args.output if args.output else basename
| parser = argparse.ArgumentParser()
| str
| text
| type

## 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]

## ◆ default

render_files.default

## ◆ mylookup

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

## ◆ mytemplate

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

## ◆ nargs

render_files.nargs

## ◆ output_file

render_files.output_file = args.output if args.output else basename

## ◆ parser

render_files.parser = argparse.ArgumentParser()

## ◆ str

render_files.str

## ◆ text

render_files.text

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

## ◆ type

render_files.type