Global Imports
Imports done under each code block will work only inside it. Users can add a package or function to Global Imports section to make it available across all the blocks in the canvas.
How to set global import commands
Accessing a package via Global Import
Accessing a package across all the blocks through Global Imports
How to set local, block-level import commands
For larger packages like pytorch - which are required to be run only on specific blocks - we can use block level imports.
Last updated