Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for add_0 (0.04 sec)

  1. tensorflow/c/c_api_test.cc

      }
    
      void SetViaProto(TF_OperationDescription* desc,
                       const std::vector<string>& list) {
        tensorflow::AttrValue attr;
        for (const string& v : list) {
          attr.mutable_list()->add_s(v);
        }
        string bytes;
        attr.SerializeToString(&bytes);
        TF_SetAttrValueProto(desc, tensorflow::kColocationAttrName, bytes.data(),
                             bytes.size(), s_);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top