Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for setSlot (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      Block& entry = entry_func_op->getRegion(0).front();
      for (auto [arg, arg_type, arg_loc] :
           llvm::zip_equal(entry.getArguments(), arg_types, arg_locs)) {
        arg.setType(arg_type);
        arg.setLoc(arg_loc);
      }
    }
    
    // Creates a UniformQuantize op and sets it as return op.
    // The requantize scale and zero point should be determined from the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. src/text/template/exec.go

    	panic("not reached")
    }
    
    func (s *state) evalFloat(typ reflect.Type, n parse.Node) reflect.Value {
    	s.at(n)
    	if n, ok := n.(*parse.NumberNode); ok && n.IsFloat {
    		value := reflect.New(typ).Elem()
    		value.SetFloat(n.Float64)
    		return value
    	}
    	s.errorf("expected float; found %s", n)
    	panic("not reached")
    }
    
    func (s *state) evalComplex(typ reflect.Type, n parse.Node) reflect.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/encoding/json/decode.go

    			if err != nil || v.OverflowFloat(n) {
    				d.saveError(&UnmarshalTypeError{Value: "number " + string(item), Type: v.Type(), Offset: int64(d.readIndex())})
    				break
    			}
    			v.SetFloat(n)
    		}
    	}
    	return nil
    }
    
    // The xxxInterface routines build up a value to be stored
    // in an empty interface. They are not strictly necessary,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. src/fmt/scan.go

    			for i := 0; i < len(str); i++ {
    				v.Index(i).SetUint(uint64(str[i]))
    			}
    		case reflect.Float32, reflect.Float64:
    			s.SkipSpace()
    			s.notEOF()
    			v.SetFloat(s.convertFloat(s.floatToken(), v.Type().Bits()))
    		case reflect.Complex64, reflect.Complex128:
    			v.SetComplex(s.scanComplex(verb, v.Type().Bits()))
    		default:
    			s.errorString("can't scan type: " + val.Type().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "SETNE", argLength: 1, reg: readflags, asm: "SETNE"}, // extract != condition from arg0
    		{name: "SETL", argLength: 1, reg: readflags, asm: "SETLT"},  // extract signed < condition from arg0
    		{name: "SETLE", argLength: 1, reg: readflags, asm: "SETLE"}, // extract signed <= condition from arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  6. src/runtime/asm_386.s

    #ifdef GOOS_windows
    	CALL	runtime·wintls(SB)
    #endif
    	// set up ldt 7 to point at m0.tls
    	// ldt 1 would be fine on Linux, but on OS X, 7 is as low as we can go.
    	// the entry number is just a hint.  setldt will set up GS with what it used.
    	MOVL	$7, 0(SP)
    	LEAL	runtime·m0+m_tls(SB), AX
    	MOVL	AX, 4(SP)
    	MOVL	$32, 8(SP)	// sizeof(tls array)
    	CALL	runtime·setldt(SB)
    	RET
    
    TEXT runtime·emptyfunc(SB),0,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top