- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,625 for functor (0.15 sec)
-
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) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py
This is only for use by the MLIR SavedModel importer tests. Args: create_signature: A functor that return signature_def_map, init_op and assets_collection. signature_def_map is a map from string key to signature_def. The key will be used as function name in the resulting MLIR. canonicalize: If true, canonicalizer will be run on the resulting MLIR.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 20 13:19:26 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
#define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_ #include <type_traits> #include <utility> namespace tf_gcs_filesystem { // A move-only RAII object that calls a stored cleanup functor when // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F). template <typename F> class Cleanup { public: Cleanup() : released_(true), f_() {} template <typename G>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 09 11:16:00 UTC 2020 - 3.4K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/object.h
// Template specialization that allows extracting arguments from a C function // pointer. template <class Fn, typename TReturn, typename... TFuncArgs> class CallableWrapper { private: Fn functor_; const char* name_; public: explicit CallableWrapper(Fn fn, const char* name) : functor_(fn), name_(name) {} // Entry point of the Adaptor functor. Note args, and kwargs are attempted // to be moved.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 23.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)