Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for operands_ (0.31 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

        // we have separate ops for them. If only one of them is used then the other
        // one will be garbage collected later.
        if (!mlir::isa<ShapedType>(operand.getType())) return failure();
        auto operand_type = mlir::cast<ShapedType>(operand.getType());
        if (operand_type.getElementType().isInteger(1)) {
          // TF does not support min or max on boolean (int1) arguments.
          // Use AnyOp for MaxOp and AllOp for MinOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/go/types/format.go

    func sprintf(fset *token.FileSet, 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 token.Pos:
    			if fset != nil {
    				arg = fset.Position(a).String()
    			}
    		case ast.Expr:
    			arg = ExprString(a)
    		case []ast.Expr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

          old_launch_op->GetBody().getTerminator()->getOperands().end());
    
      for (Value operand : tpu_copy_with_dynamic_shape_op->getOperands()) {
        if (GetOpOfValue(operand)->getParentRegion() ==
            tpu_copy_with_dynamic_shape_op->getParentRegion()) {
          new_launch_op_results.insert(operand);
        }
      }
    
      for (Value result : tpu_copy_with_dynamic_shape_op->getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

                                    OpBuilder &rewriter) const {
        if (tf_op.getNumBits() != 8) {
          return failure();
        }
    
        // Extract the min/max constant values from the operands. We also consider
        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
        FetchAttrType min_value, max_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.h

    // any computations but just move data and has one result operand.
    bool IsOpWithDataMovementTrait(Operation* op);
    
    // Check if the op is quantizable. Currently, the scope of quantizable op is
    // limited to compute intense operations and the ops that supports integer
    // operands.
    bool IsOpWithQuantizableTrait(Operation* op);
    
    // Check if the op's operand accepts int8 type.
    bool IsOpWithInt8TypeOperand(Operation* op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

        auto res = tf_op.getOutputs();
        if (!res.hasOneUse() || isa<quantfork::QuantizeCastOp>(*res.user_begin()))
          return failure();
    
        // Extract the min/max constant values from the operands. We also consider
        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
        Value min = tf_op.getMin(), max = tf_op.getMax();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

        auto res = tf_op.getOutputs();
        if (!res.hasOneUse() || isa<QuantizeOp>(*res.user_begin())) {
          return failure();
        }
    
        // Extract the min/max constant values from the operands. We also consider
        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
    
        FetchAttrType min_value, max_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

              for (int i = 0; i < branchOp->getNumSuccessors(); i++) {
                if (branchOp->getSuccessor(i) != blockArg.getOwner()) continue;
                SuccessorOperands operands = branchOp.getSuccessorOperands(i);
                BlockArgument arg;
                if (traceUpwardsToArgument(operands[blockArg.getArgNumber()], seen,
                                           &arg)
                        .succeeded()) {
                  options.insert(arg);
                }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top