Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for UI8 (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    module attributes {tf.versions = {producer = 179 : i32}} {
      func.func @main(%arg0: tensor<f32>) -> tensor<f32> {
        %0 = "stablehlo.uniform_quantize"(%arg0) : (tensor<f32>) -> tensor<!quant.uniform<ui8:f32, 34.0:16>>
        %1 = "stablehlo.uniform_dequantize"(%0) : (tensor<!quant.uniform<ui8:f32, 34.0:16>>) -> tensor<f32>
        func.return %1 : tensor<f32>
      }
    }
    
    // CHECK-LABEL: HloModule main
    // CHECK:       ENTRY %main.{{[0-9]+}} ([[ARG0:.*]]: f32[]) -> (f32[]) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let arguments = (ins
         TFL_TensorOf<[I8, I16, I32, I64, UI8, UI16, UI32, UI64, F32, F64]>:$input,
         TFL_TensorOf<[I32]>:$dilations,
         TFL_0DTensorOf<[I8, I16, I32, I64, UI8, UI16, UI32, UI64, F32, F64]>:$padding_value
      );
    
      let results = (outs TFL_TensorOf<[I8, I16, I32, I64, UI8, UI16, UI32, UI64, F32, F64]>:$output);
    }
    
    def TFL_AddOp : TFL_Op<"add", [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc

    // `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported.
    bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type) {
      if (storage_type.getWidth() == 8 ||
          (storage_type.isSigned() && storage_type.getWidth() == 16)) {
        return true;
      }
      LLVM_DEBUG(llvm::dbgs()
                 << "Uniform quantize / dequantize op only supports ui8, i8 or "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/encoding/xml/read_test.go

        <I16>  6703  </I16>
        <I16Neg>  -6703  </I16Neg>
        <I32>  266703  </I32>
        <I32Neg>  -266703  </I32Neg>
        <I64>  266703  </I64>
        <I64Neg>  -266703  </I64Neg>
        <UI>   266703   </UI>
        <UI8>  112  </UI8>
        <UI16>  6703  </UI16>
        <UI32>  266703  </UI32>
        <UI64>  266703  </UI64>
        <F32>  266.703  </F32>
        <F32Neg>  -266.703  </F32Neg>
        <F64>  266.703  </F64>
        <F64Neg>  -266.703  </F64Neg>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    bool IsI32F32UniformQuantizedPerAxisType(Type type);
    
    // Determines whether the storage type of a quantized type is supported by
    // `tfl.quantize` or `tfl.dequantize` ops. ui8, i8 and i16 are supported.
    bool IsSupportedByTfliteQuantizeOrDequantizeOps(IntegerType storage_type);
    
    // Returns true if a type is quantized tensor type.
    bool IsQuantizedTensorType(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/const0.go

    	// integer values
    	ui0 = 0
    	ui1 = 1
    	ui2 = 42
    	ui3 = 3141592653589793238462643383279502884197169399375105820974944592307816406286
    	ui4 = -10
    
    	ui5 = ui0 + ui1
    	ui6 = ui1 - ui1
    	ui7 = ui2 * ui1
    	ui8 = ui3 / ui3
    	ui9 = ui3 % ui3
    
    	ui10 = 1 / 0 /* ERROR "division by zero" */
    	ui11 = ui1 / 0 /* ERROR "division by zero" */
    	ui12 = ui3 / ui0 /* ERROR "division by zero" */
    	ui13 = 1 % 0 /* ERROR "division by zero" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

        return true;
    
      // Complex<F<32>> is allowed.
      if (mlir::isa<ComplexType>(elemType) &&
          mlir::cast<ComplexType>(elemType).getElementType().isF32())
        return true;
    
      // QUINT8 and UI8 are allowed.
      if (mlir::isa<TF::Quint8Type>(elemType) ||
          (elemType.isInteger(8) && mlir::cast<IntegerType>(elemType).isUnsigned()))
        return true;
    
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          {"F32", "32-bit float"},
          {"I32", "32-bit signless integer"},
          {"I64", "64-bit signless integer"},
          {"QI16", "QI16 type"},
          {"I8", "8-bit signless integer"},
          {"UI8", "8-bit unsigned integer"},
          {"QI8", "QI8 type"},
          {"QUI8", "QUI8 type"},
          {"TFL_Quint8", "TFLite quint8 type"},
      });
    
      return *entries;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. src/runtime/map_test.go

    	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
    		c128 complex128
    		a    [4]string
    		s    string
    		p    *int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    include "stablehlo/dialect/ChloOps.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    include "mhlo/IR/hlo_ops.td"
    
    def SignedIntTensor : TensorOf<[I1, I8, I16, I32, I64]>;
    def UnsignedIntTensor : TensorOf<[UI8, UI16, UI32, UI64]>;
    
    // IEEE compliant floating point tensors.
    def IEEEFloatTensor : TensorOf<[F16, F32, F64]>;
    
    //===----------------------------------------------------------------------===//
    // BatchNorm op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top