|
onnx2versal
|
Multiinstance graph for MxK times NxK that stores weights and biases. Requires NxK weight, NCHUNK%8=0 and N%4=0 Chunks NxK weights by N dimension into NCHUNK chunks. Each instance has max size = 16384 and 4096 bytes respectively. Places maximum of 3x3 tiles, 8 conv tiles surrounding concat tile (max AIE DMA input=8) Padding handled within graph, NPAD or KPAD parameters not used. More...
#include <graph_gemm.h>
Inherits adf::graph.

Public Member Functions | |
| GemmReluMknkChunkGraph (std::vector< float > weights, std::vector< float > bias, int repeat_cnt=1) | |
Public Attributes | |
| adf::kernel | gemms [CHUNK_COUNT] |
| ConcatGraph< CONCAT, float_t, CHUNK_COUNT, 1, NCHUNK, N > | concat_g |
| adf::port< input > | pin [1] |
| adf::port< output > | pout [1] |
Static Public Attributes | |
| static const int | CHUNK_COUNT = (N + NCHUNK - 1) / NCHUNK |
<dl class=
<td class=
<td class=