Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ApiDef (0.25 sec)

  1. tensorflow/cc/framework/cc_op_gen_util.h

      //   code, with possibly overridden names and defaults.
      OpInfo(const OpDef& graph_op_def, const ApiDef& api_def,
             const std::vector<string>& aliases);
      OpInfo(const OpDef& graph_op_def, const ApiDef& api_def);
      string GetOpAttrStruct() const;
      string GetConstructorDecl(StringPiece op_name_prefix,
                                bool include_attr) const;
    
      string op_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

      std::unique_ptr<WritableFile> fuzz_file = nullptr;
      for (const OpDef& op_def : ops.op()) {
        if (std::find(op_names.begin(), op_names.end(), op_def.name()) ==
            op_names.end())
          continue;
    
        const ApiDef* api_def = api_def_map->GetApiDef(op_def.name());
        if (api_def == nullptr) {
          continue;
        }
    
        OpInfo op_info(op_def, *api_def, std::vector<string>());
        status.Update(env->NewWritableFile(
    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/c/experimental/ops/gen/common/controller.cc

      for (const auto& op_name : path_config_.op_names) {
        const OpDef* op_def = nullptr;
        TF_CHECK_OK(OpRegistry::Global()->LookUpOpDef(op_name, &op_def));
        CHECK(op_def != nullptr);  // Crash OK
    
        const ApiDef* api_def = api_def_map_->GetApiDef(op_name);
        CHECK(api_def != nullptr);  // Crash OK
    
        operators_.push_back(OpSpec::Create(*op_def, *api_def));
      }
    }
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top