- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 126 for Cond (1.17 sec)
-
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
// 3. no call func inside while. bool ReduceWhileOperands(TFL::WhileOp while_op) { std::vector<uint64_t> explicitly_consumed_ids; Block &cond = while_op.getCond().front(); Block &body = while_op.getBody().front(); auto n = while_op.getNumOperands(); if (!AllOperationSafe(cond) || !AllOperationSafe(body)) return false; // Find all Consumed indices. // i is consumed element if result(i) is used outside whileOp or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
}]; let arguments = (ins TFTensorType:$cond, Variadic<TFTensorType>:$arguments, FlatSymbolRefAttr:$body_fn, I32Attr:$invariant_size); let results = (outs Variadic<MlrtFutureType>); let assemblyFormat = [{ $body_fn `(` $cond `,` $arguments `)` attr-dict `:` `(` type($cond) `,` type($arguments) `)` `->` `(` type(results) `)` }]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go
// observed from a watch. type watchCache struct { sync.RWMutex // Condition on which lists are waiting for the fresh enough // resource version. cond *sync.Cond // Maximum size of history window. capacity int // upper bound of capacity since event cache has a dynamic size. upperBoundCapacity int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 10:20:57 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-cfg.mlir
func.func @testWhile2Result(tensor<*xf32>, tensor<*xf32>) -> (tensor<*xf32>, tensor<*xf32>) { ^bb0(%arg0: tensor<*xf32>, %arg1: tensor<*xf32>): %1:2 = "tf.While"(%arg0, %arg1) { cond = @testWhile2Cond, body = @testWhile2Body, is_stateless = false } : (tensor<*xf32>, tensor<*xf32>) -> (tensor<*xf32>, tensor<*xf32>) // CHECK: cf.br ^bb1(%arg0, %arg1 : tensor<*xf32>, tensor<*xf32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
Output cond = ops::Const(s.WithOpName("const0"), true, {2}); Output input = ops::Const(s.WithOpName("const1"), 1, {2}); NameAttrList true_fn; true_fn.set_name("true_fn"); NameAttrList false_fn; false_fn.set_name("false_fn"); auto if_op = ops::If(s.WithOpName("if"), cond, std::initializer_list<Input>{cond, input}, {DT_INT32},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 41K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc
} TEST(CallGraphUtilTest, GetCallees) { const char *const code = R"mlir( func.func @entry_func(%arg0: tensor<i32>) -> tensor<i32> attributes {tf_saved_model.initializer_type = ""} { %0 = "tf.While"(%arg0) {cond = @while_cond_func, body = @while_body_func, is_stateless = true} : (tensor<i32>) -> (tensor<i32>) func.return %0 : tensor<i32> } func.func @while_cond_func(%arg0: tensor<i32>) -> tensor<i1> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
} def LegalizeSelect : Pat<(TF_SelectOp $cond, $x, $y), (TFL_SelectOp $cond, $x, $y)>; def LegalizeSelectV2SameStaticShape : Pat<(TF_SelectV2Op:$src_op $cond, $x, $y), (TFL_SelectOp $cond, $x, $y), [(OpHasSameStaticShapes $src_op)]>; def LegalizeSelectV2NotSameStaticShape : Pat< (TF_SelectV2Op:$src_op $cond, $x, $y), (TFL_SelectV2Op $cond, $x, $y), [(OpHasNotSameStaticShapes $src_op)]>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
nif := ir.NewIfStmt(base.Pos, nil, nil, nil) nif.Cond = ir.NewBinaryExpr(base.Pos, ir.ONE, typecheck.Conv(typecheck.Conv(len64, types.Types[types.TINT]), lenType), len64) nif.Body.Append(mkcall("panicunsafeslicelen", nil, &nif.Body)) appendWalkStmt(init, nif) } // if len < 0 { panicunsafeslicelen() } nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
auto cond = Const<bool>(scope_, {{false, true, true}}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)); auto y = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)); auto z = SelectV2(scope_, cond, x, y); RunTest({x, y}, {shape, shape}, {z}, {shape}); } TEST_F(NaryGradTest, SelectV2_Broadcast) { TensorShape x_shape({2, 3}); TensorShape y_shape({});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0)