- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 854 for casts (0.6 sec)
-
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) -
android/guava/src/com/google/common/collect/GeneralRange.java
} boolean isEmpty() { // The casts are safe because of the has*Bound() checks. return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint()))) || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint()))); } boolean tooLow(@ParametricNullness T t) { if (!hasLowerBound()) { return false; } // The cast is safe because of the hasLowerBound() check.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
} boolean isEmpty() { // The casts are safe because of the has*Bound() checks. return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint()))) || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint()))); } boolean tooLow(@ParametricNullness T t) { if (!hasLowerBound()) { return false; } // The cast is safe because of the hasLowerBound() check.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K 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/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) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
return {slice_inputs}; } // Casts `x` to a DT_INT64 if it isn't one already. Output MakeInt64(const Scope& host_scope, absl::string_view name, const Output& x) { return x.type() == DT_INT64 ? x : ops::Cast(host_scope.WithOpName(name, "_s64"), x, DT_INT64); } // Returns `slice_inputs` with the index and size inputs cast to DT_INT64.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:29 UTC 2024 - 12.4K bytes - Viewed (0) -
tensorflow/c/tf_tensor.cc
#include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/coding.h" #include "tensorflow/core/platform/casts.h" using tensorflow::Status; using tensorflow::Tensor; using tensorflow::TensorBuffer; using tensorflow::errors::FailedPrecondition; using tensorflow::errors::InvalidArgument; #ifndef LIBTPU_EXCLUDE_C_API_IMPL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0)