Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for inner_loop (0.14 sec)

  1. tensorflow/c/while_loop_test.cc

      node_name = "test_loop/body/add";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/inner_loop/body/one";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/inner_loop/cond/less_than";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
    
      // Run the graph
      Run({0, 0});
      ExpectOutputValue(0, 8);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                             op->getSuccessors(), new_regions);
          inner_op = rewriter.create(state);
        } else {
          bool disable_call_shape_inference = false;
          if (op->hasAttr("_disable_call_shape_inference")) {
            disable_call_shape_inference =
                op->getAttrOfType<BoolAttr>("_disable_call_shape_inference")
                    .getValue();
          }
          inner_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      for (Operation* cluster_op : cluster_ops) {
        cluster_op->moveBefore(body, body->end());
        cluster_op->walk([&](Operation* inner_op) {
          inner_op->removeAttr(mlir::TF::kReplicationInfoAttr);
          inner_op->removeAttr(mlir::TF::kCompileDeviceTypeAttr);
    
          if (auto attr = inner_op->getAttrOfType<StringAttr>(kDeviceAttr)) {
            // Preserve device attribute if the op is placed on a replicated core
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopbce.go

    //
    // Look for variables and blocks that satisfy the following
    //
    //	 loop:
    //	   ind = (Phi min nxt),
    //	   if ind < max
    //	     then goto enter_loop
    //	     else goto exit_loop
    //
    //	   enter_loop:
    //		do something
    //	      nxt = inc + ind
    //		goto loop
    //
    //	 exit_loop:
    func findIndVar(f *Func) []indVar {
    	var iv []indVar
    	sdom := f.Sdom()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        } else if (auto island =
                       llvm::dyn_cast<mlir::tf_executor::IslandOp>(inst)) {
          Operation& inner_op = island.GetBody().front();
          auto op_name = GetTensorFlowOpName(inner_op.getName().getStringRef());
          if (llvm::isa<FuncOp>(inner_op) && op_name.ok()) {
            // If it is TF Control dialect specific op, look up custom operation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        } else if (auto island =
                       llvm::dyn_cast<mlir::tf_executor::IslandOp>(inst)) {
          Operation& inner_op = island.GetBody().front();
          auto op_name = GetTensorFlowOpName(inner_op.getName().getStringRef());
          if (llvm::isa<FuncOp>(inner_op) && op_name.ok()) {
            // If it is TF Control dialect specific op, look up custom operation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top