Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/utils/
Dhlo_utils.cc181 DenseIntElementsAttr denseAttr = attr.dyn_cast<DenseIntElementsAttr>(); in isSequenceStartingWith0() local
182 for (int64_t i = 0, e = denseAttr.getNumElements(); i < e; ++i) in isSequenceStartingWith0()
183 if (denseAttr.getValues<APInt>()[i].getSExtValue() != i) return false; in isSequenceStartingWith0()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Analysis/
Dshape_component_analysis.cc599 DenseIntElementsAttr denseAttr; in forwardConstant() local
600 if (matchPattern(v, m_Constant(&denseAttr))) { in forwardConstant()
606 denseAttr.getValues<APInt>()[i].getSExtValue(), v.getContext()); in forwardConstant()