Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for frame_name (0.14 sec)

  1. tensorflow/cc/ops/while_loop_test.cc

                                    << node->DebugString();
        ASSERT_TRUE(node->while_ctx() != nullptr) << i;
        if (i == 0) {
          while_ctx = node->while_ctx();
          EXPECT_EQ(while_ctx->frame_name(), kFrameName);
        } else {
          EXPECT_EQ(node->while_ctx(), while_ctx) << i;
        }
      }
    
      // Run the loop and test we get the expected results
      Run<int>({1}, {10});
      Run<int>({11}, {11});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers_test.cc

    }
    
    TEST(NodeMatchers, Attrs) {
      Scope root = Scope::NewRootScope().ExitOnError();
      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))),
    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. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        while loop.
    
        This is defined in Tensorflow as:
    
        REGISTER_OP("Enter")
           .Input("data: T")
           .Output("output: T")
           .Attr("T: type")
           .Attr("frame_name: string")
           .Attr("is_constant: bool = false")
           .Attr("parallel_iterations: int = 10")
    
        For example:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      // flow frame.
      while (!control_flow_info[src_node->id()].frame_name.empty()) {
        NodeDebugInfo debug_info(*src_node);
        NodeBuilder enter_builder(options.GetNameForOp("Enter"), "Enter",
                                  options.op_registry(), &debug_info);
        enter_builder.Attr("frame_name",
                           control_flow_info[src_node->id()].frame_name);
        enter_builder.Attr("is_constant", true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        p.printFunctionalType(getOperation());
      } else {
        p << getType(0);
      }
    
      p.printOptionalAttrDict(getOperation()->getAttrs(),
                              {"frame_name", "parallel_iterations", "is_constant"});
    }
    
    ParseResult EnterOp::parse(OpAsmParser &parser, OperationState &result) {
      SmallVector<OpAsmParser::UnresolvedOperand, 2> op_infos;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/gradients.cc

      // We've seen all the exit nodes for this loop and have collected all the
      // backprops. Create the gradient graph for the while loop.
      Scope while_scope =
          scope_.NewSubScope(strings::StrCat(while_ctx->frame_name(), "_grad"));
      std::vector<Output> dy;
      for (Node* n : while_ctx->exit_nodes()) dy.push_back(backprops[n]);
      std::vector<Output> dx;
      TF_RETURN_IF_ERROR(AddWhileLoopGradient(while_ctx, while_scope, dy, &dx));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    // Check that Enter return value is the same type as the input.
    func.func @invalid_enter(%arg0: tensor<*xf32>, %arg1: i1) -> tensor<*xf32> {
      %result = tf_executor.graph {
        %res:2 = "tf_executor.Enter"(%arg1) { frame_name = "some/fra\"me"} : (i1) -> (tensor<*xf32>, !tf_executor.control)
    // expected-error@-1 {{'tf_executor.Enter' op failed to verify that data operand must be broadcastable to result}}
        tf_executor.fetch %res#0 : tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

        val tracer = this.tracer
        return if (tracer == null) {
            writeAction()
        } else {
            val frameName = name()
            try {
                tracer.open(frameName)
                writeAction()
            } finally {
                tracer.close(frameName)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

          direction,
          streamId,
          length,
          formattedType,
          windowSizeIncrement,
        )
      }
    
      internal fun formattedType(type: Int): String = if (type < FRAME_NAMES.size) FRAME_NAMES[type] else format("0x%02x", type)
    
      /**
       * Looks up valid string representing flags from the table. Invalid combinations are represented
       * in binary.
       */
      fun formatFlags(
        type: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. tests/connpool_test.go

    	}
    
    	tx.Rollback()
    
    	if err = db.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := db.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err = tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top