- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,443 for Cast (0.19 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_quantize_op_utils.cc
namespace mlir { namespace quant { UnrankedTensorType CreateUnknownShapeFromElementType(Type tensor_type) { if (!mlir::cast<TensorType>(tensor_type)) return UnrankedTensorType(); return UnrankedTensorType::get( mlir::cast<TensorType>(tensor_type).getElementType()); } } // namespace quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
const auto gemm_style_op_result_type = mlir::cast<RankedTensorType>(gemm_style_op_result.getType()); const ArrayRef<int64_t> gemm_style_shape = gemm_style_op_result_type.getShape(); Type accumulation_quantized_element_type; TensorType new_gemm_style_op_result_type; const double input_scale = mlir::cast<UniformQuantizedType>(getElementTypeOrSelf(input_type)) .getScale();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
pkg/controlplane/controller/crdregistration/crdregistration_controller.go
), } c.syncHandler = c.handleVersionUpdate crdinformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(obj interface{}) { cast := obj.(*apiextensionsv1.CustomResourceDefinition) c.enqueueCRD(cast) }, UpdateFunc: func(oldObj, newObj interface{}) { // Enqueue both old and new object to make sure we remove and add appropriate API services.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java
ClassImplementationSnapshot currentImplementation = Cast.uncheckedNonnullCast(thisExecution.getImplementation()); ClassImplementationSnapshot previousImplementation = Cast.uncheckedNonnullCast(lastExecution.getImplementation()); ImmutableList<ImplementationSnapshot> currentAdditionalImplementations = Cast.uncheckedNonnullCast(thisExecution.getAdditionalImplementations());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc
// First create an identity permutation tensor. for (int i = 0; i < input_rank; i++) { permute.push_back(rewriter.getI32IntegerAttr(i)); } // Swaps the last two dimension since the last two dimension will be // mapped to X and Z dimension. std::iter_swap(permute.begin() + input_rank - 1, permute.begin() + input_rank - 2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go
FilterFunc: func(obj interface{}) bool { if cast, ok := obj.(*corev1.ConfigMap); ok { return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace } if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok { if cast, ok := tombstone.Obj.(*corev1.ConfigMap); ok { return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go
FilterFunc: func(obj interface{}) bool { if cast, ok := obj.(*corev1.ConfigMap); ok { return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace } if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok { if cast, ok := tombstone.Obj.(*corev1.ConfigMap); ok { return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java
return type; } @Override public void setFromAnyValue(Object object) { if (object instanceof Provider) { set(Cast.<Provider<T>>uncheckedNonnullCast(object)); } else { set(Cast.<T>uncheckedNonnullCast(object)); } } @Override public void set(@Nullable T value) { if (value == null) { discardValue();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 6.1K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt
* smart-casts: * * ```kt * if (this is String) { * this.substring() // 'this' receiver is explicit, so no implicit smart-cast here. * * smartcast() // 'this' receiver is implicit, therefore there is implicit smart-cast involved. * } * ``` */ public fun KtExpression.getImplicitReceiverSmartCast(): Collection<KaImplicitReceiverSmartCast> =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
(getElementTypeOrSelf(op.getType())))) { return failure(); } // Remove identity reshape with both static result and input shape. auto result_type = mlir::cast<ShapedType>(op.getType()); auto input_type = mlir::cast<ShapedType>(op.getInput().getType()); // Constant folding // If the result type isn't static, tries to derive the result type from // the #2 operand.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0)