- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 129 for onStop (0.14 sec)
-
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go
tests := []struct { name string pod *v1.Pod node *v1.Node wantStatus *framework.Status }{ { name: "A pod having no tolerations can't be scheduled onto a node with nonempty taints", pod: podWithTolerations("pod1", []v1.Toleration{}), node: nodeWithTaints("nodeA", []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc
ASSERT_THAT(test_func, NotNull()); Operation* mul_op = FindOperationOfType<TF::MulOp>(test_func); SmallVector<Value> results = ConstantFoldOpIfPossible(mul_op); EXPECT_THAT(results, SizeIs(1)); EXPECT_TRUE(isa<TF::ConstOp>(results[0].getDefiningOp())); } TEST_F(ConstantFoldingTest, NotFoldingIdentity) { constexpr absl::string_view kModuleCode = R"mlir( module { func.func @test_fold_constant() -> (tensor<1024x24x24x3xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
// CHECK-NEXT: [[PREFIX:%.*]] = tf_mlrt.constop %cst = "tf.Const"() {__op_key = 0: i32, value = dense<"restore_ariables"> : tensor<!tf_type.string>} : () -> tensor<!tf_type.string> // CHECK-NEXT: [[SLICE:%.*]] = tf_mlrt.constop %cst_0 = "tf.Const"() {__op_key = 1: i32, value = dense<""> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string> // CHECK-NEXT: [[NAME:%.*]] = tf_mlrt.constop
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
IntegerAttr group_key = rewriter.getI32IntegerAttr(0); auto const_group_size = rewriter.create<TF::ConstOp>( assign_group->getLoc(), assign_group.getResult(0).getType(), group_size); auto const_group_key = rewriter.create<TF::ConstOp>( assign_group->getLoc(), assign_group.getResult(1).getType(), group_key);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go
spdyServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { ctx, err := createSPDYServerStreams(w, req, Options{ Stdin: true, Stdout: true, }) if err != nil { t.Errorf("error on createHTTPStreams: %v", err) return } defer ctx.conn.Close() // Loopback STDIN data onto STDOUT stream.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 36.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/BUILD
# Code in this directory is intended to form the glue between the C API and the internal C++ # implementation by # 1. mapping C API calls onto correponding methods of C++ objects # 2. mapping opaque C types onto C++ classes # Note(bmzhao): The *.cc files in this directory form the direct implementation of the # C API functions exposed in tf/c/experimental/saved_model/public/.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 01 20:19:06 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
RankedTensorType::get(static_shape.size(), rewriter.getIntegerType(64)); auto static_shape_attr = mlir::DenseIntElementsAttr::get(static_shape_type, static_shape); return rewriter.create<TF::ConstOp>(loc, static_shape_attr).getOutput(); } // If the shape is not static, create a new ShapeOp. BoolAttr false_attr = rewriter.getBoolAttr(false); return rewriter .create<TF::ShapeOp>(loc, input,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
enablePodDisruptionConditions: true, }, { description: "scheduling onto tainted Node", prevPod: testutil.NewPod("pod1", ""), newPod: testutil.NewPod("pod1", "node1"), taintedNodes: map[string][]corev1.Taint{ "node1": {createNoExecuteTaint(1)}, }, expectDelete: true, }, { description: "scheduling onto tainted Node with toleration",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
if (fold_results.size() != 1 || !llvm::isa<TF::ConstOp>(fold_results[0].getDefiningOp())) { return absl::InternalError("Failed to evaluate TF ops"); } // Convert output tensor back to xla::Literal. tensorflow::Tensor tensor; TF_RETURN_IF_ERROR(tensorflow::ConvertToTensor( llvm::dyn_cast<TF::ConstOp>(fold_results[0].getDefiningOp()).getValue(), &tensor));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
if (!tensor_attr_or.ok()) return nullptr; return tensor_attr_or.value(); } // Creates a constant op that holds 'tensor_elements'. TF::ConstOp GetConstOpFromElementsAttr(ElementsAttr tensor_elements, OpBuilder builder, Location loc) { return builder.create<TF::ConstOp>(loc, tensor_elements); } // Returns ElementsAttr which has the value held by 'resource_tensor'. ElementsAttr GetTensorValueAsElementsAttr(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0)