Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_SetAttrStringList (0.26 sec)

  1. tensorflow/c/c_api_test.cc

                            const std::vector<string>& list) {
        std::unique_ptr<const void*[]> list_ptrs;
        std::unique_ptr<size_t[]> list_lens;
        StringVectorToArrays(list, &list_ptrs, &list_lens);
        TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(),
                             list_lens.get(), list.size());
      }
    
      void SetViaProto(TF_OperationDescription* desc,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // `values` and `lengths` each must have lengths `num_values`.
    // `values[i]` must point to a string of length `lengths[i]` bytes.
    TF_CAPI_EXPORT extern void TF_SetAttrStringList(TF_OperationDescription* desc,
                                                    const char* attr_name,
                                                    const void* const* values,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

                          const void* value, size_t length) {
      tensorflow::StringPiece s(static_cast<const char*>(value), length);
      desc->node_builder.Attr(attr_name, s);
    }
    
    void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name,
                              const void* const* values, const size_t* lengths,
                              int num_values) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top