Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for type_attr (0.14 sec)

  1. src/cmd/compile/internal/x86/ssa.go

    		opregreg(s, v.Op.Asm(), v.Reg(), v.Args[0].Reg())
    	case ssa.Op386DUFFZERO:
    		p := s.Prog(obj.ADUFFZERO)
    		p.To.Type = obj.TYPE_ADDR
    		p.To.Sym = ir.Syms.Duffzero
    		p.To.Offset = v.AuxInt
    	case ssa.Op386DUFFCOPY:
    		p := s.Prog(obj.ADUFFCOPY)
    		p.To.Type = obj.TYPE_ADDR
    		p.To.Sym = ir.Syms.Duffcopy
    		p.To.Offset = v.AuxInt
    
    	case ssa.OpCopy: // TODO: use MOVLreg for reg->reg copies instead of OpCopy?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

          // Here TArgs types do not include types of the first two parameters,
          // i.e. the convolution input and the filter. TArgs are parameters for
          // the extras like the bias etc.
          auto attr = TypeAttr::get(getElementTypeOrSelf(contraction.getType()));
          SmallVector<Attribute, 4> targs_values(operands.size() - 2, attr);
    
          ArrayAttr targs_attr = ArrayAttr::get(context, targs_values);
          attrs.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/ppc64/ssa.go

    			if v.AuxInt != 0 || v.Args[0].Reg() != v.Reg() {
    				p := s.Prog(ppc64.AMOVD)
    				p.From.Type = obj.TYPE_ADDR
    				p.From.Reg = v.Args[0].Reg()
    				p.From.Offset = v.AuxInt
    				p.To.Type = obj.TYPE_REG
    				p.To.Reg = v.Reg()
    			}
    
    		case *obj.LSym, ir.Node:
    			p := s.Prog(ppc64.AMOVD)
    			p.From.Type = obj.TYPE_ADDR
    			p.From.Reg = v.Args[0].Reg()
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = v.Reg()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      // Reshape for dynamic shaped operands. The result shape is
      // [lhs_batch_dimensions, lhs_out_dimensions, rhs_out_dimensions].
      BoolAttr true_attr = rewriter.getBoolAttr(true);
      auto lhs_shape = rewriter.create<TF::ShapeOp>(loc, lhs, true_attr);
      auto rhs_shape = rewriter.create<TF::ShapeOp>(loc, rhs, true_attr);
      llvm::SmallVector<int64_t, 4> lhs_batch_and_out =
          Concat<int64_t>(lhs_dot_dimensions_info.batch_dimensions().AxesArray(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      if (node.IsArg()) {
        if (dtype == DT_RESOURCE) {
          const AttrValue* dtype_attr = node.attrs().Find("_handle_dtypes");
          const AttrValue* shape_attr = node.attrs().Find("_handle_shapes");
          if (dtype_attr && shape_attr) {
            if (dtype_attr->list().type().empty()) {
              return errors::InvalidArgument(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top