Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 397 for quint8 (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir

        %cst = "tf.Const"()  {value = dense<1> : tensor<i1>}  : () -> tensor<i1>
        "tf.Yield"(%cst) : (tensor<i1>) -> ()
        }, {
      ^bb0(%barg0: tensor<2x?x!tf_type.qint8>, %barg1: tensor<?x2x!tf_type.qint8>):
        %id = "tf.Identity"(%barg0) : (tensor<2x?x!tf_type.qint8>) -> tensor<2x?x!tf_type.qint8>
        "tf.Yield"(%id, %barg1) : (tensor<2x?x!tf_type.qint8>, tensor<?x2x!tf_type.qint8>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    def TF_Qint8   : AnyTypeOf<
      [TF_TensorFlowType<"Qint8", "qint8">, TF_Qint8Ref],
      "8-bit quantized integer">;
    def TF_Qint16  : AnyTypeOf<
      [TF_TensorFlowType<"Qint16", "qint16">, TF_Qint16Ref],
      "16-bit quantized integer">;
    def TF_Qint32  : AnyTypeOf<
      [TF_TensorFlowType<"Qint32", "qint32">, TF_Qint32Ref],
      "32-bit quantized integer">;
    def TF_Quint8  : AnyTypeOf<
      [TF_TensorFlowType<"Quint8", "quint8">, TF_Quint8Ref],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

                                                                 DataType type) {
      // Only qint8 and quint8 are considered here.
      double qmin, qmax;
      if (type == DT_QUINT8) {
        qmin = 0.0;
        qmax = 255.0;
      } else if (type == DT_QINT8) {
        qmin = -128.0;
        qmax = 127.0;
      } else {
        return absl::InvalidArgumentError("Only int8 and uint8 are considered.");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          {"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;
    }
    
    void EmitDynamicRangeOp(std::vector<Record *> &defs, raw_ostream *ostream) {
      std::string dynamic_quant_kernel_support_regex =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

          elemType.isInteger(64))
        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)
  6. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    systems in general.
    
    Operations in this dialect usually operate on tensor and scalar types defined in
    the standard dialect. The extra defined types are specific to TensorFlow: `QINT`
    types like !tf_type.qint8 (etc), `QUINT` types like !tf_type.quint8, all of the
    `REF` types like !tf_type.uint8ref, as well as !tf_type.string,
    !tf_type.resource, and !tf_type.variant which correspond to the tensorflow types
    of the same name.
    
    ### Example:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

        %check = "tf.Equal"(%arg1, %one) : (tensor<i32>, tensor<i32>) -> tensor<i1>
        "tf.Yield"(%check) : (tensor<i1>) -> ()
        }, {
      ^bb0(%barg0: tensor<2x?x!tf_type.qint8>, %barg1: tensor<?x2x!tf_type.qint8>):
        %id = "tf.Identity"(%barg0) : (tensor<2x?x!tf_type.qint8>) -> tensor<2x?x!tf_type.qint8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/convert.go

    		base.Fatalf("can only handle non-interfaces")
    	}
    	switch {
    	case from.Size() == 2 && uint8(from.Alignment()) == 2:
    		return "convT16", types.Types[types.TUINT16], false
    	case from.Size() == 4 && uint8(from.Alignment()) == 4 && !from.HasPointers():
    		return "convT32", types.Types[types.TUINT32], false
    	case from.Size() == 8 && uint8(from.Alignment()) == uint8(types.Types[types.TUINT64].Alignment()) && !from.HasPointers():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/config.go

    	return t
    }
    
    // SetTypPtrs populates t.
    func (t *Types) SetTypPtrs() {
    	t.Bool = types.Types[types.TBOOL]
    	t.Int8 = types.Types[types.TINT8]
    	t.Int16 = types.Types[types.TINT16]
    	t.Int32 = types.Types[types.TINT32]
    	t.Int64 = types.Types[types.TINT64]
    	t.UInt8 = types.Types[types.TUINT8]
    	t.UInt16 = types.Types[types.TUINT16]
    	t.UInt32 = types.Types[types.TUINT32]
    	t.UInt64 = types.Types[types.TUINT64]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. schema/field_test.go

    		{Name: "UINT", DBName: "fuint", BindNames: []string{"UINT"}, DataType: schema.Uint, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:fuint"`},
    		{Name: "UINT8", DBName: "fuint8", BindNames: []string{"UINT8"}, DataType: schema.Uint, Creatable: true, Updatable: true, Readable: true, Size: 8, Tag: `gorm:"column:fuint8"`},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top