Class ONNXModelConverter.ImporterWarning
Represents the data structure for a warning from the model importer.
Inherited Members
Namespace: Unity.Sentis.ONNX
Assembly: Unity.Sentis.ONNX.dll
Syntax
public class ONNXModelConverter.ImporterWarning
Constructors
ImporterWarning(string, WarningType)
Initializes and returns an instance of ImporterWarning.
Declaration
public ImporterWarning(string msg, ONNXModelConverter.WarningType severity)
Parameters
| Type | Name | Description |
|---|---|---|
| string | msg | The message text of the warning |
| ONNXModelConverter.WarningType | severity | The severity of the warning as a |
Properties
Message
A message.
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
MessageSeverity
The severity of a warning.
Declaration
public ONNXModelConverter.WarningType MessageSeverity { get; }
Property Value
| Type | Description |
|---|---|
| ONNXModelConverter.WarningType |