SmartEngine  1.6.0
Namespaces | Classes | Enumerations
SmartEngine Namespace Reference

Classes

class  AssetStore
 Use this class to override the behavior of asset loading.
 
class  Disposable
 Basic implementation of IDisposable More...
 
struct  EngineSettings
 The list of global engine settings. Affects all contexts. More...
 
interface  ISerializable
 Interface for an object that can be serialized to memory or disk More...
 
class  Library
 
class  License
 License object More...
 
class  Log
 Used to set the handler for log output from the SmartEngine AI plugin
 
class  Math
 Math helpers
 
class  Matrix
 Wrapper around either a const or a mutable matrix. More...
 
class  MemoryBuffer
 Simple in memory buffer. Used for serialization, but can be used as a generic buffer too. More...
 
class  Object
 Base class for SmartEngine AI objects. It is not common to deal with this class directly. More...
 
class  Resource
 Base class for objects that can be loaded from and saved to disk. More...
 
class  Serializable
 
class  Settings
 Gets / sets all settings used by SmartEngine
 
class  SingletonBehavior
 

Enumerations

enum  AssetType { AssetType.JsonString, AssetType.Binary }
 
enum  LogLevel { LogLevel.Info, LogLevel.Warning, LogLevel.Error }
 
enum  SerializationResult {
  Success, UnspecifiedError, NotSupported, Corrupted,
  VersionTooLow, InvalidResourceName, InvalidObject, InvalidBuffer,
  InvalidInput, InputCountMismatch, InputDimensionMismatch, TensorCountMismatch,
  TensorSizeMismatch, TensorDataSizeMismatch, NodeCountMismatch, NodeNotFound,
  FileNotFound, SignatureNotValid, LicenseExpired, InvalidGraphDefinition
}
 
enum  MatrixInitializationSetting : byte { MatrixInitializationSetting.None, MatrixInitializationSetting.Zero, MatrixInitializationSetting.NaN }
 Defines how created matrices are initialized. More...
 
enum  CheckForNaNFlags : byte { CheckForNaNFlags.Nowhere = 0x00, CheckForNaNFlags.GraphModelInput = 0x01 }
 Defines where the engine should check for NaNs. More...
 

Enumeration Type Documentation

◆ AssetType

enum SmartEngine.AssetType
strong
Enumerator
JsonString 

The memory buffer will be filled or should be filled with just a single string that is the content of the asset.

Binary 

The memory buffer will be filled or should be filled with the raw bytes from the content of the asset.

◆ CheckForNaNFlags

enum SmartEngine.CheckForNaNFlags : byte
strong

Defines where the engine should check for NaNs.

Note: This can cause slowdown in performance.

Enumerator
Nowhere 

(Default) Don't check for NaNs anywhere.

GraphModelInput 

Check for NaNs when setting graph model inputs.

◆ LogLevel

enum SmartEngine.LogLevel
strong
Enumerator
Info 

Diagnostic or informational messages

Warning 

Warning - recoverable error

Error 

Unrecoverable error

◆ MatrixInitializationSetting

Defines how created matrices are initialized.

Enumerator
None 

(Default) No initialization is done and matrices will have undefined values.

Zero 

Matrix values are initialized to zero.

NaN 

Matrix values are initialized to NaN. This can be useful during development to help identify when values are not set and would otherwise be random.