- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,239 for casts (0.07 sec)
-
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java
* * @param outputType The type to cast the input to * @param object The object to be cast (must not be {@code null}) * @param <O> The type to be cast to * @param <I> The type of the object to be vast * @return The input object, cast to the output type */ public static <O, I> O cast(Class<O> outputType, I object) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt
* * ```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) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
}, }, }, } for _, tc := range cases { for _, op := range tc.opts { for _, typ := range tc.costs { t.Run(typ.comparableLiteral+op, func(t *testing.T) { e := typ.comparableLiteral + op testCost(t, e, typ.expectedEstimatedCost, typ.expectedRuntimeCost) }) } } } } func TestIndexOfCost(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc
>(); } OpFoldResult StorageCastOp::fold(FoldAdaptor) { // Matches x -> [scast -> scast] -> y, replacing the second scast with the // value of x if the casts invert each other. auto srcScastOp = getArg().getDefiningOp<StorageCastOp>(); if (!srcScastOp || srcScastOp.getArg().getType() != getType()) return OpFoldResult(); return srcScastOp.getArg(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc
>(); } OpFoldResult StorageCastOp::fold(FoldAdaptor) { // Matches x -> [scast -> scast] -> y, replacing the second scast with the // value of x if the casts invert each other. auto srcScastOp = getArg().getDefiningOp<StorageCastOp>(); if (!srcScastOp || srcScastOp.getArg().getType() != getType()) return OpFoldResult(); return srcScastOp.getArg(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td
//===----------------------------------------------------------------------===// // Op quantization pass-through patterns. //===----------------------------------------------------------------------===// // Casts result type of $1 to a quantized type by using the quantization // parameters from the type in $0. class UpdateShapeWithAxis<int i> : NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc
pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass()); pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass()); // Use optimize pass to remove double casts that are inserted when inlining // functions. pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass()); } } // namespace quantization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
pass_manager->addPass( mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()); if (pass_config.shape_inference) { // Add a shape inference pass to optimize away the unnecessary casts. pass_manager->addPass(mlir::TF::CreateTFShapeInferencePass()); } // Legalize while early to allow further constant folding. // TODO(jpienaar): This may not actually matter as we do canonicalization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
#include "tensorflow/compiler/tf2xla/tf2xla_defs.h" namespace mlir { namespace TF { // TODO(b/229028654) Use definitions from tf2xla_defs.h directly. We currently // don't do this to avoid explicit casts (implicit conversion from // `absl::string_view` to `llvm::StringRef` is not supported until C++17). // Whether soft placement is allowed. If true, the marked node is eligible for // outside compilation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0)