Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for type_attr (0.4 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            attr_type, attr_def.name, attr_def.type)
      else:
        attr_names = []
        if arg_def.number_attr:
          attr_names.append(arg_def.number_attr)
        if arg_def.type_attr:
          attr_names.append(arg_def.type_attr)
        if arg_def.type_list_attr:
          attr_names.append(arg_def.type_list_attr)
    
        # TODO(fengliuai): currently we don't support backward type inference, so we
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        for (auto type_and_name :
             llvm::zip(intermediate_types, kIntermediateNames)) {
          mlir::TypeAttr type_attr =
              mlir::TypeAttr::get(std::get<0>(type_and_name));
          auto named_attr =
              builder.getNamedAttr(std::get<1>(type_and_name), type_attr);
          op_state.addAttribute(named_attr.getName(), named_attr.getValue());
        }
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    				if(!obj || obj === -1) { obj = this.get_container().find("> ul > li"); }
    				li_attr = $.isArray(li_attr) ? li_attr : [ "id", "class" ];
    				if(!is_callback && this.data.types) { li_attr.push(s.types.type_attr); }
    				a_attr = $.isArray(a_attr) ? a_attr : [ ];
    
    				obj.each(function () {
    					li = $(this);
    					tmp1 = { data : [] };
    					if(li_attr.length) { tmp1.attr = { }; }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K 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. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      for (auto& it : hoister.GetResources()) {
        BlockArgument arg = mlir::dyn_cast<BlockArgument>(it.first);
        assert(arg && "Expect resources for FuncOp to be its arguments");
        auto type_iter = resource_data_types.find(arg.getArgNumber());
        if (type_iter == resource_data_types.end()) {
          // Skip lifting the resource if it's not present in the data type map.
          // This indicates that the resource is not to be lifted because it is used
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        BoolAttr true_attr = rewriter.getBoolAttr(true);
        auto shape = rewriter.create<TF::ShapeOp>(loc, input_handle,
                                                  /*use_32bit=*/true_attr);
        rewriter.replaceOpWithNewOp<TF::GatherOp>(
            op, op.getType(), shape, CreateI32SplatConst(loc, &rewriter, {}, 0),
            /*validate_indices=*/true_attr);
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/obj.go

    // requires relocation.
    func markRelocs(p *obj.Prog) {
    	switch p.As {
    	case AMOV, AMOVB, AMOVH, AMOVW, AMOVBU, AMOVHU, AMOVWU, AMOVF, AMOVD:
    		switch {
    		case p.From.Type == obj.TYPE_ADDR && p.To.Type == obj.TYPE_REG:
    			switch p.From.Name {
    			case obj.NAME_EXTERN, obj.NAME_STATIC:
    				p.Mark |= NEED_PCREL_ITYPE_RELOC
    			}
    		case p.From.Type == obj.TYPE_MEM && p.To.Type == obj.TYPE_REG:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/asm0.go

    				return C_SOREG
    			}
    			return C_LOREG
    		}
    
    		return C_GOK
    
    	case obj.TYPE_TEXTSIZE:
    		return C_TEXTSIZE
    
    	case obj.TYPE_CONST,
    		obj.TYPE_ADDR:
    		switch a.Name {
    		case obj.NAME_NONE:
    			c.instoffset = a.Offset
    			if a.Reg != obj.REG_NONE {
    				if -BIG <= c.instoffset && c.instoffset <= BIG {
    					return C_SACON
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/asm.go

    			}
    			return C_LOREG
    
    		case obj.NAME_GOTREF:
    			return C_GOTADDR
    		}
    
    		return C_GOK
    
    	case obj.TYPE_TEXTSIZE:
    		return C_TEXTSIZE
    
    	case obj.TYPE_CONST,
    		obj.TYPE_ADDR:
    		switch a.Name {
    		case obj.NAME_NONE:
    			c.instoffset = a.Offset
    			if a.Reg != 0 {
    				if -BIG <= c.instoffset && c.instoffset <= BIG {
    					return C_SACON
    				}
    				if isint32(c.instoffset) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm/asm5.go

    			return C_ZFCON
    		}
    		if c.chipfloat5(a.Val.(float64)) >= 0 {
    			return C_SFCON
    		}
    		return C_LFCON
    
    	case obj.TYPE_TEXTSIZE:
    		return C_TEXTSIZE
    
    	case obj.TYPE_CONST,
    		obj.TYPE_ADDR:
    		switch a.Name {
    		case obj.NAME_NONE:
    			c.instoffset = a.Offset
    			if a.Reg != 0 {
    				return c.aconsize()
    			}
    
    			if immrot(uint32(c.instoffset)) != 0 {
    				return C_RCON
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
Back to top