Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsConstant (0.18 sec)

  1. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

          auto def_op = operand.getDefiningOp();
          if (consumed_ops.contains(def_op)) continue;
          queue.push_back(def_op);
          consumed_ops.insert(def_op);
        }
      }
    }
    
    inline bool IsConstant(Operation *op) { return matchPattern(op, m_Constant()); }
    
    bool AllOperationSafe(Block &block) {
      auto walk_result = block.walk([&](Operation *op) {
        // op has SideEffect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers_test.cc

      Output enter = ops::internal::Enter(
          root.WithOpName("enter"),
          ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name",
          ops::internal::Enter::Attrs{}.IsConstant(true));
      EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true)));
      EXPECT_EQ(Explain(enter.node(), NodeWith(Attr("is_constant", false))),
                "attribute named is_constant does not match value; expected: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. RELEASE.md

        operation
        ([CVE-2022-23587](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23587))
    *   Fixes a null pointer dereference in Grappler's `IsConstant`
        ([CVE-2022-23589](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23589))
    *   Fixes a `CHECK` failure in constant folding
        ([CVE-2021-41197](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41197))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top