Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for type_attr (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

            auto min_max = GetMinMaxValuesForArgument(func_name, i);
            // The input min/max or mean/std are not specified, then skip.
            if (!min_max.first.has_value() || !min_max.second.has_value()) return;
    
            TypeAttr params = quant::GetQuantizedTypeAttr(
                builder, input_type, builder.getF64FloatAttr(min_max.first.value()),
                builder.getF64FloatAttr(min_max.second.value()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/obj.go

    	// internally defined symbols.
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// MOVV $sym, Rx becomes MOVV sym@GOT, Rx
    		// MOVV $sym+<off>, Rx becomes MOVV sym@GOT, Rx; ADD <off>, Rx
    		if p.As != AMOVV {
    			ctxt.Diag("do not know how to handle TYPE_ADDR in %v with -shared", p)
    		}
    		if p.To.Type != obj.TYPE_REG {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

            auto min_max = GetMinMaxValuesForArgument(func_name, i);
            // The input min/max or mean/std are not specified, then skip.
            if (!min_max.first.has_value() || !min_max.second.has_value()) return;
    
            TypeAttr params = quant::GetQuantizedTypeAttr(
                builder, input_type, builder.getF64FloatAttr(min_max.first.value()),
                builder.getF64FloatAttr(min_max.second.value()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                res_types, res_attrs)))
          return failure();
    
        // Update the function type which has excluded the control args.
        func->setAttr("function_type", TypeAttr::get(rewriter.getFunctionType(
                                           arg_types, res_types)));
    
        // Update arg/result attributes.
        func.setAllArgAttrs(arg_attrs);
        func.setAllResultAttrs(res_attrs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) symbolReference(a *obj.Addr, name string, prefix rune) {
    	// Identifier is a name.
    	switch prefix {
    	case 0:
    		a.Type = obj.TYPE_MEM
    	case '$':
    		a.Type = obj.TYPE_ADDR
    	case '*':
    		a.Type = obj.TYPE_INDIR
    	}
    
    	// Parse optional <> (indicates a static symbol) or
    	// <ABIxxx> (selecting text symbol with specific ABI).
    	doIssueError := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/obj7.go

    	// internally defined symbols.
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// MOVD $sym, Rx becomes MOVD sym@GOT, Rx
    		// MOVD $sym+<off>, Rx becomes MOVD sym@GOT, Rx; ADD <off>, Rx
    		if p.As != AMOVD {
    			c.ctxt.Diag("do not know how to handle TYPE_ADDR in %v with -dynlink", p)
    		}
    		if p.To.Type != obj.TYPE_REG {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    	}
    	name := symbolName(&nameAddr)
    
    	// Operand 1 is an immediate constant or address.
    	valueAddr := p.address(operands[1])
    	switch valueAddr.Type {
    	case obj.TYPE_CONST, obj.TYPE_FCONST, obj.TYPE_SCONST, obj.TYPE_ADDR:
    		// OK
    	default:
    		p.errorf("DATA value must be an immediate constant or address")
    		return
    	}
    
    	// The addresses must not overlap. Easiest test: require monotonicity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

                                       mean_op.getAxis(), mean_op.getKeepDims());
    
      // Insert a requant op.
      rewriter.replaceOpWithNewOp<TFL::QuantizeOp>(
          mean_op, output_type, new_mean_op, mlir::TypeAttr::get(output_type));
      return success();
    }
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    //			reg = reg (REG_*)
    //			index = index (REG_*)
    //			scale = scale (1, 2, 4, 8)
    //
    //	$<mem>
    //		Effective address of memory reference <mem>, defined above.
    //		Encoding: same as memory reference, but type = TYPE_ADDR.
    //
    //	$<±integer value>
    //		This is a special case of $<mem>, in which only ±offset is present.
    //		It has a separate type for easy recognition.
    //		Encoding:
    //			type = TYPE_CONST
    //			offset = ±integer value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/util.go

    		// Make sure 1 prints as 1.0
    		if !strings.ContainsAny(str, ".e") {
    			str += ".0"
    		}
    		fmt.Fprintf(w, "$(%s)", str)
    
    	case TYPE_SCONST:
    		fmt.Fprintf(w, "$%q", a.Val.(string))
    
    	case TYPE_ADDR:
    		io.WriteString(w, "$")
    		a.writeNameTo(w, abiDetail)
    
    	case TYPE_SHIFT:
    		v := int(a.Offset)
    		ops := "<<>>->@>"
    		switch buildcfg.GOARCH {
    		case "arm":
    			op := ops[((v>>5)&3)<<1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top