Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for variadicOk (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            element_types.push_back(getElementTypeOrSelf(value.getType()));
          }
        }
    
        if constexpr (std::is_same<DstOpT, mhlo::CaseOp>::value) {
          // Explicitly handle the Case op because it has variadic regions and takes
          // the number of regions as an input along with the operands.
          mhlo_op = rewriter.create<DstOpT>(loc, op.getResultTypes(),
                                            adaptor.getBranchIndex(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	}
    	return s.newValue3(ssa.OpSliceMake, n.Type(), p, l, c)
    }
    
    // minMax converts an OMIN/OMAX builtin call into SSA.
    func (s *state) minMax(n *ir.CallExpr) *ssa.Value {
    	// The OMIN/OMAX builtin is variadic, but its semantics are
    	// equivalent to left-folding a binary min/max operation across the
    	// arguments list.
    	fold := func(op func(x, a *ssa.Value) *ssa.Value) *ssa.Value {
    		x := s.expr(n.Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top