- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 627 for float (0.12 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
TF_Tensor* resolved = TFE_TensorHandleResolve(on_host, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); const float* resolved_data = static_cast<const float*>(TF_TensorData(resolved)); EXPECT_EQ(0, memcmp(m_float, resolved_data, 4 * sizeof(float))); TF_DeleteTensor(resolved); TFE_DeleteTensorHandle(copy_aliased); // Note that this will delete copy. TFE_DeleteTensorHandle(on_host);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
assertThat(primitives) .containsExactly( boolean.class, byte.class, char.class, double.class, float.class, int.class, long.class, short.class, void.class); assertThrows(UnsupportedOperationException.class, () -> primitives.remove(boolean.class)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
*/ ObjectCountHashMap(int capacity) { this(capacity, DEFAULT_LOAD_FACTOR); } ObjectCountHashMap(int expectedSize, float loadFactor) { init(expectedSize, loadFactor); } void init(int expectedSize, float loadFactor) { Preconditions.checkArgument(expectedSize >= 0, "Initial capacity must be non-negative"); Preconditions.checkArgument(loadFactor > 0, "Illegal load factor");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
assertTrue(isNumber.apply(Float.class)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_interface() { Predicate<Class<?>> isComparable = Predicates.subtypeOf(Comparable.class); assertTrue(isComparable.apply(Integer.class)); assertTrue(isComparable.apply(Float.class)); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
/** * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening * primitive conversion from {@code int} to {@code float}, and correctly rounded. */ @Override public float floatValue() { return longValue(); } /** * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
/** * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening * primitive conversion from {@code int} to {@code float}, and correctly rounded. */ @Override public float floatValue() { return longValue(); } /** * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
values[0] = v; return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes, &DoubleDeallocator, nullptr); } TF_Tensor* FloatTensor(float v) { const int num_bytes = sizeof(float); float* values = new float[1]; values[0] = v; return TF_NewTensor(TF_FLOAT, nullptr, 0, values, num_bytes, &FloatDeallocator, nullptr); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAdder.java
@Override public int intValue() { return (int) sum(); } /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */ @Override public float floatValue() { return (float) sum(); } /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */ @Override public double doubleValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/LongAdder.java
@Override public int intValue() { return (int) sum(); } /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */ @Override public float floatValue() { return (float) sum(); } /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */ @Override public double doubleValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.4K bytes - Viewed (0) -
docs/ru/docs/python-types.md
# Введение в аннотации типов Python Python имеет поддержку необязательных аннотаций типов. **Аннотации типов** являются специальным синтаксисом, который позволяет определять <abbr title="например: str, int, float, bool">тип</abbr> переменной. Объявление типов для переменных позволяет улучшить поддержку вашего кода редакторами и различными инструментами.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.6K bytes - Viewed (0)