- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for GraphOptimizationPassOptions (0.65 sec)
-
tensorflow/compiler/jit/mark_for_compilation_pass.h
// EncapsulateSubgraphsPass. class MarkForCompilationPass : public GraphOptimizationPass { public: MarkForCompilationPass() = default; Status Run(const GraphOptimizationPassOptions& options) override; private: Status RunForTest(const GraphOptimizationPassOptions& options, bool disable_deadness_analysis, bool deterministic_cluster_names); friend class MarkForCompilationPassTestHelper;
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/test_util.h
// A helper object to create GraphOptimizationPassOptions. struct GraphOptimizationPassWrapper { explicit GraphOptimizationPassWrapper() : library(OpRegistry::Global(), FunctionDefLibrary()) { session_options.env = Env::Default(); } // Create GraphOptimizationPassOptions with a graph passed in constructor and // sensible options. GraphOptimizationPassOptions CreateGraphOptimizationPassOptions(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 18:03:15 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/jit/force_xla_constants_on_host_pass.h
// XLA compilation with `_input_hostmem`. class ForceXlaConstantsOnHostPass : public GraphOptimizationPass { public: ForceXlaConstantsOnHostPass() = default; Status Run(const GraphOptimizationPassOptions& options) override; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 01 18:34:32 UTC 2020 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/jit/cluster_scoping_pass.h
// scoping information that MarkForCompilationPass will need to respect for // clustering decision. class ClusterScopingPass : public GraphOptimizationPass { public: Status Run(const GraphOptimizationPassOptions& options) override; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 22 03:15:13 UTC 2019 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.h
bool HasResourceInputOrOutput(const Node& node); // Determines the global jit level based on GraphOptimizationPassOptions, // --tf_xla_auto_jit and whether the graph is a single GPU graph. OptimizerOptions::GlobalJitLevel GetGlobalJitLevelForGraph( const GraphOptimizationPassOptions& options); // Returns true if `g` is a single-GPU graph. A single-GPU graph uses exactly // one GPU (and any number of CPUs).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test_helper.cc
// make this more direct, but probably not worth it solely for this test. std::vector<std::unique_ptr<Device>> devices; TF_RETURN_IF_ERROR(DeviceFactory::AddDevices(session_options, "", &devices)); GraphOptimizationPassOptions opt_options; opt_options.graph = graph; opt_options.session_options = &session_options; opt_options.flib_def = flib_def; if (options.enable_cluster_scoping) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 09 19:51:48 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/jit/report_clustering_info_pass.cc
#include "tensorflow/compiler/jit/xla_activity_listener.h" #include "tensorflow/compiler/jit/xla_cluster_util.h" namespace tensorflow { Status ReportClusteringInfoPass::Run( const GraphOptimizationPassOptions& options) { XlaAutoClusteringActivity activity; *activity.mutable_summary() = GetXlaAutoClusteringSummary(**options.graph); activity.set_global_jit_level(GetGlobalJitLevelForGraph(options));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 15 00:14:19 UTC 2019 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/jit/report_clustering_info_pass.h
// way; instead it computes a summary of the XLA clusters in the graph and // broadcasts it via xla_activity_listener. class ReportClusteringInfoPass : public GraphOptimizationPass { public: Status Run(const GraphOptimizationPassOptions& options) override; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 15 00:14:19 UTC 2019 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/jit/partially_decluster_pass.h
// // - Reducing device-to-host copies. // - Reducing the number of XLA recompilations. class PartiallyDeclusterPass : public GraphOptimizationPass { public: Status Run(const GraphOptimizationPassOptions& options) override; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 08 01:53:18 UTC 2018 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.h
// compilation is enabled. explicit BuildXlaOpsPass( std::optional<bool> enable_lazy_compilation = std::nullopt) : enable_lazy_compilation_(enable_lazy_compilation) {} Status Run(const GraphOptimizationPassOptions& options) override; private: std::optional<bool> enable_lazy_compilation_; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 03 16:15:20 UTC 2022 - 1.7K bytes - Viewed (0)