Tensor
public struct Tensor : Equatable, HashableAn input or output tensor in a TensorFlow Lite graph.
-
The name of the
Tensor.Declaration
Swift
public let name: String -
The data type of the
Tensor.Declaration
Swift
public let dataType: DataType -
The shape of the
Tensor.Declaration
Swift
public let shape: Shape -
The data in the input or output
Tensor.Declaration
Swift
public let data: Data -
The quantization parameters for the
Tensorif using a quantized model.Declaration
Swift
public let quantizationParameters: QuantizationParameters? -
The supported
Tensordata types.Declaration
Swift
public enum DataType : Equatable, Hashable