- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ResetClusterSequenceNumber (0.17 sec)
-
tensorflow/compiler/jit/tests/device_compiler_serialize_test.cc
/*expect_persistent_cache_use=*/false)); // Reset the cluster numbering between sessions so we can get the same // cluster numbering. testing::ResetClusterSequenceNumber(); // Run again but these should all hit in the persistent cache. listener()->ClearListenerHistory(); for (int b = 1; b < 4; ++b) { TF_ASSERT_OK(ExecuteWithBatch(graph, b)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.h
}; absl::flat_hash_map<string, std::vector<string>>* GetAllowlistTable(); namespace testing { // DO NOT USE IN PRODUCTION. // // Resets some internal state to let us write reliable unit tests. void ResetClusterSequenceNumber(); // Return a list of operation that we choose not to put into the allowlist. absl::flat_hash_set<string> GetKnownXLAAllowlistOp(); } // namespace testing } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 10 22:46:01 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_serialize_options_test.cc
/*expect_persistent_cache_use=*/false)); // Reset the cluster numbering between sessions so we can get the same // cluster numbering. testing::ResetClusterSequenceNumber(); auto status = AlterPersistentCacheEntryHloModuleNames(tensorflow::testing::TmpDir()); EXPECT_FALSE(status.ok()); EXPECT_TRUE(absl::StrContains( status.message(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc
#include "tensorflow/tools/optimization/optimization_pass_runner.h" namespace tensorflow { namespace { absl::StatusOr<string> SummarizeClustering( const GraphDef& auto_clustered_graph_def) { testing::ResetClusterSequenceNumber(); Graph graph(OpRegistry::Global()); GraphConstructorOptions graph_opts; graph_opts.expect_device_spec = true; graph_opts.allow_internal_ops = true; TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 12:11:46 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
"cluster sequence numbers are the same: lhs: ", lhs_cluster_name, " rhs: ", rhs_cluster_name); } return absl::OkStatus(); }; testing::ResetClusterSequenceNumber(); auto options = MarkForCompilationPassTestHelper::Options() .WithDeterministicClusterNames(); // Cluster the same graphs twice so we can observe that the prefix contains
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
"Unpack", "DeviceIndex", "TensorStridedSliceUpdate", "XlaConcatND", "XlaSplitND", }}}; // clang-format on return result; } namespace testing { void ResetClusterSequenceNumber() { ClusterSequenceNumberGenerator::Global().Reset(); } absl::flat_hash_set<string> GetKnownXLAAllowlistOp() { absl::flat_hash_set<string> result{ "AdjustContrastv2",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0)