Navigation
API > API/Plugins > API/Plugins/Learning > API/Plugins/Learning/TMultiArray > API/Plugins/Learning/TMultiArray/Flatten
References
| Module | Learning |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/MultiArray.h |
| Include | #include "MultiArray.h" |
TMultiArrayView< DimNum-1, const ElementType, bIsChecked, bIsRestrict, SizeType > Flatten
&40;
uint8 Dimension
&41; const
Remarks
Flattens the array on a given dimension, merging that dimension and the following one. e.g. a 3D MultiArrayView with shape [10, 5, 3] flattened on dimension 0 will become a 2D MultiArrayView with shape [10 * 5, 3] View flattened on the given dimension.