Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for I16 (0.02 sec)

  1. src/runtime/map_test.go

    type structKey struct {
    }
    
    func (structKey) String() string {
    	return "structKey"
    }
    
    func TestEmptyMapWithInterfaceKey(t *testing.T) {
    	var (
    		b    bool
    		i    int
    		i8   int8
    		i16  int16
    		i32  int32
    		i64  int64
    		ui   uint
    		ui8  uint8
    		ui16 uint16
    		ui32 uint32
    		ui64 uint64
    		uipt uintptr
    		f32  float32
    		f64  float64
    		c64  complex64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. src/runtime/debuglog.go

    //go:nosplit
    func (l *dlogger) i(x int) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i8(x int8) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i16(x int16) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i32(x int32) *dlogger {
    	return l.i64(int64(x))
    }
    
    //go:nosplit
    func (l *dlogger) i64(x int64) *dlogger {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        200- : Python related translator internal types
      """
      TENSOR = 1
      TENSOR_LIST = 2
      ATTR = 3
      NONE = 4
      SHAPE = 5  # shape -> !shape.shape
      I1 = 21
      I8 = 22
      I16 = 23
      I32 = 24
      I64 = 25
      F32 = 26
      INDEX = 27
      AG_UNDEFINED_VAL = 100
      AG_BUILTIN_FUNC = 101
      TF_RAW_OP = 102
      TF_REGION = 103
      TF_TENSOR_SHAPE_FUNC = 104  # shape.as_list
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    def TF_Bool : AnyTypeOf<[I<1>, TF_BoolRef], "bool">;
    
    def TF_Int4 : AnyTypeOf<[SI<4>, TF_Int4Ref], "4-bit integer">;
    def TF_Int8 : AnyTypeOf<[I8, TF_Int8Ref], "8-bit integer">;
    def TF_Int16 : AnyTypeOf<[I16, TF_Int16Ref], "16-bit integer">;
    def TF_Int32 : AnyTypeOf<[I32, TF_Int32Ref], "32-bit integer">;
    def TF_Int64 : AnyTypeOf<[I64, TF_Int64Ref], "64-bit integer">;
    def TF_I32OrI64 : AnyTypeOf<[I32, I64, TF_Int32Ref, TF_Int64Ref],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    	'b': "bool",
    	'c': "char",
    	'd': "f64",
    	'e': "str",
    	'f': "f32",
    	'h': "u8",
    	'i': "isize",
    	'j': "usize",
    	'l': "i32",
    	'm': "u32",
    	'n': "i128",
    	'o': "u128",
    	'p': "_",
    	's': "i16",
    	't': "u16",
    	'u': "()",
    	'v': "...",
    	'x': "i64",
    	'y': "u64",
    	'z': "!",
    }
    
    // basicType parses:
    //
    //	<basic-type>
    func (rst *rustState) basicType() {
    	if len(rst.str) < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

          CHECK:        %[[rescale:.*]] = tfr.quant_rescale(%[[Sub]], %[[factor1]], %{{.*}}) : (!tfr.tensor, !tfr.tensor, i64) -> (!tfr.tensor)
          CHECK:        %[[attr:.*]] = tfr.constant i16 -> !tfr.attr
          CHECK:        %[[Cast:.*]] = tfr.call @tf__cast(%[[rescale]], %[[attr]], %{{.*}}) : (!tfr.tensor, !tfr.attr, i1) -> (!tfr.tensor)
          CHECK:        %[[attr_1:.*]] = tfr.constant i8 -> !tfr.attr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/fp_test.go

    	if x != expected {
    		fmt.Printf("U16 %s: Expected 0x%04x, got 0x%04x\n", s, expected, x)
    	}
    }
    
    func expectInt16(t *testing.T, s string, x, expected int16) {
    	if x != expected {
    		fmt.Printf("I16 %s: Expected 0x%04x, got 0x%04x\n", s, expected, x)
    	}
    }
    
    func expectAll64(t *testing.T, s string, expected, a, b, c, d, e, f, g, h, i float64) {
    	expect64(t, s+":a", a, expected)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // CHECK-LABEL: @testAddV2WithRef
    func.func @testAddV2WithRef(%arg0: tensor<!tf_type.int16ref>, %arg1: tensor<i16>) -> tensor<i16> {
      // CHECK: tf.AddV2
      %0 = "tf.AddV2"(%arg0, %arg1) : (tensor<!tf_type.int16ref>, tensor<i16>) -> tensor<i16>
      func.return %0 : tensor<i16>
    }
    
    // CHECK-LABEL: @testRealDivWithRef
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          return rewriter.notifyMatchFailure(
              loc, "output_rank or broadcast_to shape not supported");
    
        // Allow lowering when the input's elements type is F32, BFloat16, I32 or
        // I16.
        if (!(mlir::isa<BFloat16Type, Float32Type>(element_type) ||
              element_type.isInteger(32) || element_type.isInteger(16)))
          return rewriter.notifyMatchFailure(loc, "element_type_not_supported");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      return quantized_type != nullptr &&
             quantized_type.getStorageTypeIntegralWidth() == 16 &&
             quantized_type.isSigned();
    }
    
    // Return true when the given element_type is I16.
    bool IsI16Type(Type element_type) {
      return element_type.isInteger(16) && !element_type.isUnsignedInteger();
    }
    
    // Return true when the given element_type is I32.
    bool IsI32Type(Type element_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top