MLModelDataEmbed
attribute allows developers to embed model data from NatML Hub at build time so that the model data is available without downloading at runtime. This is useful when building applications that might not have internet access.class
or struct
definition. At build time, NatML will find all such attributes, and embed the corresponding model data in the build. The attribute can be used like so: