Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for strdup (0.17 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name,
                              const void* const* values, const size_t* lengths,
                              int num_values) {
      if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
        desc->colocation_constraints.clear();
        for (int i = 0; i < num_values; ++i) {
          desc->colocation_constraints.emplace(static_cast<const char*>(values[i]),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top