Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 395 for Cond (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/replicate_tensor_list_init_ops.mlir

      %while:1 = "tf.WhileRegion"(%tl) ({
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
          %cond = "tf.false"():()-> tensor<i1>
          "tf.Yield"(%cond) : (tensor<i1>) -> ()
      }, {
        ^bb0(%barg1: tensor<!tf_type.variant<tensor<?x1xf32>>>): // no predeceessors
        "tf.Yield"(%barg1) : (tensor<!tf_type.variant<tensor<?x1xf32>>>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 22 17:28:34 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64.go

    	typ := &b.Func.Config.Types
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpPPC64MOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && t.IsSigned()
    	// result: (MOVWload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (CondSelect <t> x y cond)
    	// result: (OR (MASKEQZ <t> x cond) (MASKNEZ <t> y cond))
    	for {
    		t := v.Type
    		x := v_0
    		y := v_1
    		cond := v_2
    		v.reset(OpLOONG64OR)
    		v0 := b.NewValue0(v.Pos, OpLOONG64MASKEQZ, t)
    		v0.AddArg2(x, cond)
    		v1 := b.NewValue0(v.Pos, OpLOONG64MASKNEZ, t)
    		v1.AddArg2(y, cond)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

      // CHECK: [[Result:%.*]]:2 = "tf.While"(%arg0, %arg1) <{body = @while_body, cond = @while_cond
      %0:2 = "tf.WhileRegion"(%arg0, %arg1) (
        {
          ^bb0(%carg0: tensor<*xf32>, %carg1: tensor<i32>):
            %cond = func.call @while_cond(%carg0, %carg1) : (tensor<*xf32>, tensor<i32>) -> tensor<i1>
            "tf.Yield"(%cond) : (tensor<i1>) -> ()
        },
        {
          // loop body
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

      func.return %1 : tensor<i32>
    }
    
    // CHECK-LABEL: func @cond(%arg0: !tfrt.chain, %arg1: !tfrt_fallback.tf_tensor, %arg2: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor)
    func.func @cond(%arg0: tensor<i1>, %arg1: tensor<i32>) -> tensor<i32> {
      // CHECK: [[cond:%.*]] = tfrt_fallback_async.predicate
      // CHECK: [[cond_res:%.*]]:2 = tfrt.cond [[cond]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/engine.go

    			}
    		} else {
    			impl = e.Conds[cond.tag]
    			if impl == nil {
    				return false, fmt.Errorf("unknown condition %q", cond.tag)
    			}
    			if impl.Usage().Prefix {
    				return false, fmt.Errorf("condition %q requires a suffix", cond.tag)
    			}
    		}
    		active, err := impl.Eval(s, suffix)
    
    		if err != nil {
    			return false, fmt.Errorf("evaluating condition %q: %w", cond.tag, err)
    		}
    		if active != cond.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  7. tensorflow/cc/ops/while_loop.h

    #include <string>
    #include <vector>
    
    #include "tensorflow/cc/framework/ops.h"
    #include "tensorflow/cc/framework/scope.h"
    
    namespace tensorflow {
    namespace ops {
    
    // Function that takes cond graph inputs and returns cond graph boolean output.
    // 'output' need not be set if an error is returned.
    typedef std::function<Status(const Scope&, const std::vector<Output>& inputs,
                                 Output* output)>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 24 08:24:58 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller.go

    	if old != nil && old.Status == cond.Status && old.Reason == cond.Reason && old.Message == cond.Message {
    		// no need to update annotation because we took no action.
    		return nil
    	}
    
    	// update condition
    	crd := inCustomResourceDefinition.DeepCopy()
    	apihelpers.SetCRDCondition(crd, *cond)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/evex.go

    // ParseSuffix handles the special suffix for the 386/AMD64.
    // Suffix bits are stored into p.Scond.
    //
    // Leading "." in cond is ignored.
    func ParseSuffix(p *obj.Prog, cond string) error {
    	cond = strings.TrimPrefix(cond, ".")
    
    	suffix := newOpSuffix(cond)
    	if !suffix.IsValid() {
    		return inferSuffixError(cond)
    	}
    
    	p.Scond = uint8(suffix)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	return false
    }
    func rewriteValueAMD64splitload_OpAMD64CMPBconstload(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    	// cond: vo.Val() == 0
    	// result: (TESTB x:(MOVBload {sym} [vo.Off()] ptr mem) x)
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
Back to top