Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ProcessFunctionLibraryRuntime (0.32 sec)

  1. tensorflow/compiler/jit/get_compiler_ir.h

    #include "absl/strings/string_view.h"
    #include "absl/types/span.h"
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "tensorflow/core/platform/statusor.h"
    
    namespace tensorflow {
    
    class ProcessFunctionLibraryRuntime;
    class Device;
    class Tensor;
    class TensorHandle;
    class EagerContext;
    
    enum class IrExportStage {
      HLO,
      HLO_NO_METADATA,
      HLO_SERIALIZED,
      OPTIMIZED_HLO,
      OPTIMIZED_HLO_SERIALIZED,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc

      Graph* graph = options.graph->get();
    
      OptimizerOptions opts;
      auto pflr = std::make_unique<ProcessFunctionLibraryRuntime>(
          nullptr, options.session_options->env, /*config=*/nullptr,
          TF_GRAPH_DEF_VERSION, options.flib_def, opts);
      FunctionLibraryRuntime* flr =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
    
      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_cluster_util_test.cc

      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
    
      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr(
          new ProcessFunctionLibraryRuntime(
              nullptr, Env::Default(), /*config=*/nullptr, TF_GRAPH_DEF_VERSION,
              flib_def, OptimizerOptions{}));
      FunctionLibraryRuntime* lib_runtime =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_kernel_creator_test.cc

            OpRegistry::Global(), proto);
        OptimizerOptions opts;
        device_mgr_ = std::make_unique<StaticDeviceMgr>(std::move(devices));
        pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
            device_mgr_.get(), Env::Default(), /*config=*/nullptr,
            TF_GRAPH_DEF_VERSION, lib_def_.get(), opts,
            /*default_thread_pool=*/nullptr, /*cluster_flr=*/nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/test_util.cc

                                                             FunctionDefLibrary());
      if (fdef.has_value()) {
        TF_CHECK_OK(lib_def_->AddFunctionDef(*fdef));
      }
      pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
          device_mgr_.get(), Env::Default(), /*config=*/nullptr,
          TF_GRAPH_DEF_VERSION, lib_def_.get(), opts,
          /*default_thread_pool=*/nullptr, /*cluster_flr=*/nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/test_util.h

      FunctionLibraryRuntime* flr() { return flr_; }
    
     private:
      FunctionLibraryRuntime* flr_;
      std::unique_ptr<DeviceMgr> device_mgr_;
      std::unique_ptr<FunctionLibraryDefinition> lib_def_;
      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/compilability_check_util_test.cc

      }
    
      FunctionLibraryRuntime* GetFunctionLibraryRuntime() {
        OptimizerOptions opts;
        pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
            nullptr, Env::Default(), /*config=*/nullptr, TF_GRAPH_DEF_VERSION,
            flib_def_.get(), opts);
    
        return pflr_->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
      }
    
      RecursiveCompilabilityChecker::OperationFilter op_filter_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

      std::unique_ptr<tensorflow::ScopedStepContainer> step_container_;
      std::unique_ptr<tensorflow::FunctionLibraryDefinition> flib_def_;
      std::unique_ptr<tensorflow::ProcessFunctionLibraryRuntime> pflr_;
      tensorflow::OpKernelContext::Params params_;
    
      xla::XlaBuilder xla_builder_;
    };
    
    }  // namespace mhlo
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/partially_decluster_pass.cc

      std::vector<bool> compile_time_const_nodes(graph->num_node_ids());
      OptimizerOptions opts;
      auto pflr = std::make_unique<ProcessFunctionLibraryRuntime>(
          nullptr, env, /*config=*/nullptr, TF_GRAPH_DEF_VERSION, flib_def, opts);
      FunctionLibraryRuntime* lib_runtime =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
      TF_RETURN_IF_ERROR(BackwardsConstAnalysis(*graph, nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/get_compiler_ir.cc

     *   - `input_handles`: Contains all concrete_fn inputs tensors, including
     * captured inputs.
     */
    absl::StatusOr<std::string> GetCompilerIr(
        IrExportStage stage, ProcessFunctionLibraryRuntime* pflr,
        absl::string_view func_name, Device* dev, EagerContext* context,
        absl::Span<const ArgShapeAndDType> input_arg_shape_and_dtype,
        absl::Span<const TensorHandle* const> input_handles,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top