Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for isExist (0.06 seconds)

  1. tensorflow/c/c_api.h

      unsigned char is_list;
    
      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
      // Total size the attribute value.
      // The units of total_size depend on is_list and type.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_test.cc

      TFE_OpAddAttrs(copy_op, attributes);
      unsigned char is_list = 0;
      ASSERT_EQ(TF_ATTR_TYPE,
                TFE_OpGetAttrType(copy_op, "dtype", &is_list, status));
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      ASSERT_EQ(TF_ATTR_SHAPE,
                TFE_OpGetAttrType(copy_op, "shape", &is_list, status));
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_test.cc

          EXPECT_EQ("Operation 'add' has no attr named '_class'.",
                    std::string(TF_Message(s_)));
          return;
        }
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        EXPECT_EQ(1, m.is_list);
        EXPECT_EQ(expected.size(), m.list_size);
        EXPECT_EQ(TF_ATTR_STRING, m.type);
        std::vector<void*> values(expected.size());
        std::vector<size_t> lens(expected.size());
    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