Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for cond_a (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/go/scriptconds_test.go

    	"strings"
    	"sync"
    )
    
    func scriptConditions() map[string]script.Cond {
    	conds := scripttest.DefaultConds()
    
    	add := func(name string, cond script.Cond) {
    		if _, ok := conds[name]; ok {
    			panic(fmt.Sprintf("condition %q is already registered", name))
    		}
    		conds[name] = cond
    	}
    
    	lazyBool := func(summary string, f func() bool) script.Cond {
    		return script.OnceCondition(summary, func() (bool, error) { return f(), nil })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. chainable_api.go

    func (db *DB) Clauses(conds ...clause.Expression) (tx *DB) {
    	tx = db.getInstance()
    	var whereConds []interface{}
    
    	for _, cond := range conds {
    		if c, ok := cond.(clause.Interface); ok {
    			tx.Statement.AddClause(c)
    		} else if optimizer, ok := cond.(StatementModifier); ok {
    			optimizer.ModifyStatement(tx.Statement)
    		} else {
    			whereConds = append(whereConds, cond)
    		}
    	}
    
    	if len(whereConds) > 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conditions.go

    		// for more information
    		if cond.error != nil {
    			existingConditions = setter(existingConditions, metav1.Condition{
    				Type:               k,
    				Status:             kstatus.InvertStatus(cond.status),
    				ObservedGeneration: generation,
    				LastTransitionTime: metav1.Now(),
    				Reason:             cond.error.Reason,
    				Message:            cond.error.Message,
    			})
    		} else {
    			status := cond.status
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top