     let inferenceStartTime: Date
     let postprocessingStartTime: Date
 
-    // Processing times in miliseconds.
+    // Processing times in milliseconds.
     let preprocessingTime: TimeInterval
     let inferenceTime: TimeInterval
     let postprocessingTime: TimeInterval

  }

  // MARK: - Private functions to run model
  /// Preprocesses given rectangle image to be `Data` of disired size by croping and resizing it.
  ///
  /// - Parameters:
  ///   - of: Input image to crop and resize.

  /// Postprocesses output `Tensor`s to `Result` with size of view to render the result.
  ///
  /// - Parameters:
  ///   - to: Size of view to be displayed.
  /// - Returns: Postprocessed `Result`. `nil` if it can not be processed.
  private func postprocess(to viewSize: CGSize) -> Result? {
    // MARK: Formats output tensors
