Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,130 for quint8 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt

            int_val: 7
          }
        }
      }
    }
    library {
    }
    versions {
      producer: 70
    }
    
    # CHECK: tf.Const
    # CHECK-SAME: value = #tf_type<tensor_proto : "{{0[xX][0-9a-fA-F]*}}"> : tensor<!tf_type.quint8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 05 09:05:10 UTC 2022
    - 639 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    #ifdef HANDLE_TF_TYPE
    
    //             class, enumerant, name
    HANDLE_TF_TYPE(Qint8, QINT8, "qint8")
    HANDLE_TF_TYPE(Qint16, QINT16, "qint16")
    HANDLE_TF_TYPE(Qint32, QINT32, "qint32")
    HANDLE_TF_TYPE(Quint8, QUINT8, "quint8")
    HANDLE_TF_TYPE(Quint16, QUINT16, "quint16")
    HANDLE_TF_TYPE(String, STRING, "string")
    
    #ifndef HANDLE_CUSTOM_TF_TYPE
    #define HANDLE_CUSTOM_TF_TYPE(class, enumerant, name) \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/const_tensor.mlir

    func.func @tensor_proto() -> tensor<!tf_type.quint8> {
      // tfrt_fallback_async.const_tensor_proto accepts a serialized tensor proto.
      // CHECK: tfrt_fallback_async.const_tensor_proto "\08\0C\12\00\22\01@"
      %0 = "tf.Const"() {value = #tf_type<tensor_proto : "0x746674656E736F722464747970653A2044545F5155494E54382074656E736F725F7368617065207B207D2074656E736F725F636F6E74656E743A20224022"> : tensor<!tf_type.quint8>} : () -> tensor<!tf_type.quint8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/attributes.mlir

      // CHECK: tf.ReadVariableOp
      // CHECK-SAME: dtype = !corert.qint8
      %2 = "tf.ReadVariableOp"(%arg2) {_output_shapes = ["tfshape$dim { size: 1 } dim { size: 3 }"], device = "/device:CPU:0", dtype = !tf_type.qint8} : (tensor<!tf_type.resource<tensor<1x3x!tf_type.qint8>>>) -> tensor<1x3x!tf_type.qint8>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/lower_quantized.mlir

      %0 = "tf.Dequantize"(%arg0, %min_range, %max_range) : (tensor<2x3x!tf_type.qint8>, tensor<f32>, tensor<f32>) -> tensor<2x3xf32>
    
      // CHECK-DAG: return %[[RESULT]]
      func.return %0 : tensor<2x3xf32>
    }
    
    // CHECK-LABEL: dequantize_quint8
    func.func @dequantize_quint8(%arg0: tensor<2x3x!tf_type.quint8>, %min_range: tensor<f32>, %max_range: tensor<f32>) -> tensor<2x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/kernels/ops/bitcast.cc

          "T: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
      TF_OpDefinitionBuilderAddAttr(
          op_builder,
          "type: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top