Home
last modified time | relevance | path

Searched defs:ValueOrConst (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dsame_shape_propagation.cc50 struct ValueOrConst { struct
51 explicit ValueOrConst(Value v) : value_or_constant(v), is_constant(false) {} in ValueOrConst() argument
52 explicit ValueOrConst(int64_t c) : value_or_constant(c), is_constant(true) {} in ValueOrConst() argument
54 Value value() const { in value()
59 int64_t constant() const { in constant()
64 bool isConstant() const { return is_constant; } in isConstant()
67 union ValueOrConstStorage {
73 } value_or_constant;
75 bool is_constant;