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

Function ElementPtr

tensorflow/lite/experimental/ruy/internal_matrix.h:315–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313
314template <typename Scalar>
315const Scalar* ElementPtr(const Matrix<Scalar>& mat, int row, int col) {
316 return mat.data.get() + Offset(mat.layout, row, col);
317}
318
319template <typename Scalar>
320Scalar* ElementPtr(Matrix<Scalar>* mat, int row, int col) {

Callers 4

RunMethod · 0.85
ElementFunction · 0.85
RunMethod · 0.85
ReferenceMulFunction · 0.85

Calls 2

OffsetFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected