Home
last modified time | relevance | path

Searched refs:GetFlattenedIndex (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/
Dformat_converter.cc29 uint64_t GetFlattenedIndex(const std::vector<int>& indices, in GetFlattenedIndex() function
280 data_[GetFlattenedIndex(orig_idx, dense_shape_)] = src_data[*src_data_ptr]; in Populate()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp124 inline int GetFlattenedIndex(int col, int row) in GetFlattenedIndex() function
154 int srcIndex = GetFlattenedIndex<colsSrc, rowsSrc, IsSrcColumnMajor>(c, r); in ExpandMatrix()
155 int dstIndex = GetFlattenedIndex<colsDst, rowsDst, IsDstColumnMajor>(c, r); in ExpandMatrix()