   case int32
   /// 64-bit signed integer.
   case int64
-  /// Boolean.
-  case bool
+  /// 16-bit half precision floating point.
+  case float16
+  /// 32-bit single precision floating point.
+  case float32
 
   /// Creates a new tensor data type from the given `TFL_Type` or `nil` if the data type is
   /// unsupported or could not be determined because there was an error.

      self = .int32
    case kTfLiteInt64:
      self = .int64
    case kTfLiteBool:
      self = .bool
    case kTfLiteNoType:
      fallthrough
    default:

  /// - Parameter type: A data type supported by a tensor.
  init?(type: TFL_Type) {
    switch type {
    case kTfLiteBool:
      self = .bool
    case kTfLiteUInt8:
      self = .uInt8
    case kTfLiteInt16:
