Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetShapeStrippedType (0.24 sec)

  1. tensorflow/compiler/mlir/lite/utils/convert_type.cc

      if (!q_op) return true;
    
      // Ignore shape details - we're really only trying to
      // check if quantization is the same.
      auto stripped_src_qtype = GetShapeStrippedType(q_op.getQtypeAttr());
      auto stripped_qtype = GetShapeStrippedType(qtype_attr);
      return stripped_src_qtype == stripped_qtype;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/convert_type.h

    // Convert the Tensorflow scalar type to the corresponding TFLite type
    absl::StatusOr<tflite::TensorType> TfTypeToTflType(tensorflow::DataType type);
    
    // Returns element type from attribute Type 'type_attr'.
    mlir::Type GetShapeStrippedType(mlir::TypeAttr type_attr);
    
    // Returns true if 'val' is not from Quantize op or
    // from Quantize Op with same quant type as 'qtype_attr'
    bool NotFromQuantOpOrSameQuantType(mlir::Value val, mlir::TypeAttr qtype_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top