Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_SetAttrString (0.05 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_ColocateWith(TF_OperationDescription* desc, TF_Operation* op) {
      desc->colocation_constraints.emplace(
          StrCat(tensorflow::kColocationGroupPrefix, op->node.name()));
    }
    
    void TF_SetAttrString(TF_OperationDescription* desc, const char* attr_name,
                          const void* value, size_t length) {
      absl::string_view s(static_cast<const char*>(value), length);
      desc->node_builder.Attr(attr_name, s);
    }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top