Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for inner_loop (0.2 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. 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)
  5. 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