Home
last modified time | relevance | path

Searched refs:FloatValueEquals (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlegalize_hlo_patterns.td229 class FloatValueEquals<string val> : Constraint<CPred<
271 [(FloatValueEquals<"1.0"> $one),
272 (FloatValueEquals<"1.0"> $one1),
273 (FloatValueEquals<"2.0"> $two),
274 (FloatValueEquals<"0.5"> $half),
275 (FloatValueEquals<"0.5"> $half1),
276 (FloatValueEquals<"0.5"> $half2),
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_patterns.td503 class FloatValueEquals<string val> : Constraint<CPred<
504 "FloatValueEquals($0, " # val # ")">>;
510 [(FloatValueEquals<"0"> $Zero)]>;
516 [(FloatValueEquals<"-1"> $NegOne), (FloatValueEquals<"1"> $One)]>;
522 [(FloatValueEquals<"-1"> $NegOne), (FloatValueEquals<"1"> $One)]>;
Doptimize.cc292 static bool FloatValueEquals(const Attribute &attr, double value) { in FloatValueEquals() function