Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for getExpressedType (0.17 sec)

  1. tensorflow/compiler/mlir/lite/quantization/device_target.cc

      if (auto quant = spec.dyn_cast_or_null<UniformQuantizedType>()) {
        signature->push_back(AnyQuantizedType::get(
            quant.getFlags(), quant.getStorageType(), quant.getExpressedType(),
            quant.getStorageTypeMin(), quant.getStorageTypeMax()));
      } else if (auto any = spec.dyn_cast_or_null<AnyQuantizedType>()) {
        signature->push_back(any);
      } else {  // float
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

        QType new_qtype;
        if (auto uqtype = qtype.template dyn_cast<quant::UniformQuantizedType>()) {
          new_qtype = quant::UniformQuantizedType::getChecked(
              op.getLoc(), flags, qtype.getStorageType(), qtype.getExpressedType(),
              uqtype.getScale(), uqtype.getZeroPoint() - offset,
              uqtype.getStorageTypeMin() - offset,
              uqtype.getStorageTypeMax() - offset);
        } else if (auto aqtype = qtype.template dyn_cast<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

              new_qtype = mlir::quant::UniformQuantizedPerAxisType::get(
                  per_axis.getFlags(), per_axis.getStorageType(),
                  per_axis.getExpressedType(), per_axis.getScales(),
                  per_axis.getZeroPoints(), per_axis.getQuantizedDimension(),
                  per_axis.getStorageTypeMin() - 1, per_axis.getStorageTypeMax());
            } else if (auto per_tensor =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

          if (!qtype) {
            result_types.push_back(result_type);
            continue;
          }
    
          result_types.push_back(result_type.clone(qtype.getExpressedType()));
        }
    
        // Make a copy of the quantized function.
        auto module = call_op->getParentOfType<ModuleOp>();
        SymbolTable symbol_table(module);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

                             q_peraxis_type.isSigned());
      } else if (auto q_calibrated_type =
                     mlir::dyn_cast<mlir::quant::CalibratedQuantizedType>(type)) {
        return GetTFLiteType(q_calibrated_type.getExpressedType());
      } else if (mlir::isa<mlir::TF::ResourceType>(type)) {
        return tflite::TensorType_RESOURCE;
      } else if (mlir::isa<mlir::TF::VariantType>(type)) {
        return tflite::TensorType_VARIANT;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

            break;
          }
        }
        element_type = quant::UniformQuantizedPerAxisType::get(
            per_axis_qtype.getFlags(), per_axis_qtype.getStorageType(),
            per_axis_qtype.getExpressedType(), per_axis_qtype.getScales(),
            per_axis_qtype.getZeroPoints(), quantized_dimension,
            per_axis_qtype.getStorageTypeMin(), per_axis_qtype.getStorageTypeMax());
      }
    
      TFL::TransposeOp::build(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top