Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LoadOpsAndApiDefs (0.38 sec)

  1. tensorflow/cc/framework/cc_op_gen_main.cc

                       bool include_internal,
                       const std::vector<string>& api_def_dirs) {
      OpList ops;
      absl::StatusOr<ApiDefMap> api_def_map =
          LoadOpsAndApiDefs(ops, include_internal, api_def_dirs);
      TF_CHECK_OK(api_def_map.status());
      api_def_map->UpdateDocs();
      WriteCCOps(ops, *api_def_map, dot_h, dot_cc);
    }
    
    }  // namespace
    }  // namespace cc_op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

    namespace {
    
    void WriteAllFuzzers(string root_location, std::vector<string> api_def_dirs,
                         std::vector<string> op_names) {
      OpList ops;
      absl::StatusOr<ApiDefMap> api_def_map =
          LoadOpsAndApiDefs(ops, false, api_def_dirs);
    
      TF_CHECK_OK(api_def_map.status());
    
      Env* env = Env::Default();
      absl::Status status;
      std::unique_ptr<WritableFile> fuzz_file = nullptr;
      for (const OpDef& op_def : ops.op()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 10:53:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.h

    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace cc_op {
    
    absl::StatusOr<ApiDefMap> LoadOpsAndApiDefs(
        OpList& ops, bool include_internal,
        const std::vector<string>& api_def_dirs);
    
    // Converts:
    //   bazel-out/.../(bin|genfiles)/(external/YYY/)?XX
    // to: XX.
    string GetPath(StringPiece dot_h_fname);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/cc_op_gen_util.cc

    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/platform/types.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace cc_op {
    
    absl::StatusOr<ApiDefMap> LoadOpsAndApiDefs(
        OpList& ops, bool include_internal,
        const std::vector<string>& api_def_dirs) {
      OpRegistry::Global()->Export(include_internal, &ops);
      ApiDefMap api_def_map(ops);
      if (!api_def_dirs.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top