Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxLength (0.1 sec)

  1. tensorflow/c/c_api.cc

                                   void* value, size_t max_length,
                                   TF_Status* status) {
      const auto* attr = GetAttrValue(oper, attr_name, status);
      if (!status->status.ok()) return;
      if (attr->value_case() != tensorflow::AttrValue::kS) {
        status->status =
            InvalidArgument("Attribute '", attr_name, "' is not a string");
        return;
      }
      if (max_length <= 0) {
        return;
      }
    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