Open 3D Engine MachineLearning Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
MachineLearning::ModelAsset Class Referencefinal

Inherits AZ::Data::AssetData.

Public Member Functions

 AZ_RTTI (ModelAsset, "{4D8D3782-DC3A-499A-A59D-542B85F5EDE9}", AZ::Data::AssetData)
 
 AZ_CLASS_ALLOCATOR (ModelAsset, AZ::SystemAllocator)
 
bool Serialize (AzNetworking::ISerializer &serializer)
 
AZStd::size_t EstimateSerializeSize () const
 Returns the estimated size required to serialize this model.
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZStd::string m_name
 The model name.
 
AZStd::size_t m_activationCount = 0
 The number of neurons in the activation layer.
 
AZStd::vector< Layerm_layers
 The set of layers in the network.
 

Static Public Attributes

static constexpr const char * DisplayName = "ModelAsset"
 
static constexpr const char * Extension = "mlmodel"
 
static constexpr const char * Group = "MachineLearning"
 

Member Function Documentation

◆ Serialize()

bool MachineLearning::ModelAsset::Serialize ( AzNetworking::ISerializer &  serializer)

Base serialize method for all serializable structures or classes to implement.

Parameters
serializerISerializer instance to use for serialization
Returns
boolean true for success, false for serialization failure

The documentation for this class was generated from the following file: