Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for new_output_types (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        if (target_opset_ == OpSet::UNIFORM_QUANTIZED) {
          ShapedType new_output_type = ConvertIntToQint(
              mlir::cast<ShapedType>(output_type), rewriter.getContext());
          if (!new_output_type) {
            q_op->emitError(
                "Failed to convert the type to the corresponding qtype.");
            return failure();
          }
          output_types = {new_output_type};
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            }
            auto new_output_type = new_qtype.castFromExpressedType(
                mlir::quant::UniformQuantizedType::castToExpressedType(
                    value.getType()));
            builder.setInsertionPointAfter(cst.getOperation());
            auto new_op = builder.create<tfl::QConstOp>(
                cst.getLoc(), new_output_type, mlir::TypeAttr::get(new_output_type),
                cst.getValueAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top