Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TfTypeToTflType (0.18 sec)

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

    // Tensorflow type
    tensorflow::DataType TflTypeToTfType(tflite::TensorType type);
    
    // 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/convert_type.cc

        case tflite::TensorType_RESOURCE:
          return tensorflow::DT_RESOURCE;
        case tflite::TensorType_VARIANT:
          return tensorflow::DT_VARIANT;
      }
    }
    
    absl::StatusOr<tflite::TensorType> TfTypeToTflType(tensorflow::DataType type) {
      switch (type) {
        case tensorflow::DT_BOOL:
          return tflite::TensorType_BOOL;
        case tensorflow::DT_COMPLEX64:
          return tflite::TensorType_COMPLEX64;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          case ::tensorflow::AttrValue::kS:
            flex_builder->String(key, attr.s());
            break;
          case ::tensorflow::AttrValue::kType: {
            auto status_or_tfl_type = tflite::TfTypeToTflType(attr.type());
            if (status_or_tfl_type.ok()) {
              flex_builder->Int(key, status_or_tfl_type.value());
            } else {
              emitWarning(loc, "ignoring unsupported tensorflow type: ")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top