- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CodegenOpts (0.12 sec)
-
tensorflow/compiler/aot/codegen.h
#include "tensorflow/compiler/aot/compile.h" #include "tensorflow/compiler/tf2xla/tf2xla.pb.h" namespace tensorflow { namespace tfcompile { // CodegenOpts specifies code generation options for the generated header file // and the generated metadata object file. struct CodegenOpts { // The name of the generated C++ class, wrapping the generated function. string class_name; // Target triple for the architecture we're targeting.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 01 22:03:27 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen_test.cc
// bypassed the Cpu compiler so we have to do this manually. LLVMInitializeX86Target(); LLVMInitializeX86TargetInfo(); LLVMInitializeX86TargetMC(); LLVMInitializeX86AsmPrinter(); CodegenOpts opts; opts.class_name = "MyClass"; opts.target_triple = "x86_64-pc-linux"; opts.namespaces = {"foo", "bar"}; opts.gen_name_to_index = true; opts.gen_program_shape = true; tf2xla::Config config;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 01 02:13:40 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/aot/compile.cc
const std::vector<char>& obj = compile_result.aot->object_file_data(); TF_RETURN_IF_ERROR( WriteStringToFile(env, flags.out_function_object, absl::string_view(obj.data(), obj.size()))); CodegenOpts codegen_opts; codegen_opts.gen_name_to_index = flags.gen_name_to_index; codegen_opts.gen_program_shape = flags.gen_program_shape; codegen_opts.target_triple = flags.target_triple;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 08:28:57 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen.cc
} static string CreateUniqueIdentifier(const CodegenOpts& opts, absl::string_view suffix) { string result = "__tfcompile"; for (const string& n : opts.namespaces) { absl::StrAppend(&result, "_", n); } absl::StrAppend(&result, "_", opts.class_name, "_", suffix); return result; } Status GenerateMetadata(const CodegenOpts& opts,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0)