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

Function DataSize

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

Source from the content-addressed store, hash-verified

347// Helpers for PMatrix.
348
349inline std::size_t DataSize(const PMatrix& packed) {
350 return FlatSize(packed.layout) * packed.data_type.size;
351}
352
353inline std::size_t SumsSize(const PMatrix& packed) {
354 // Packed matrices are only relevant for Ruy's TrMul implementations. For

Callers 2

AllocatePMatrixFunction · 0.85
PrePackForMulInternalFunction · 0.85

Calls 1

FlatSizeFunction · 0.70

Tested by

no test coverage detected