I noticed that there are two functions used in the tutorials to generate code:
-
relay.build_module.build()
: in Quick Start Tutorial for Compiling Deep Learning Models -
relay.build_module.create_executor()
: in Compile Keras Models
How are these two functions different? Are they related?
One observation: only relay.build_module.create_executor()
lets you specify the Module
argument. This is important for me because I want to write a recursive function in Relay.