Home
last modified time | relevance | path

Searched full:int8 (Results 1 – 25 of 1326) sorted by relevance

12345678910>>...54

/external/tensorflow/tensorflow/lite/g3doc/performance/
Dquantization_spec.md21 $$real\_value = (int8\_value - zero\_point) \times scale$$
24 `int8` two’s complement values in the range `[-127, 127]` with zero-point equal
25 to 0. Per-tensor activations/inputs are represented by `int8` two’s complement
37 `int8` quantization for 8-bit. This is for the convenience of symmetric
66 signed `int8` range `[-128, 127]`. Many activations are asymmetric in nature and
105 ## int8 quantized operator specifications
107 Below we describe the quantization requirements for our int8 tflite kernels:
112 data_type : int8
116 data_type : int8
120 data_type : int8
[all …]
/external/llvm-project/llvm/test/CodeGen/WebAssembly/
Dtarget-features.ll60 ; ATTRS-NEXT: .int8 3
61 ; ATTRS-NEXT: .int8 43
62 ; ATTRS-NEXT: .int8 7
64 ; ATTRS-NEXT: .int8 43
65 ; ATTRS-NEXT: .int8 19
67 ; ATTRS-NEXT: .int8 43
68 ; ATTRS-NEXT: .int8 15
72 ; SIMD128-NEXT: .int8 4
73 ; SIMD128-NEXT: .int8 43
74 ; SIMD128-NEXT: .int8 7
[all …]
Dcustom-sections.ll33 ; CHECK-NEXT: .int8 2
34 ; CHECK-NEXT: .int8 8
36 ; CHECK-NEXT: .int8 1
37 ; CHECK-NEXT: .int8 3
39 ; CHECK-NEXT: .int8 0
40 ; CHECK-NEXT: .int8 12
42 ; CHECK-NEXT: .int8 1
43 ; CHECK-NEXT: .int8 5
45 ; CHECK-NEXT: .int8 3
Deh-lsda.ll68 ; CHECK-NEXT: .int8 255 # @LPStart Encoding = omit
69 ; CHECK-NEXT: .int8 0 # @TType Encoding = absptr
72 ; CHECK-NEXT: .int8 1 # Call site Encoding = uleb128
75 ; CHECK-NEXT: .int8 0 # >> Call Site 0 <<
77 ; CHECK-NEXT: .int8 7 # Action: 4
78 ; CHECK-NEXT: .int8 1 # >> Call Site 1 <<
80 ; CHECK-NEXT: .int8 3 # Action: 2
81 ; CHECK-NEXT: .int8 2 # >> Call Site 2 <<
83 ; CHECK-NEXT: .int8 11 # Action: 6
85 ; CHECK-NEXT: .int8 1 # >> Action Record 1 <<
[all …]
Dtarget-features-tls.ll14 ; NO-BULK-MEM-NEXT: .int8 1
15 ; NO-BULK-MEM-NEXT: .int8 45
16 ; NO-BULK-MEM-NEXT: .int8 10
22 ; BULK-MEM-NEXT: .int8 1
23 ; BULK-MEM-NEXT: .int8 43
24 ; BULK-MEM-NEXT: .int8 11
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtINT8.py32 Integer parameter type testcases - INT8
41 INT8 :
47 - INT8 parameter min value = -100
48 - INT8 parameter min value out of bounds = -101
49 - INT8 parameter max value = 100
50 - INT8 parameter max value out of bounds = 101
51 - INT8 parameter in nominal case = 50
58 # Test of type INT8 - range [-100, 100]
61 self.param_name = "/Test/Test/TEST_DIR/INT8"
69 Testing INT8 in nominal case = 50
[all …]
/external/neven/Embedded/common/src/b_TensorEm/
DCompactMat.c73 #ifndef HW_TMS320C5x /* platforms that don't have int8 must use the 'default' implementation */ in bts_CompactMat_fltDotPrdRow()
80 sumL += ( ( int8 ) dpL[ 0 ] * ( int32 )inPtrL[ 0 ] ); in bts_CompactMat_fltDotPrdRow()
81 sumL += ( ( int8 )( dpL[ 0 ] >> 8 ) * ( int32 )inPtrL[ 1 ] ); in bts_CompactMat_fltDotPrdRow()
82 sumL += ( ( int8 ) dpL[ 1 ] * ( int32 )inPtrL[ 2 ] ); in bts_CompactMat_fltDotPrdRow()
83 sumL += ( ( int8 )( dpL[ 1 ] >> 8 ) * ( int32 )inPtrL[ 3 ] ); in bts_CompactMat_fltDotPrdRow()
84 sumL += ( ( int8 ) dpL[ 2 ] * ( int32 )inPtrL[ 4 ] ); in bts_CompactMat_fltDotPrdRow()
85 sumL += ( ( int8 )( dpL[ 2 ] >> 8 ) * ( int32 )inPtrL[ 5 ] ); in bts_CompactMat_fltDotPrdRow()
86 sumL += ( ( int8 ) dpL[ 3 ] * ( int32 )inPtrL[ 6 ] ); in bts_CompactMat_fltDotPrdRow()
87 sumL += ( ( int8 )( dpL[ 3 ] >> 8 ) * ( int32 )inPtrL[ 7 ] ); in bts_CompactMat_fltDotPrdRow()
93 sumL += ( ( int8 ) *dpL * ( int32 )inPtrL[ 0 ] ); in bts_CompactMat_fltDotPrdRow()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.8bitstorage_Error-int.frag.out2 ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required e…
5 ERROR: 0:58: 'return: can't use with structs containing int8' : required extension not requested: P…
8 ERROR: 0:61: 'int8_t: (u)int8 types can only be in uniform block or buffer storage' : required exte…
11 ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: …
14 ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possib…
17 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
20 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
23 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
26 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
29 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
[all …]
Dspv.8bitstorage_Error-uint.frag.out2 ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required e…
8 ERROR: 0:61: 'uint8_t: (u)int8 types can only be in uniform block or buffer storage' : required ext…
11 ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: …
14 ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possib…
17 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
20 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
23 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
26 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
29 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
35 ERROR: 0:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possib…
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.8bitstorage_Error-int.frag.out2 ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required e…
5 ERROR: 0:58: 'return: can't use with structs containing int8' : required extension not requested: P…
8 ERROR: 0:61: 'int8_t: (u)int8 types can only be in uniform block or buffer storage' : required exte…
11 ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: …
14 ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possib…
17 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
20 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
23 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
26 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
29 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
[all …]
Dspv.8bitstorage_Error-uint.frag.out2 ERROR: 0:54: 'structure: (u)int8 types can only be in uniform block or buffer storage' : required e…
8 ERROR: 0:61: 'uint8_t: (u)int8 types can only be in uniform block or buffer storage' : required ext…
11 ERROR: 0:74: '[: does not operate on types containing (u)int8' : required extension not requested: …
14 ERROR: 0:75: '.: can't swizzle types containing (u)int8' : required extension not requested: Possib…
17 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
20 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
23 ERROR: 0:76: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
26 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
29 ERROR: 0:77: 'built-in function: (u)int8 types can only be in uniform block or buffer storage' : re…
35 ERROR: 0:81: '.: can't swizzle types containing (u)int8' : required extension not requested: Possib…
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dmaximum_minimum.cc106 // Maximum generic opt int8.
108 void TFLiteOperation<maximum_minimum::kGenericOptimized, int8, MaximumOp>( in TFLiteOperation()
117 GetTensorData<int8>(op_context.input1), in TFLiteOperation()
119 GetTensorData<int8>(op_context.input2), in TFLiteOperation()
121 GetTensorData<int8>(op_context.output), MaximumOp::template op<int8>); in TFLiteOperation()
125 GetTensorShape(op_context.input1), GetTensorData<int8>(op_context.input1), in TFLiteOperation()
126 GetTensorShape(op_context.input2), GetTensorData<int8>(op_context.input2), in TFLiteOperation()
127 GetTensorShape(op_context.output), GetTensorData<int8>(op_context.output), in TFLiteOperation()
128 MaximumOp::template op<int8>); in TFLiteOperation()
131 // Minimum generic opt int8.
[all …]
/external/llvm-project/clang/test/SemaOpenCL/
Dformat-strings-fixit.cl12 typedef __attribute__((ext_vector_type(8))) int int8;
27 printf("%v4d", (int8) 123);
28 // CHECK: printf("%v8hld", (int8) 123);
30 printf("%v4f", (int8) 123);
31 // CHECK: printf("%v8hld", (int8) 123);
33 printf("%v4ld", (int8) 123);
34 // CHECK: printf("%v8hld", (int8) 123);
42 printf("%v4hld", (int8) 123);
43 // CHECK: printf("%v8hld", (int8) 123);
45 printf("%v4hlf", (int8) 123);
[all …]
/external/libchrome/mojo/public/tools/fuzzers/
Dfuzz.mojom11 int8 dummy;
16 int8 fuzz_int8;
27 array<int8> fuzz_primitive_array;
29 map<string, int8> fuzz_primitive_map;
34 array<map<FuzzEnum, map<int8, array<FuzzUnion?>?>>>? fuzz_complex;
39 int8 fuzz_int8;
51 array<int8> fuzz_primitive_array;
52 map<string, int8> fuzz_primitive_map;
57 array<int8>? fuzz_nullable_array;
59 array<map<FuzzEnum, map<int8, array<FuzzStruct?>?>>>? fuzz_complex;
/external/llvm-project/clang/test/Preprocessor/
Dx86_amx_target_features.c10 …arget i386-unknown-linux-gnu -march=i386 -mamx-int8 -x c -E -dM -o - %s | FileCheck -check-prefix=…
12 // AMX-INT8: #define __AMXINT8__ 1
13 // AMX-INT8: #define __AMXTILE__ 1
28 … i386-unknown-linux-gnu -march=i386 -mno-amx-int8 -x c -E -dM -o - %s | FileCheck -check-prefix=N…
30 // NOAMX-INT8-NOT: #define __AMXINT8__ 1
32 …86-unknown-linux-gnu -march=i386 -amx-int8 -mno-amx-tile -x c -E -dM -o - %s | FileCheck -check-p…
34 // NOAMX-INT8-NOT: #define __AMXTILE__ 1
35 // NOAMX-INT8-NOT: #define __AMXINT8__ 1
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_extension_spv_khr_integer_dot_product.cpp117 if (cap == "Int8") { in AssemblyForCase()
201 Case{{"DotProductKHR", "DotProductInputAllKHR", "Int8"},
209 Case{{"DotProductKHR", "DotProductInputAllKHR", "Int8"},
234 "Int8"},
278 Case{{"DotProductKHR", "DotProductInputAllKHR", "Int8"},
286 Case{{"DotProductKHR", "DotProductInputAllKHR", "Int8"},
311 "Int8"},
355 Case{{"DotProductKHR", "DotProductInputAllKHR", "Int8"},
363 Case{{"DotProductKHR", "DotProductInputAllKHR", "Int8"},
388 "Int8"},
[all …]
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_unions.mojom19 int8 f_int8;
20 int8 f_int8_other;
36 int8 f_int8;
40 array<int8> f_array_int8;
41 map<string, int8> f_map_int8;
64 int8 f_int8;
83 int8 f_int8;
101 int8 f_int8;
105 int8 f_int8;
Dtest_structs.mojom33 int8 f1;
70 int8 f1 = 100;
118 map<int8, int8> f1;
155 array<int8> f0;
196 const int8 V0 = -128; // Minimum
197 const int8 V1 = -1; // -1
198 const int8 V2 = 0; // 0
199 const int8 V3 = 42; // An arbitrary valid value.
200 const int8 V4 = 127; // Maximum
221 int8 f0 = V0;
[all …]
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_binary_ops_test.cc107 /*test_name=*/Int8, int8, int8, baseline_bitwise_and) in GENERATE_DEFAULT_TESTS() argument
123 /*test_name=*/Int8, int8, int8, baseline_bitwise_or) in GENERATE_DEFAULT_TESTS() argument
139 /*test_name=*/Int8, int8, int8, baseline_bitwise_xor) in GENERATE_DEFAULT_TESTS() argument
202 GENERATE_DEFAULT_TESTS(Equal, /*test_name=*/Int8, int8, bool, baseline_equal) in GENERATE_DEFAULT_TESTS()
245 GENERATE_DEFAULT_TESTS(Greater, /*test_name=*/Int8, int8, bool, in GENERATE_DEFAULT_TESTS()
265 GENERATE_DEFAULT_TESTS(GreaterEqual, /*test_name=*/Int8, int8, bool, in GENERATE_DEFAULT_TESTS()
280 LeftShift, /*test_name=*/Int8, int8, int8, test::DefaultInput<int8>(), in GENERATE_DEFAULT_TESTS_WITH_SPECIFIC_INPUT_VALUES() argument
281 test::DefaultInputLessThanBitwidth<int8>(), baseline_left_shift) in GENERATE_DEFAULT_TESTS_WITH_SPECIFIC_INPUT_VALUES() argument
303 GENERATE_DEFAULT_TESTS(Less, /*test_name=*/Int8, int8, bool, baseline_less) in GENERATE_DEFAULT_TESTS()
320 GENERATE_DEFAULT_TESTS(LessEqual, /*test_name=*/Int8, int8, bool, in GENERATE_DEFAULT_TESTS()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp602 Type *Int8 = Type::getInt8Ty(C); in TEST_F() local
603 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A"); in TEST_F()
604 StoreInst *S1 = B.CreateStore(ConstantInt::get(Int8, 0), Alloca); in TEST_F()
605 StoreInst *S2 = B.CreateStore(ConstantInt::get(Int8, 1), Alloca); in TEST_F()
606 StoreInst *S3 = B.CreateStore(ConstantInt::get(Int8, 2), Alloca); in TEST_F()
633 Type *Int8 = Type::getInt8Ty(C); in TEST_F() local
634 Value *Alloca = B.CreateAlloca(Int8, ConstantInt::get(Int8, 1), "A"); in TEST_F()
635 Instruction *SI = B.CreateStore(ConstantInt::get(Int8, 0), Alloca); in TEST_F()
636 Instruction *LI = B.CreateLoad(Int8, Alloca); in TEST_F()
663 Type *Int8 = Type::getInt8Ty(C); in TEST_F() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dpooling.h38 const int8* input_data, const RuntimeShape& output_shape, in MaxPool()
39 int8* output_data) { in MaxPool()
62 int8 acc[kPoolingAccTrancheSize]; in MaxPool()
85 const int8* input_ptr = in MaxPool()
90 const int8* input_row_ptr = in MaxPool()
93 const int8* input_channel_ptr = input_row_ptr; in MaxPool()
118 int8* output_ptr = output_data + Offset(output_shape, batch, out_y, in MaxPool()
136 int8 a = acc[channel]; in MaxPool()
137 a = std::max<int8>(a, params.quantized_activation_min); in MaxPool()
138 a = std::min<int8>(a, params.quantized_activation_max); in MaxPool()
[all …]
Dconv.h34 const int8* input_data, const RuntimeShape& filter_shape, in ConvPerChannel()
35 const int8* filter_data, const RuntimeShape& bias_shape, in ConvPerChannel()
36 const int32* bias_data, const RuntimeShape& output_shape, int8* output_data, in ConvPerChannel()
37 const RuntimeShape& im2col_shape, int8* im2col_data, in ConvPerChannel()
53 const int8* gemm_input_data = nullptr; in ConvPerChannel()
61 const int8 input_zero_point = -input_offset; in ConvPerChannel()
97 cpu_backend_gemm::MatrixParams<int8> lhs_params; in ConvPerChannel()
102 cpu_backend_gemm::MatrixParams<int8> rhs_params; in ConvPerChannel()
107 cpu_backend_gemm::MatrixParams<int8> dst_params; in ConvPerChannel()
113 int32, int8, in ConvPerChannel()
Ddepthwise_conv.h49 const int8* input_ptr, int16 input_offset,
50 int input_ptr_increment, const int8* filter_ptr,
95 const int8* input_ptr, int16 input_offset,
96 int input_ptr_increment, const int8* filter_ptr,
162 const int8* input_ptr, int16 input_offset,
163 int input_ptr_increment, const int8* filter_ptr,
230 const int8* input_ptr, int16 input_offset,
231 int input_ptr_increment, const int8* filter_ptr,
304 const int8* input_ptr, int16 input_offset,
305 int input_ptr_increment, const int8* filter_ptr,
[all …]
Dmul.h36 const int8* input1_data, const int8* input2_data, in MulElementwise()
37 int8* output_data) { in MulElementwise()
136 output_data[i] = static_cast<int8>(clamped_output); in MulElementwise()
142 const int8 broadcast_value, in MulSimpleBroadcast()
143 const int8* input2_data, int8* output_data) { in MulSimpleBroadcast()
228 output_data[i] = static_cast<int8>(clamped_output); in MulSimpleBroadcast()
233 const RuntimeShape& input1_shape, const int8* input1_data, in Mul()
234 const RuntimeShape& input2_shape, const int8* input2_data, in Mul()
235 const RuntimeShape& output_shape, int8* output_data) { in Mul()
247 const int8* input1_data, in BroadcastMulDispatch()
[all …]
/external/skia/src/sksl/
DSkSLRehydrator.h104 // int32 flags, int8 location, int8 offset, int8 binding, int8 index, int8 set,
105 // int16 builtin, int8 inputAttachmentIndex, int8 format, int8 primitive, int8 maxVertices,
106 // int8 invocations, String marker, String when, int8 key, int8 ctype

12345678910>>...54