Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc1495 auto rhsVal = operands[1].dyn_cast_or_null<DenseElementsAttr>(); in fold() local
1510 if (rhsVal && rhsVal.isSplat()) { in fold()
1511 if (rhsVal.getSplatValue() in fold()
1518 if (rhsVal.getSplatValue().cast<IntegerAttr>().getValue().isNullValue()) { in fold()
1519 return rhsVal; in fold()
1523 if (!rhsVal || !lhsVal) return {}; in fold()
1526 values.reserve(rhsVal.getNumElements()); in fold()
1527 for (auto it : llvm::zip(rhsVal.getIntValues(), lhsVal.getIntValues())) { in fold()
1539 auto rhsVal = operands[1].dyn_cast_or_null<DenseElementsAttr>(); in fold() local
1554 if (rhsVal && rhsVal.isSplat()) { in fold()
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h268 Scalar rhsVal = m_rhsEval.coeff(IsRowMajor?m_lhsIter.outer():m_id,
272 m_value = m_functor(m_lhsIter.value(), rhsVal);
276 m_value = m_functor(Scalar(0),rhsVal);