Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for ENTER (0.18 sec)

  1. tensorflow/compiler/jit/xla_cluster_util_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0));
      Output enter =
          ops::internal::Enter(root.WithOpName("enter"), a, "only_frame");
      Output exit = ops::internal::Exit(root.WithOpName("exit"), enter);
      Output b = ops::Add(root.WithOpName("b"), a, exit);
    
      FixupSourceAndSinkEdges(root.graph());
    
      GraphCycles cycles;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy

                def a = it.askQuestion("enter value", "value")
                def b = it.askQuestion("enter another value", "value")
                [a, b]
            }
    
            then:
            1 * outputEventBroadcaster.onOutput(_ as UserInputRequestEvent)
            1 * outputEventBroadcaster.onOutput(_) >> { TextQuestionPromptEvent event ->
                assert event.question == "enter value"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/shape_inference_test.cc

        auto enter =
            ops::internal::Enter(scope.WithOpName("while/Enter"), source, "aloop");
        // Add an unused Enter node. These should be ignored.
        auto enter2 =
            ops::internal::Enter(scope.WithOpName("while/Enter2"), source, "aloop");
        auto merge = ops::Merge(scope.WithOpName("while/Merge"),
                                std::initializer_list<Input>{enter, dummy});
        auto ten = ops::Const<int32>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

    import spock.lang.Specification
    
    class IntQuestionPromptEventTest extends Specification {
        def "formats prompt"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
            assert event.prompt == "enter value (min: 2, default: 4): "
        }
    
        def "accepts valid input"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
    
            expect:
            def result = event.convert(input)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/cluster_scoping_pass.cc

      const string unique_suffix = absl::StrCat("_", GetUniqueScopeId());
    
      std::vector<Node*> starts;
      starts.push_back(start);
      auto enter = [&](Node* n) { AddOrAppendXlaInternalScope(n, unique_suffix); };
      ReverseDFSFrom(*graph_, starts, enter, /*leave=*/nullptr,
                     /*stable_comparator=*/NodeComparatorName());
    }
    
    void ClusterScopingPassImpl::AddScopeToAllTransitiveSuccessors(Node* start) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
          Scenario scenario,
          TimeoutsToUse timeoutsToUse,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
          Scenario scenario,
          TimeoutsToUse timeoutsToUse,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output capture_enter_outer = ops::internal::Enter(
          root.WithOpName("capture_enter_outer"), captured, "outer_loop",
          ops::internal::Enter::Attrs().IsConstant(true));
      Output capture_enter_inner = ops::internal::Enter(
          root.WithOpName("capture_enter_inner"), capture_enter_outer, "inner_loop",
          ops::internal::Enter::Attrs().IsConstant(true));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/SelectOptionPromptEventTest.groovy

            def event = new SelectOptionPromptEvent(123, "question", ["11", "12", "13"], 1)
    
            assert event.prompt == TextUtil.toPlatformLineSeparators("""question:
      1: 11
      2: 12
      3: 13
    Enter selection (default: 12) [1..3] """)
        }
    
        def "accepts valid input"() {
            def event = new SelectOptionPromptEvent(123, "question", ["1", "2", "3", "4"], 1)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top