Metadata to be used for serializaing a net. parameters, inputs, outputs could be either BlobReference or blob's names predict_net can be either core.Net, NetDef, PlanDef or object Override the named tuple to provide optional name parameter. name will be used to identify multiple prediction nets. net_type is the type field in caffe2 NetDef - can be 'simple', 'dag', etc. num_workers specifies for net type 'dag' how many threads should run ops trainer_prefix specifies the type of trainer.
Definition at line 39 of file predictor_exporter.py.