Tensor
public struct Tensor : Equatable, Hashable
An 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
Tensor
if using a quantized model.Declaration
Swift
public let quantizationParameters: QuantizationParameters?
-
The supported
Tensor
data types.Declaration
Swift
public enum DataType : Equatable, Hashable