Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 149 for Int8 (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/modify_io_nodes.mlir

    // RUN: tf-opt %s -tfl-modify-io-nodes="test-io-types=float32,float32" | FileCheck %s
    // RUN: tf-opt %s -tfl-modify-io-nodes="test-io-types=int8,int8" | FileCheck --check-prefix=INT8 %s
    // RUN: tf-opt %s -tfl-modify-io-nodes="test-io-types=uint8,uint8" | FileCheck --check-prefix=UINT8 %s
    
    func.func @modified(%arg0: tensor<1x224x224x3xf32>) -> tensor<1x401408xf32> attributes {tf.entry_function = {control_outputs = "", inputs = "input", outputs = "output"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

          if (current_type == input_type) {  // int8 == int8
            arg_type = quantize_output.getType();
            new_arg = block.addArgument(arg_type, loc);
            quantize_output.replaceAllUsesWith(new_arg);
          } else if (input_type.isUnsignedInteger(
                         current_type.getIntOrFloatBitWidth())) {  // int8 != uint8
            arg_type = quant::ConvertSignedQuantizedToUnsigned(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/encoding/binary/binary.go

    	d.offset += 8
    	return x
    }
    
    func (e *encoder) uint64(x uint64) {
    	e.order.PutUint64(e.buf[e.offset:e.offset+8], x)
    	e.offset += 8
    }
    
    func (d *decoder) int8() int8 { return int8(d.uint8()) }
    
    func (e *encoder) int8(x int8) { e.uint8(uint8(x)) }
    
    func (d *decoder) int16() int16 { return int16(d.uint16()) }
    
    func (e *encoder) int16(x int16) { e.uint16(uint16(x)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. test/codegen/shift.go

    	g := int16(v >> 48)
    	// ppc64x:".*MOVH"
    	g += int16(v >> 30)
    	// ppc64x:-".*MOVH"
    	g += int16(f >> 16)
    	// ppc64x:-".*MOVB"
    	h := int8(v >> 56)
    	// ppc64x:".*MOVB"
    	h += int8(v >> 28)
    	// ppc64x:-".*MOVB"
    	h += int8(f >> 24)
    	// ppc64x:".*MOVB"
    	h += int8(f >> 16)
    	return int64(h), uint64(g)
    }
    
    func checkShiftAndMask32(v []uint32) {
    	i := 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/crypto/internal/edwards25519/scalar.go

    		}
    
    		if window < width/2 {
    			carry = 0
    			naf[pos] = int8(window)
    		} else {
    			carry = 1
    			naf[pos] = int8(window) - int8(width)
    		}
    
    		pos += w
    	}
    	return naf
    }
    
    func (s *Scalar) signedRadix16() [64]int8 {
    	b := s.Bytes()
    	if b[31] > 127 {
    		panic("scalar has high bit set illegally")
    	}
    
    	var digits [64]int8
    
    	// Compute unsigned radix-16 digits:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/reflect/iter.go

    				return []Value{ValueOf(yield(in[0]))}
    			})
    			v.Call([]Value{rf})
    		}
    	}
    	switch v.Kind() {
    	case Int:
    		return rangeNum[int](v.Int())
    	case Int8:
    		return rangeNum[int8](v.Int())
    	case Int16:
    		return rangeNum[int16](v.Int())
    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int8
    			e int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int8; e int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. src/reflect/iter_test.go

    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) {
    			i := int8(0)
    			for v := range s {
    				if v.Interface().(int8) != i {
    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/encoding/binary/binary_test.go

    // license that can be found in the LICENSE file.
    
    package binary
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math"
    	"reflect"
    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    type Struct struct {
    	Int8       int8
    	Int16      int16
    	Int32      int32
    	Int64      int64
    	Uint8      uint8
    	Uint16     uint16
    	Uint32     uint32
    	Uint64     uint64
    	Float32    float32
    	Float64    float64
    	Complex64  complex64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizeDRQPass)
    
      // Constructor used by the PassRegistration and enforce int8 quantization.
      // This is only used by test.
      explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top