Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 108 for Int8 (0.04 sec)

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

    		if v.LackingPos() {
    			continue
    		}
    		return false
    	}
    	return true
    }
    
    func (b *Block) AuxIntString() string {
    	switch b.Kind.AuxIntType() {
    	case "int8":
    		return fmt.Sprintf("%v", int8(b.AuxInt))
    	case "uint8":
    		return fmt.Sprintf("%v", uint8(b.AuxInt))
    	case "": // no aux int type
    		return ""
    	default: // type specified but not implemented - print as int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    // to the `output_buffer`. Both `model_buffer` and `output_buffer` should be a
    // valid FlatBuffer format for Model supported by TFLite.
    //
    // The `input_type`, `output_type` and `inference_type` can be float32 / qint8 /
    // int8 / int16.
    //
    // Returns a partially quantized model if `fully_quantize` is false. Returns a
    // non-OK status if the quantization fails.
    //
    // When `verify_numeric` is true, the model will have it's original float ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/crypto/sha1/sha1.go

    	}
    
    	nx := byte(d.nx)
    	t := nx - 56                 // if nx < 56 then the MSB of t is one
    	mask1b := byte(int8(t) >> 7) // mask1b is 0xFF iff one block is enough
    
    	separator := byte(0x80) // gets reset to 0x00 once used
    	for i := byte(0); i < chunk; i++ {
    		mask := byte(int8(i-nx) >> 7) // 0x00 after the end of data
    
    		// if we reached the end of the data, replace with 0x80 or 0x00
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

          return DT_QUINT8;
        case toco::IODataType::QUANTIZED_INT8:
          return DT_QINT8;
        case toco::IODataType::QUANTIZED_INT16:
          return DT_QINT16;
        case toco::IODataType::INT8:
          return DT_INT8;
        case toco::IODataType::INT16:
          return DT_INT16;
        case toco::IODataType::UINT16:
          return DT_UINT16;
        case toco::IODataType::INT32:
          return DT_INT32;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/math/rand/rand.go

    	// It is saved so next Read call can start where the previous
    	// one finished.
    	readVal int64
    	// readPos indicates the number of low-order bytes of readVal
    	// that are still valid.
    	readPos int8
    }
    
    // New returns a new [Rand] that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	s64, _ := src.(Source64)
    	return &Rand{src: src, s64: s64}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. src/database/sql/convert.go

    			return nil
    		}
    	}
    
    	var sv reflect.Value
    
    	switch d := dest.(type) {
    	case *string:
    		sv = reflect.ValueOf(src)
    		switch sv.Kind() {
    		case reflect.Bool,
    			reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,
    			reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64,
    			reflect.Float32, reflect.Float64:
    			*d = asString(src)
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/encoding/gob/type.go

    	externalEnc int          // xGob, xBinary, or xText
    	externalDec int          // xGob, xBinary, or xText
    	encIndir    int8         // number of indirections to reach the receiver type; may be negative
    	decIndir    int8         // number of indirections to reach the receiver type; may be negative
    }
    
    // externalEncoding bits
    const (
    	xGob    = 1 + iota // GobEncoder or GobDecoder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	return int32(sh<<16 | mb<<8 | me)
    }
    
    func GetPPC64Shiftsh(auxint int64) int64 {
    	return int64(int8(auxint >> 16))
    }
    
    func GetPPC64Shiftmb(auxint int64) int64 {
    	return int64(int8(auxint >> 8))
    }
    
    func GetPPC64Shiftme(auxint int64) int64 {
    	return int64(int8(auxint))
    }
    
    // Test if this value can encoded as a mask for a rlwinm like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. test/codegen/bits.go

    func signextendAndMask8to64(a int8) (s, z uint64) {
    	// ppc64x: "MOVB", "ANDCC\t[$]1015,"
    	s = uint64(a) & 0x3F7
    	// ppc64x: -"MOVB", "ANDCC\t[$]247,"
    	z = uint64(uint8(a)) & 0x3F7
    	return
    }
    
    // Verify zero-extended values are not sign-extended under a bit mask (#61297)
    func zeroextendAndMask8to64(a int8, b int16) (x, y uint64) {
    	// ppc64x: -"MOVB\t", -"ANDCC", "MOVBZ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/generic.rules

      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    (StaticLECall {callAux} (Addr {scon} (SB)) sptr (Const64 [1]) mem)
      && isSameCall(callAux, "runtime.memequal")
      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
Back to top