- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for path_config_ (0.25 sec)
-
tensorflow/c/experimental/ops/gen/cpp/cpp_generator.cc
#include "tensorflow/core/lib/io/path.h" namespace tensorflow { namespace generator { CppGenerator::CppGenerator(cpp::CppConfig cpp_config, PathConfig path_config) : controller_(path_config), cpp_config_(cpp_config), path_config_(path_config) {} SourceCode CppGenerator::GenerateOneFile( cpp::RendererContext::Mode mode) const { SourceCode generated_code;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 18:51:25 UTC 2021 - 2.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.cc
#include "tensorflow/core/platform/path.h" #include "tsl/platform/status.h" namespace tensorflow { namespace generator { Controller::Controller(PathConfig path_config, Env* env) : env_(env), path_config_(path_config) { // Load the Op and API definitions InitializeOpApi(); // Convert the Op and API definitions to the internal data model BuildModel(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/cpp_generator.h
private: SourceCode GenerateOneFile(cpp::RendererContext::Mode mode) const; Controller controller_; cpp::CppConfig cpp_config_; PathConfig path_config_; }; } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 18:51:25 UTC 2021 - 1.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.h
// Data model: Ops to generate std::vector<OpSpec> operators_; // Configuration Env* env_; PathConfig path_config_; // Initialized TensorFlow Op/API definitions OpList op_list_; ApiDefMap* api_def_map_; }; } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 18:51:25 UTC 2021 - 1.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/path_config.cc
#include "tensorflow/c/experimental/ops/gen/common/path_config.h" #include <iostream> #include "absl/strings/str_join.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { PathConfig::PathConfig(const string& output_dir, const string& source_dir, const string& api_dir_list,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/path_config.h
#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { struct PathConfig { string output_path; std::vector<string> op_names; std::vector<string> api_dirs; string tf_prefix_dir; string tf_root_dir; string tf_output_dir; explicit PathConfig() = default; explicit PathConfig(const string &output_dir, const string &source_dir, const string &api_dir_list,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_context.h
enum Mode { kHeader = 0, kSource }; Mode mode; SourceCode &code; CppConfig cpp_config; PathConfig path_config; }; } // namespace cpp } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h" #include "tensorflow/c/experimental/ops/gen/common/path_config.h" #include "tensorflow/c/experimental/ops/gen/common/source_code.h" #include "tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_config.h" #include "tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_context.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/include_renderer.cc
} string IncludeRenderer::SelfHeaderPath() const { return io::JoinPath(context_.path_config.tf_root_dir, context_.path_config.tf_output_dir, context_.cpp_config.unit + "_ops.h"); } void IncludeRenderer::Include(const string &tf_file_path) { CodeLine("#include \"$0\"", io::JoinPath(context_.path_config.tf_prefix_dir, tf_file_path)); } void IncludeRenderer::Headers() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/guard_renderer.cc
namespace tensorflow { namespace generator { namespace cpp { GuardRenderer::GuardRenderer(RendererContext context) : Renderer(context) { string self_path = io::JoinPath(context_.path_config.tf_root_dir, context_.path_config.tf_output_dir, context_.cpp_config.unit + "_ops.h"); string with_underscores(self_path);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 1.9K bytes - Viewed (0)