Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,001 for _values (0.16 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    }
    Status TapeOperation::SetAttrBoolList(const char* attr_name,
                                          const unsigned char* values,
                                          int num_values) {
      std::unique_ptr<bool[]> b(new bool[num_values]);
      for (int i = 0; i < num_values; ++i) {
        b[i] = values[i];
      }
      forward_op_.attrs.Set(attr_name,
                            gtl::ArraySlice<const bool>(b.get(), num_values));
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  2. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
      public void testCreateEmptyRangeOpenClosedSucceeds() {
        for (Integer i : IN_ORDER_VALUES) {
          GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED);
          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
      public void testCreateEmptyRangeOpenClosedSucceeds() {
        for (Integer i : IN_ORDER_VALUES) {
          GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED);
          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

            "Should not contain null key after unsupported put(null, value)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        assertNull("put(key, null) should return null", put(nullValueEntry));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPut_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_replacingNull() {
        E[] elements = createSamplesArray();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients_internal.h

                             const void* const* values, const size_t* lengths,
                             int num_values, ForwardOperation*);
    Status SetAttrFloatList(AbstractOperation*, const char* attr_name,
                            const float* values, int num_values, ForwardOperation*);
    Status SetAttrIntList(AbstractOperation*, const char* attr_name,
                          const int64_t* values, int num_values, ForwardOperation*);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNull_supported() {
        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
        expectContents(array);
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

            "Should not contain null key after unsupported put(null, value)");
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPut_nullValueSupported() {
        assertNull("put(key, null) should return null", put(nullValueEntry));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPut_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top