Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for type_attr (0.32 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        // Const op can have a result of dynamic shaped type (e.g. due to constant
        // folding), but we can still derive the shape of a constant tensor for
        // its attribute type.
        auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value"));
        llvm::ArrayRef<int64_t> shape_ref =
            mlir::cast<TensorType>(tensor_attr.getType()).getShape();
        if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm9.go

    		if f64 == 0 {
    			if math.Signbit(f64) {
    				return C_S16CON
    			}
    			return C_ZCON
    		}
    		log.Fatalf("Unexpected nonzero FCONST operand %v", a)
    
    	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 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/s390x/asmz.go

    	case obj.TYPE_FCONST:
    		if f64, ok := a.Val.(float64); ok && math.Float64bits(f64) == 0 {
    			return C_ZCON
    		}
    		c.ctxt.Diag("cannot handle the floating point constant %v", a.Val)
    
    	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: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/asm7.go

    			return oregclass(c.instoffset)
    		}
    		return C_GOK
    
    	case obj.TYPE_FCONST:
    		return C_FCON
    
    	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 && a.Reg != REGZERO {
    				break
    			}
    			v := c.instoffset
    			if v == 0 {
    				return C_ZCON
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top