Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Clarke (0.22 sec)

  1. tensorflow/c/c_api_test.cc

      TF_TString* data = static_cast<TF_TString*>(TF_TensorData(t));
      for (int i = 0; i < batch_size; ++i) {
        TF_TString_Init(&data[i]);
        // The following input string length is large enough to make sure that
        // copy to tstring in large mode.
        std::string source =
            "This is the " + std::to_string(i + 1) + "th. data element\n";
        TF_TString_Copy(&data[i], source.c_str(), source.length());
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top