- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 212 for cond_a (0.17 sec)
-
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
Output cond_a = ops::Placeholder(root.WithOpName("cond_a"), DT_BOOL); Output cond_b = ops::Placeholder(root.WithOpName("cond_b"), DT_BOOL); Output value = ops::Placeholder(root.WithOpName("value"), DT_FLOAT); ops::Switch switch_a(root.WithOpName("switch_a"), value, cond_a); ops::Switch switch_b(root.WithOpName("switch_b"), value, cond_b);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td
def LiftConvWithBiasDynamic : Pat< (StableHLO_AddOp:$res (StableHLO_ConvolutionOp:$conv_0 $lhs, $rhs, $window_strides, $padding, $lhs_dilation, $rhs_dilation, $window_reversal, $dimension_numbers, $feature_group_count, $batch_group_count, $precision_config), (StableHLO_DynamicBroadcastInDimOp $bias, (Shape_ShapeOfOp $conv_1), $_, $_, $_)), (LiftAsTFXlaCallModule<"composite_conv_with_bias_dynamic_fn">
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
"{(*iv_outer/cond_1:0 & " "{#true,&,*iv_outer/cond_1:0}<outer_loop>),&,*iv_inner/" "cond_1:0}<inner_loop;outer_loop>"); EXPECT_EQ(predicate_map[ControlOutputFor(add0)], "({(*iv_outer/cond:0 & " "{#true,&,*iv_outer/cond:0}<outer_loop>),&,*iv_inner/" "cond:0}<inner_loop;outer_loop> & {(*iv_outer/cond_1:0 & "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc
Operation* op_inst = op.getOperation(); Location loc = op_inst->getLoc(); OpBuilder builder(op_inst); // Lower the condition to a boolean value (i1). Value cond_i1 = LowerCondition(loc, op.getCond(), &builder); if (!cond_i1) return failure(); // Split the basic block before the 'if'. The new dest will be our merge // point. Block* orig_block = op_inst->getBlock();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 13 11:42:59 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/script/conds.go
// DefaultConds returns a set of broadly useful script conditions. // // Run the 'help' command within a script engine to view a list of the available // conditions. func DefaultConds() map[string]Cond { conds := make(map[string]Cond) conds["GOOS"] = PrefixCondition( "runtime.GOOS == <suffix>", func(_ *State, suffix string) (bool, error) { if suffix == runtime.GOOS { return true, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 5K bytes - Viewed (0) -
src/cmd/go/internal/script/engine.go
} else { b.WriteString(arg) } } return b.String() } func (e *Engine) conditionsActive(s *State, conds []condition) (bool, error) { for _, cond := range conds { var impl Cond prefix, suffix, ok := strings.Cut(cond.tag, ":") if ok { impl = e.Conds[prefix] if impl == nil { return false, fmt.Errorf("unknown condition prefix %q", prefix) } if !impl.Usage().Prefix {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0) -
tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc
auto ret1 = ops::_Retval(s.WithOpName("ret1"), if_op.output[1], 1); NameAttrList cond_fn, body_fn; cond_fn.set_name("f3"); body_fn.set_name("f2"); auto while_op = ops::While(s.WithOpName("while"), std::initializer_list<Input>{arg0, arg1}, cond_fn, body_fn); auto ret2 = ops::_Retval(s.WithOpName("ret2"), while_op.output[0], 2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 10.5K bytes - Viewed (0) -
test/fixedbugs/issue9110.go
time.Sleep(1 * time.Millisecond) // pick up top sudog var cond1 sync.Cond var mu1 sync.Mutex cond1.L = &mu1 go func() { mu1.Lock() cond1.Wait() mu1.Unlock() }() time.Sleep(1 * time.Millisecond) // pick up next sudog var cond2 sync.Cond var mu2 sync.Mutex cond2.L = &mu2 go func() { mu2.Lock() cond2.Wait() mu2.Unlock() }() time.Sleep(1 * time.Millisecond)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.7K bytes - Viewed (0) -
src/sync/cond.go
// a call to [Cond.Broadcast] or [Cond.Signal] “synchronizes before” any Wait call // that it unblocks. // // For many simple use cases, users will be better off using channels than a // Cond (Broadcast corresponds to closing a channel, and Signal corresponds to // sending on a channel). // // For more on replacements for [sync.Cond], see [Roberto Clapis's series on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-cfg.mlir
^bb0: "tf.While"() { cond = @testWhile0Cond, body = @testWhile0Body, is_stateless = false } : () -> () // CHECK: cf.br ^bb1 // CHECK: ^bb1: // CHECK: [[CONTINUE:%.+]] = call @testWhile0Cond() : () -> tensor<i1> // CHECK: [[TOBOOL:%.+]] = "tf.ToBool"([[CONTINUE]]) : (tensor<i1>) -> tensor<i1> // CHECK: [[PRED:%.+]] = tensor.extract [[TOBOOL]][] : tensor<i1> // CHECK: cf.cond_br [[PRED]], ^bb2, ^bb3 // CHECK: ^bb2:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 12.3K bytes - Viewed (0)