- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 395 for Cond (0.05 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices_test.go
expectResourceDeviceInstances(t, resp, expected) cond = map[string]sets.Set[string]{ "foo": sets.New[string]("dev-foo1", "dev-foo2"), "bar": sets.New[string]("dev-bar1"), } resp = devs.Filter(cond) expected = `{"bar":{"dev-bar1":{"ID":"bar1"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"}}}` expectResourceDeviceInstances(t, resp, expected) cond = map[string]sets.Set[string]{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
// Value variables in the s-expression rr.Match and the Go expression rr.Cond. func varCount(rr *RuleRewrite) map[string]int { cnt := map[string]int{} varCount1(rr.Loc, rr.Match, cnt) if rr.Cond != "" { expr, err := parser.ParseExpr(rr.Cond) if err != nil { log.Fatalf("%s: failed to parse cond %q: %v", rr.Loc, rr.Cond, err) } ast.Inspect(expr, func(n ast.Node) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/embedding_pipelining.mlir
%cst_main = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32> %0 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) // expected-error @+1 {{'tf.While' op multiple users of function.}} %1 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 33.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/convert-tf-control-flow-to-scf.mlir
}) {is_stateless = false} : (tensor<i1>) -> (tensor<*xf32>, tensor<4xf32>) func.return %res#0, %res#1 : tensor<*xf32>, tensor<4xf32> // CHECK-NEXT: %[[COND:.*]] = tensor.extract %[[ARG0]][] : tensor<i1> // CHECK-NEXT: %[[RES:.*]]:2 = scf.if %[[COND]] -> (tensor<*xf32>, tensor<4xf32>) { // CHECK-NEXT: %[[CALL:.*]] = func.call @test_if_then1(%[[ARG1]]) : (tensor<4xf32>) -> tensor<4xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
} } void CreateLoop(const ops::CondGraphBuilderFn& cond, const ops::BodyGraphBuilderFn& body, error::Code error_code = error::OK, const string& error_msg = "") { Status s = ops::BuildWhileLoop(scope_, inputs_, cond, body, kFrameName, &outputs_); EXPECT_EQ(s.code(), error_code); EXPECT_EQ(s.message(), error_msg); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/while_op.mlir
%1 = "tf.While"(%0) {body = @while_body_with_cluster_attr, cond = @while_cond_with_cluster_attr, is_stateless = false, name = "A", parallel_iterations = 10 : i64} : (tensor<i32>) -> tensor<i32> %2 = "tf.While"(%0) {body = @while_body_without_cluster_attr, cond = @while_cond_with_cluster_attr, is_stateless = false, name = "C", parallel_iterations = 10 : i64} : (tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 04 03:54:58 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS64.go
// match: (GTZ (MOVVconst [c]) yes no) // cond: c <= 0 // result: (First no yes) for b.Controls[0].Op == OpMIPS64MOVVconst { v_0 := b.Controls[0] c := auxIntToInt64(v_0.AuxInt) if !(c <= 0) { break } b.Reset(BlockFirst) b.swapSuccessors() return true } case BlockIf: // match: (If cond yes no) // result: (NE cond yes no) for { cond := b.Controls[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 03:59:48 UTC 2023 - 211.6K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
EXPECT_GE(outputs_[0].index, 0); EXPECT_TRUE(outputs_[1].oper != nullptr); EXPECT_GE(outputs_[1].index, 0); // Check that cond and body inputs are not present for (int i = 0; i < params_->ninputs; ++i) { string cond_name = ::tensorflow::strings::StrCat(params_->name, "/cond/cond_input", i); string body_name = ::tensorflow::strings::StrCat(params_->name, "/body/body_input", i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_reduce_dataset.mlir
// CHECK-SAME: output_shapes = [#tf_type.shape<32>] // CHECK-SAME: output_types = [f32] // CHECK-NEXT: "tf.MakeIterator"(%[[ARG_0]], %[[ANON_ITER]]) // CHECK-NEXT: %[[COND:.*]] = "tf.Const" // CHECK-NEXT: "tf.WhileRegion"(%[[COND]], %[[ARG_1]]) // CHECK-NEXT: ^bb0(%[[ARG_2:.*]]: tensor<i1>, %[[ARG_3:.*]]: tensor<i64>) // CHECK-NEXT: "tf.Yield"(%[[ARG_2]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 18 17:16:34 UTC 2022 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc
return success(); } // Extract the constant cond value. DenseElementsAttr cond; if (!matchPattern(op.getCond(), m_Constant(&cond))) return failure(); // TODO(hinsu): Handle constants that are not scalar booleans. auto cond_type = mlir::dyn_cast<RankedTensorType>(cond.getType()); if (!cond_type || !cond_type.getShape().equals({}) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0)