- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for BuildXlaOpsPass (0.34 sec)
-
tensorflow/compiler/jit/build_xla_ops_pass.h
// HLO module). class BuildXlaOpsPass : public GraphOptimizationPass { public: // If enable_lazy_compilation is not nullopt then *enable_lazy_compilation // overrides --tf_xla_enable_lazy_compilation flag in deciding whether lazy // compilation is enabled. explicit BuildXlaOpsPass( std::optional<bool> enable_lazy_compilation = std::nullopt)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 03 16:15:20 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/jit/jit_compilation_pass_registration.cc
EncapsulateSubgraphsPass); // Must run after EncapsulateSubgraphsPass. REGISTER_OPTIMIZATION(OptimizationPassRegistry::POST_REWRITE_FOR_EXEC, 60, BuildXlaOpsPass);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 11 21:53:08 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
// // - Let MarkForCompilationPass not inject CPU-placed operations into clusters // that will run on unknown devices (because the unknown XLA backend may not // support every operation supported by CPU). // - Let BuildXlaOpsPass successfully infer a compilation device for a cluster // that contains nodes placed on both the CPU and on unknown devices. In this // case it is the responsibility of the optimization pass that injected the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
GraphOptimizationPassWrapper wrapper; GraphOptimizationPassOptions opt_options = wrapper.CreateGraphOptimizationPassOptions(&graph); opt_options.flib_def = &flib_def; BuildXlaOpsPass pass(/*enable_lazy_compilation=*/true); TF_RETURN_IF_ERROR(pass.Run(opt_options)); VLOG(3) << graph->ToGraphDefDebug().DebugString(); *result = std::move(graph); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
TF_RETURN_IF_ERROR( PredicateInt32Inputs(root, pco, inverse_predicate_as_control)); } return absl::OkStatus(); } } // namespace Status BuildXlaOpsPass::Run(const GraphOptimizationPassOptions& options) { Graph* graph = options.graph->get(); // Copy out the nodes we want to rewrite to avoid modifying the graph while we // iterate on graph->op_nodes().
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0)