- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NumElements (0.13 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
*/ ANY(ZERO, ONE, SEVERAL); private final Set<Feature<? super Collection>> implied; private final @Nullable Integer numElements; CollectionSize(int numElements) { this.implied = emptySet(); this.numElements = numElements; } CollectionSize(Feature<? super Collection>... implied) { // Keep the order here, so that PerCollectionSizeTestSuiteBuilder
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
throws InterruptedException { // TODO(b/126049426): Consider using saturateToNanos(timeout) instead. return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS); } /** * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
throws InterruptedException { // TODO(b/126049426): Consider using saturateToNanos(timeout) instead. return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS); } /** * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
public: // Returns number of dimensions. virtual absl::Status NumDims(int* num_dims) const = 0; // Returns number of elements across all dimensions. virtual absl::Status NumElements(int64_t* num_elements) const = 0; // Returns size of specified dimension // // -1 indicates an unknown axis length; this is unreachable for most standard
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
public: explicit TapeVSpace(AbstractContext* ctx) : ctx_(ctx) {} ~TapeVSpace() override {} // Returns the number of elements in the gradient tensor. int64_t NumElements(AbstractTensorHandle* tensor) const override; // Consumes references to the tensors in the gradient_tensors list and returns // a tensor with the result. AbstractTensorHandle* AggregateGradients(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
Tensor output; ASSERT_EQ(absl::OkStatus(), TF_TensorToTensor(dst, &output)) << line; ASSERT_EQ(src.NumElements(), output.NumElements()) << line; for (int64_t i = 0; i < src.NumElements(); ++i) { ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line; } TF_DeleteTensor(dst); } } TEST(CAPI, TensorEncodeDecodeStrings) { TestEncodeDecode(__LINE__, {});
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return -1; } int64_t num_elements = -1; status->status = tensorflow::unwrap(h)->NumElements(&num_elements); return num_elements; } int64_t TFE_TensorHandleDim(TFE_TensorHandle* h, int dim_index, TF_Status* status) { if (h == nullptr) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
status->status = result; return; } // Store results in c_outputs[] for (int i = 0; i < noutputs; ++i) { const Tensor& src = outputs[i]; if (!src.IsInitialized() || src.NumElements() == 0) { c_outputs[i] = EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape()); continue; } c_outputs[i] = TF_TensorFromTensor(src, &status->status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
api/go1.txt
pkg syscall (windows-386), type CertSimpleChain struct, Elements **CertChainElement pkg syscall (windows-386), type CertSimpleChain struct, HasRevocationFreshnessTime uint32 pkg syscall (windows-386), type CertSimpleChain struct, NumElements uint32 pkg syscall (windows-386), type CertSimpleChain struct, RevocationFreshnessTime uint32 pkg syscall (windows-386), type CertSimpleChain struct, Size uint32
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)