- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 3,659 for casts (0.06 sec)
-
guava/src/com/google/common/primitives/Longs.java
*/ public static byte[] toByteArray(long value) { // Note that this code needs to stay compatible with GWT, which has known // bugs when narrowing byte casts of long values occur. byte[] result = new byte[8]; for (int i = 7; i >= 0; i--) { result[i] = (byte) (value & 0xffL); value >>= 8; } return result; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 28.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
Comparator<? super E> comparator, Iterable<? extends E> elements) { if (elements instanceof ImmutableSortedMultiset) { @SuppressWarnings("unchecked") // immutable collections are always safe for covariant casts ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) elements; if (comparator.equals(multiset.comparator())) { if (multiset.isPartialView()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 35.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
#include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/rendezvous.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/platform/casts.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/platform.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/profiler/lib/traceme.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
if (!mlir::cast<ShapedType>(lhs.getType()).hasStaticShape() || !mlir::cast<ShapedType>(rhs.getType()).hasStaticShape() || !mlir::cast<ShapedType>(cond.getType()).hasStaticShape()) { return rewriteOpWithDynamicInput(op, rewriter); } auto lhs_shape = mlir::cast<ShapedType>(lhs.getType()).getShape(); auto rhs_shape = mlir::cast<ShapedType>(rhs.getType()).getShape();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
auto input_args_have_static_shape = [&]() -> bool { return mlir::cast<TensorType>(input_tensor.getType()).hasStaticShape() && mlir::cast<TensorType>(kernel_tensor.getType()).hasStaticShape() && mlir::cast<TensorType>(window_strides.getType()).hasStaticShape() && mlir::cast<TensorType>(padding.getType()).hasStaticShape() && mlir::cast<TensorType>(lhs_dilation.getType()).hasStaticShape() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
} // Get the tensor types. const auto input_type = input_tensor.getType().cast<ShapedType>(); const auto weights_type = weights_tensor.getType().cast<ShapedType>(); const auto bias_type = has_bias ? bias_tensor.getType().cast<ShapedType>() : ShapedType{}; const auto output_type = getType(0).cast<ShapedType>(); // Folding only implemented for float tensors.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/cases.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate go run gen.go gen_trieval.go // Package cases provides general and language-specific case mappers. package cases // import "golang.org/x/text/cases" import ( "golang.org/x/text/language" "golang.org/x/text/transform" ) // References: // - Unicode Reference Manual Chapter 3.13, 4.2, and 5.18.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.9K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar
org.hamcrest.internal.ReflectiveTypeFinder; /** * Convenient base class for Matchers that require a non-null value of a specific type * and that will report why the received value has been rejected. * This implements the null check, checks the type and then casts. * To use, implement <pre>matchesSafely()</pre>. * * @param <T> * @author Neil Dunn * @author Nat Pryce * @author Steve Freeman */ public abstract class TypeSafeDiagnosingMa<T> extends BaseMatcher<T> { private static final ReflectiveTypeFinder TYPE_FINDER...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 31.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
auto op = cast<ResizeNearestNeighborOp>(src_op); auto loc = op.getLoc(); auto result_ty = mlir::cast<ShapedType>(op.getType()); auto input = op.getImages(); auto input_ty = mlir::cast<ShapedType>(input.getType()); auto input_element_ty = input_ty.getElementType(); auto out_size = op.getSize(); auto out_size_ty = mlir::cast<ShapedType>(out_size.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/Cast.kt
Paul Merlin <******@****.***> 1690890212 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 773 bytes - Viewed (0)