Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc1494 auto lhsVal = operands[0].dyn_cast_or_null<DenseElementsAttr>(); in fold() local
1497 if (lhsVal && lhsVal.isSplat()) { in fold()
1498 if (lhsVal.getSplatValue() in fold()
1505 if (lhsVal.getSplatValue().cast<IntegerAttr>().getValue().isNullValue()) { in fold()
1506 return lhsVal; in fold()
1523 if (!rhsVal || !lhsVal) return {}; in fold()
1527 for (auto it : llvm::zip(rhsVal.getIntValues(), lhsVal.getIntValues())) { in fold()
1538 auto lhsVal = operands[0].dyn_cast_or_null<DenseElementsAttr>(); in fold() local
1541 if (lhsVal && lhsVal.isSplat()) { in fold()
1542 if (lhsVal.getSplatValue() in fold()
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h180 Scalar lhsVal = m_lhsEval.coeff(IsRowMajor?m_rhsIter.outer():m_id,
184 m_value = m_functor(lhsVal, m_rhsIter.value());
188 m_value = m_functor(lhsVal, Scalar(0));