Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TF_SetAttrValueProto (0.09 seconds)

  1. tensorflow/c/c_api_test.cc

        tensorflow::AttrValue attr;
        for (const std::string& v : list) {
          attr.mutable_list()->add_s(v);
        }
        std::string bytes;
        attr.SerializeToString(&bytes);
        TF_SetAttrValueProto(desc, tensorflow::kColocationAttrName, bytes.data(),
                             bytes.size(), s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void VerifyCollocation(TF_Operation* op,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
Back to Top