Save the date! Google I/O returns May 18-20 Register now

TensorFlowLiteSwift Framework Reference

Structures

The following structures are available globally.

  • Parameters that determine the mapping of quantized values to real values. Quantized values can be mapped to float values using the following conversion: realValue = scale * (quantizedValue - zeroPoint).

    Declaration

    Swift

    public struct QuantizationParameters : Equatable, Hashable
  • An input or output tensor in a TensorFlow Lite graph.

    Declaration

    Swift

    public struct Tensor : Equatable, Hashable