Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listSize (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", list_size, TF_ATTR_SHAPE, total_ndims);
      int64_t* values[list_size];
      int values_ndims[list_size];
      int64_t storage[total_ndims];
      TF_OperationGetAttrShapeList(oper, "v", values, values_ndims, list_size,
                                   storage, total_ndims, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      for (size_t i = 0; i < list_size; ++i) {
        EXPECT_EQ(ndims[i], values_ndims[i]) << i;
    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.cc

        case tensorflow::AttrValue::kList:
          metadata.is_list = 1;
          metadata.list_size = 0;
          metadata.total_size = -1;
    #define LIST_CASE(field, attr_type, ...)              \
      if (attr->list().field##_size() > 0) {              \
        metadata.type = attr_type;                        \
        metadata.list_size = attr->list().field##_size(); \
        __VA_ARGS__;                                      \
    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