Navigation
API > API/Plugins > API/Plugins/LearningTraining
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningSharedMemory.h |
| Include | #include "LearningSharedMemory.h" |
namespace UE
{
namespace Learning
{
namespace SharedMemory
{
template<uint8 DimNum, typename ElementType>
TSharedMemoryArrayView< DimNum, ElementType > UE&58;&58;Learning&58;&58;SharedMemory&58;&58;Allocate
&40;
const TLearningArrayShape< DimNum > & Shape
&41;
}
}
}
Remarks
Allocate a region of shared memory. View of the shared memory region, guid, and pointer required for unmapping
Parameters
| Name | Description |
|---|---|
| Shape | Shape of the shared memory region |