Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ndarray (0.22 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          } catch (UnsupportedOperationException expected) {
          }
    
          try {
            ((Collection<?>) multimap.asMap().values().toArray()[0]).clear();
            fail("asMap().values().toArray()[0].clear() succeeded on unmodifiable multimap");
          } catch (UnsupportedOperationException expected) {
          }
        }
    
        assertCollectionIsUnmodifiable(multimap.values(), sampleValue);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. RELEASE.md

        [`tf.experimental.numpy`](https://www.tensorflow.org/api_docs/python/tf/experimental/numpy),
        which is a NumPy-compatible API for writing TF programs. This module
        provides class `ndarray`, which mimics the `ndarray` class in NumPy, and
        wraps an immutable `tf.Tensor` under the hood. A subset of NumPy functions
        (e.g. `numpy.add`) are provided. Their inter-operation with TF facilities is
        seamless in most cases. See
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
    
          @Override
          public T remove(int index) {
            return data.remove(index);
          }
    
          @Override
          public @Nullable Object[] toArray() {
            return data.toArray();
          }
        };
      }
    
      /**
       * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    			addr := s.newValue1I(ssa.OpOffPtr, ft.PtrTo(), t.FieldOff(i), left)
    			val := s.newValue1I(ssa.OpStructSelect, ft, int64(i), right)
    			s.storeTypeScalars(ft, addr, val, 0)
    		}
    	case t.IsArray() && t.NumElem() == 0:
    		// nothing
    	case t.IsArray() && t.NumElem() == 1:
    		s.storeTypeScalars(t.Elem(), left, s.newValue1I(ssa.OpArraySelect, t.Elem(), 0, right), 0)
    	default:
    		s.Fatalf("bad write barrier type %v", t)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args)
          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args)
          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top