Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for operands_ (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    };
    
    // Rewrites the given op to `OpT` op after adding the given operand at the end.
    template <typename OpT>
    OpT AddOperandAndRewriteAs(Operation* op, Value operand, NamedAttrList attr,
                               OpBuilder* builder) {
      builder->setInsertionPoint(op);
      auto operands = llvm::to_vector<4>(op->getOperands());
      operands.push_back(operand);
      auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/fmt/errors.go

    //
    // If the format specifier includes a %w verb with an error operand,
    // the returned error will implement an Unwrap method returning the operand.
    // If there is more than one %w verb, the returned error will implement an
    // Unwrap method returning a []error containing all the %w operands in the
    // order they appear in the arguments.
    // It is invalid to supply the %w verb with an operand that does not implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/math/big/floatexample_test.go

    	// 2
    	// 4
    	// 8
    	// 16
    }
    
    func ExampleFloat_Cmp() {
    	inf := math.Inf(1)
    	zero := 0.0
    
    	operands := []float64{-inf, -1.2, -zero, 0, +1.2, +inf}
    
    	fmt.Println("   x     y  cmp")
    	fmt.Println("---------------")
    	for _, x64 := range operands {
    		x := big.NewFloat(x64)
    		for _, y64 := range operands {
    			y := big.NewFloat(y64)
    			fmt.Printf("%4g  %4g  %3d\n", x, y, x.Cmp(y))
    		}
    		fmt.Println()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

          Operation* op, ArrayRef<Value> operands,
          ConversionPatternRewriter& rewriter) const override {
        // This pattern is a conversion pattern because we want to specify a type
        // converter. However, this pattern still uses the original op's operands
        // while creating the ops so make sure there aren't any type changes between
        // the original op operands and the operands during the conversion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/go/types/conversions.go

    			msg := check.sprintf(format, args...)
    			if *cause != "" {
    				msg += "\n\t" + *cause
    			}
    			*cause = msg
    		}
    	}
    
    	// generic cases with specific type terms
    	// (generic operands cannot be constants, so we can ignore x.val)
    	switch {
    	case Vp != nil && Tp != nil:
    		x := *x // don't clobber outer x
    		return Vp.is(func(V *term) bool {
    			if V == nil {
    				return false // no specific types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
        $producer_name is a string describing the name of the framework that added support for running this portion of the model on TPUs.
    
        Example:
          %rendezvous_key_base, %result = tf_mlrt_tpu.compile_and_execute (%operands) constant_operand_indices = [1, 3] metadata = "metadata..." mlir_module = "mlir_module..."
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // within its purview are mutating in nature.
      void PropagatePotentiallyWrittenWithinUnhandledOp(Operation* op);
    
      // Given a Region associated with the callee and operands from the
      // corresponding callOp, propagate the potentially written decision to the
      // callOp's operands, if the corresponding region's arguments are potentially
      // written resources.
      void PropagatePotentiallyWrittenUpFromCallee(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/conversions.go

    			msg := check.sprintf(format, args...)
    			if *cause != "" {
    				msg += "\n\t" + *cause
    			}
    			*cause = msg
    		}
    	}
    
    	// generic cases with specific type terms
    	// (generic operands cannot be constants, so we can ignore x.val)
    	switch {
    	case Vp != nil && Tp != nil:
    		x := *x // don't clobber outer x
    		return Vp.is(func(V *term) bool {
    			if V == nil {
    				return false // no specific types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCompoundAccess.kt

            operationPartiallyAppliedSymbol: KaPartiallyAppliedFunctionSymbol<KaFunctionSymbol>,
            kind: Kind,
            operand: KtExpression,
        ) : KaCompoundAccess(operationPartiallyAppliedSymbol) {
            public val kind: Kind by validityAsserted(kind)
            public val operand: KtExpression by validityAsserted(operand)
    
            public enum class Kind {
                PLUS_ASSIGN, MINUS_ASSIGN, TIMES_ASSIGN, DIV_ASSIGN, REM_ASSIGN
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/format.go

    )
    
    func sprintf(qf Qualifier, tpSubscripts bool, format string, args ...any) string {
    	for i, arg := range args {
    		switch a := arg.(type) {
    		case nil:
    			arg = "<nil>"
    		case operand:
    			panic("got operand instead of *operand")
    		case *operand:
    			arg = operandString(a, qf)
    		case syntax.Pos:
    			arg = a.String()
    		case syntax.Expr:
    			arg = ExprString(a)
    		case []syntax.Expr:
    			var buf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top