Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_helpers.inc482 auto lhs_attr = operands[0].dyn_cast_or_null<DenseElementsAttr>();
484 if (!rhs_attr && !(is_commutative && lhs_attr)) return {};
511 if (lhs_attr && is_commutative &&
513 if (lhs_attr.isSplat() && lhs_attr.getSplatValue() == identity_attr)
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dremapper.cc216 DataType lhs_attr = GetDataTypeFromAttr(*lhs, type_attr); in HaveSameDataType() local
219 return lhs_attr != DT_INVALID && rhs_attr != DT_INVALID && in HaveSameDataType()
220 lhs_attr == rhs_attr; in HaveSameDataType()