MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MakeSimpleLayout

Function MakeSimpleLayout

tensorflow/lite/experimental/ruy/matrix.h:124–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122};
123
124inline void MakeSimpleLayout(int rows, int cols, Order order, Layout* layout) {
125 layout->rows = rows;
126 layout->cols = cols;
127 layout->order = order;
128 layout->stride = order == Order::kColMajor ? rows : cols;
129}
130
131// Opaque data structure representing a pre-packed matrix, as obtained from
132// Ruy's advanced API.

Calls

no outgoing calls

Tested by 2

MakeSpecClampFieldsFunction · 0.68