Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for lib_def (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

                              FunctionLibraryDefinition* flib_def) {
      absl::flat_hash_set<Node*> control_ret_nodes;
      return ConvertMlirToGraph(module, configs, graph, flib_def,
                                &control_ret_nodes);
    }
    
    absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef(
        mlir::ModuleOp module, const GraphExportConfig& configs) {
      FunctionLibraryDefinition flib_def(OpRegistry::Global(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

                              FunctionLibraryDefinition* flib_def) {
      absl::flat_hash_set<Node*> control_ret_nodes;
      return ConvertMlirToGraph(module, configs, graph, flib_def,
                                &control_ret_nodes);
    }
    
    absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef(
        mlir::ModuleOp module, const GraphExportConfig& configs) {
      FunctionLibraryDefinition flib_def(OpRegistry::Global(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_compiler_options_util.cc

      VLOG(2) << "XlaCompiler::Options[device_type=" << options.device_type
              << ",device_ordinal=" << options.device_ordinal
              << ",client=" << options.client << ",flib_def=" << options.flib_def
              << ",graph_def_version=" << options.graph_def_version
              << ",options.shape_determination_fns.layout_preference_fn?="
              << (options.shape_determination_fns.layout_preference_fn != nullptr)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

      }
    
      tensorflow::FunctionDefLibrary flib;
      auto flib_def = std::make_unique<tensorflow::FunctionLibraryDefinition>(
          tensorflow::OpRegistry::Global(), flib);
    
      tensorflow::XlaCompiler::Options options;
      options.device_type = tensorflow::DeviceType(kArbitraryDeviceName);
      options.client = client;
      options.flib_def = flib_def.get();
      tensorflow::XlaCompiler compiler(options);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                                 FunctionLibraryDefinition* flib_def, Env* env,
                                 OptimizerOptions::GlobalJitLevel global_jit_level,
                                 bool cpu_global_jit,
                                 std::string cluster_name_prefix)
          : debug_options_(debug_options),
            graph_(graph),
            graph_fingerprint_(0),
            flib_def_(flib_def),
            env_(env),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/test_util.cc

      device_mgr_ = std::make_unique<StaticDeviceMgr>(std::move(devices));
    
      OptimizerOptions opts;
      lib_def_ = std::make_unique<FunctionLibraryDefinition>(OpRegistry::Global(),
                                                             FunctionDefLibrary());
      if (fdef.has_value()) {
        TF_CHECK_OK(lib_def_->AddFunctionDef(*fdef));
      }
      pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    TEST(IsSupportedByNonReplicatedBridge, NonReplicatedGraph) {
      const FunctionDef& fd = PassThroughResource();
      FunctionDefLibrary flib;
      *flib.add_function() = fd;
      FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib);
      Graph graph(flib_def);
      graph.SetConstructionContext(ConstructionContext::kEagerRuntime);
      tensorflow::set_tf2_execution(true);
    
      ConfigProto config = ConfigProto();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

    }
    
    // Checks any reachable functions from `graph_def` in `flib_def`
    // for inference graphs.
    bool DoReachableFuncsContainTPUPartitionedCall(
        const GraphDef& graph_def, const FunctionLibraryDefinition& flib_def) {
      for (const std::string& func_name :
           flib_def.ReachableDefinitions(graph_def).ListFunctionNames()) {
        const FunctionDef* func_def = flib_def.Find(func_name);
        std::unique_ptr<FunctionBody> func_body;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

    #include "tensorflow/core/util/equal_graph_def.h"
    
    namespace tensorflow {
    
    static std::unique_ptr<Graph> MakeOuterGraph(
        const FunctionLibraryDefinition& flib_def, const string& function) {
      Scope scope = Scope::NewRootScope().ExitOnError();
      TF_EXPECT_OK(scope.graph()->AddFunctionLibrary(flib_def.ToProto()));
    
      auto a = ops::Placeholder(scope.WithOpName("A"), DT_INT32);
      auto b = ops::Placeholder(scope.WithOpName("B"), DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass_test_helper.h

      static Status MarkForCompilation(std::unique_ptr<Graph>* graph,
                                       FunctionLibraryDefinition* flib_def,
                                       Options options = Options());
    
      // Like `MarkForCompilation` but creates `flib_def` from the op registry.
      static Status MarkForCompilation(std::unique_ptr<Graph>* graph,
                                       Options options = Options());
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 09 19:51:48 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top