Questions tagged [anf]

A-normal form or administrative normal form (abbreviated ANF) is an intermediate representation of programs in functional compilers.

2 questions
10
votes
0 answers

Calculating administrative normal form

Administrative Normal Form is an intermediate representation of code, suitable for use by compilers, that is logically equivalent to Single Static Assignment but has some advantages. For example, checking whether a program is a valid SSA form is an…
rwallace
  • 31,405
  • 40
  • 123
  • 242
0
votes
0 answers

example of tvm letnode

In tvm, according to the docs Let binding is used in every high-level programming language. In Relay, it is a data structure with three fields Let(var, value, body). When we evaluate a let expression, we first evaluate the value part, assign it to…
irasin
  • 145
  • 6