Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,183 for functor (0.27 sec)

  1. tensorflow/compiler/jit/device_compilation_cluster_signature.cc

      }
      return h;
    }
    
    absl::StatusOr<Signature> Signature::Build(
        const NameAttrList& function,
        absl::Span<const XlaCompiler::Argument> args) {
      Signature signature;
      signature.name = Canonicalize(function.name(), AttrSlice(&function.attr()));
    
      for (const XlaCompiler::Argument& arg : args) {
        switch (arg.kind) {
          case XlaCompiler::Argument::kConstant:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    // This header implements a family of generic predicate assertion
    // macros:
    //
    //   ASSERT_PRED_FORMAT1(pred_format, v1)
    //   ASSERT_PRED_FORMAT2(pred_format, v1, v2)
    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    // This header implements a family of generic predicate assertion
    // macros:
    //
    //   ASSERT_PRED_FORMAT1(pred_format, v1)
    //   ASSERT_PRED_FORMAT2(pred_format, v1, v2)
    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      // predicate, and its stderr output matches a user-supplied regular
      // expression.
      // The user-supplied predicate may be a macro expression rather
      // than a function pointer or functor, or else Wait and Passed could
      // be combined.
      virtual bool Passed(bool exit_status_ok) = 0;
    
      // Signals that the death test did not die as expected.
      virtual void Abort(AbortReason reason) = 0;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      // predicate, and its stderr output matches a user-supplied regular
      // expression.
      // The user-supplied predicate may be a macro expression rather
      // than a function pointer or functor, or else Wait and Passed could
      // be combined.
      virtual bool Passed(bool exit_status_ok) = 0;
    
      // Signals that the death test did not die as expected.
      virtual void Abort(AbortReason reason) = 0;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            AtomicReference.class,
            AtomicBoolean.class,
            AtomicInteger.class,
            AtomicLong.class,
            AtomicDouble.class);
      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

      // above may invalidate previously inserted islands mid-loop.
      for (MergedIsland& island : merged_islands_)
        island_to_merged_island_.try_emplace(island.insert_point, &island);
    
      // This functor merges the given `old_merged_island` into the
      // `new_merged_island`. `merge_in_front` is whether the old island should be
      // merged into the front of the new island, or the back.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            AtomicReference.class,
            AtomicBoolean.class,
            AtomicInteger.class,
            AtomicLong.class,
            AtomicDouble.class);
      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Function.java

     * java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/function.cc

      auto cleanup_tensors = absl::MakeCleanup([outs]() {
        for (auto t : outs) {
          t->Unref();
        }
      });
      return Unflatten(outs, concrete_fn.output_signature);
    }
    
    StatusOr<Function::ConcreteFunction> Function::GetConcreteFunction(
        TaggedValue value) const {
      if (concrete_fns_.empty()) {
        return tensorflow::errors::FailedPrecondition(
            "No registered ConcreteFunctions.");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top