Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for FunctionLibraryRuntime (0.2 sec)

  1. tensorflow/compiler/jit/partially_decluster_pass.cc

      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,
                                                &compile_time_const_nodes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/compilability_check_util_test.cc

        return std::make_unique<RecursiveCompilabilityChecker>(op_filter_,
                                                                device_type_);
      }
    
      FunctionLibraryRuntime* GetFunctionLibraryRuntime() {
        OptimizerOptions opts;
        pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
            nullptr, Env::Default(), /*config=*/nullptr, TF_GRAPH_DEF_VERSION,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      std::unique_ptr<Graph> graph_out;
      FunctionLibraryDefinition* const library = options.flib_def;
    
      // Constant folding below might need to run part of the function to compute
      // constants. Create an FunctionLibraryRuntime with a single CPU device
      // that can run the part of the function.
      // NOTE: If this turns out to be slow, we can cache the FLRs keyed by
      // `options`.
      SessionOptions session_options;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      s = ConvertGraphDefToGraph(options, *graphdef, graph.get());
      if (!s.ok()) return s;
    
      s = PerformStaticShapeInferenceBeforeEncapsulation(graph.get());
      if (!s.ok()) return s;
    
      // Create FunctionLibraryRuntime.
      SessionOptions session_options;
      std::vector<std::unique_ptr<Device>> devices;
      TF_CHECK_OK(DeviceFactory::AddDevices(
          session_options, "/job:localhost/replica:0/task:0", &devices));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr(
          new ProcessFunctionLibraryRuntime(nullptr, env_, /*config=*/nullptr,
                                            TF_GRAPH_DEF_VERSION, flib_def_, opts));
      FunctionLibraryRuntime* lib_runtime =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
      std::vector<bool> compile_time_const_nodes(graph_->num_node_ids(), false);
      TF_RETURN_IF_ERROR(BackwardsConstAnalysis(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top