Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for James (0.15 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

      const std::vector<std::string>& op_names =
          tensorflow::unwrap(ctx)->GetLoggedOpsTestonly();
    
      std::ostringstream op_names_oss;
      for (const auto& op : op_names) {
        op_names_oss << op << ", ";
      }
      const std::string& op_names_str = op_names_oss.str();
      void* data = tensorflow::port::Malloc(op_names_str.length());
      op_names_str.copy(static_cast<char*>(data), op_names_str.length(), 0);
      buf->data = data;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_experimental.cc

      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
      return new TF_AttrBuilder(op_name);
    }
    
    void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; }
    
    void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
                               TF_DataType value) {
      auto iter = builder->attr_names.insert(attr_name).first;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top