Import Model

../../../../_images/import.svg

Imports a model from disk

Documentation

Imports a model from disk

Warning

This node is not secure. Only import models you trust.

The model data type is based on Python’s pickle protocol, and as such it can trigger execution of arbitrary code when imported.

See also: https://docs.python.org/3/library/pickle.html#pickle-inst

Definition

Input ports

filename
Type: datasource
Description: Datasource

Output ports

out-model
Type: model
Description: Output model

Implementation

class node_io.Import[source]