Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CompileGraph (0.13 sec)

  1. tensorflow/compiler/aot/compile.h

      int pointer_size = 0;                  // Size of a pointer in bytes.
    };
    
    // CompileGraph compiles the graph_def into an object file containing a function
    // that performs the graph operations.
    //
    // The XLA compilation options are specified in the flags.
    Status CompileGraph(GraphDef graph_def, const tf2xla::Config& config,
                        const MainFlags& flags, CompileResult* compile_result);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

    }
    
    static TranslateToMLIRRegistration GraphdefToSplattedMlirTranslate(
        "graphdef-to-splatted-mlir", "graphdef-to-splatted-mlir",
        GraphdefToSplattedMlirTranslateFunction);
    
    static Status CompileGraph(tensorflow::Graph* graph,
                               xla::CompileOnlyClient* client) {
      if (!graph || !client) {
        return Status(absl::StatusCode::kInvalidArgument,
                      "Invalid graph or client");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/compile.cc

      compile_result->pointer_size =
          xla::CompileOnlyClient::PointerSizeForTriple(aot_opts.triple());
      return absl::OkStatus();
    }
    
    }  // namespace
    
    Status CompileGraph(GraphDef graph_def, const tf2xla::Config& config,
                        const MainFlags& flags, CompileResult* compile_result) {
      // Converts the graph into an XLA computation, and compiles the
      // computation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_compile_util.cc

        const NodeDef& node_def, absl::Span<const XlaArgument> args,
        absl::Span<const DataType> result_types) {
      // TODO(b/74182462): We implement this by creating a new dummy Graph including
      // _Arg nodes, and let CompileGraph walk it. This could be optimized.
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
    
      // First create the actual node we care about computing.
      TF_ASSIGN_OR_RETURN(Node * main_node, graph->AddNode(node_def));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_compiler_test.cc

        auto args = SampleArgsForAddXY();
    
        // Compiles the graph.
        XlaCompiler compiler(GetDefaultXlaOptions());
    
        XlaCompiler::CompilationResult compilation_result;
        TF_RETURN_IF_ERROR(compiler.CompileGraph(XlaCompiler::CompileOptions(),
                                                 "graph", std::move(graph), args,
                                                 &compilation_result));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_executable_persistor_test.cc

        args[1].shape = TensorShape({2});
    
        // Compiles the graph.
        XlaCompiler compiler(DefaultXlaOptions());
    
        XlaCompiler::CompilationResult compilation_result;
        TF_RETURN_IF_ERROR(compiler.CompileGraph(XlaCompiler::CompileOptions(),
                                                 "graph", std::move(graph), args,
                                                 &compilation_result));
        return compilation_result;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top