tensorflow/lite/g3doc/api_docs/swift/Structs/Tensor.html
public struct Tensor : Equatable, Hashable
An input or output tensor in a TensorFlow Lite graph.
`
name
`
The name of the Tensor.
Swift
public let name: String
`
dataType
`
The data type of the Tensor.
Swift
public let dataType: DataType
`
shape
`
The shape of the Tensor.
Swift
public let shape: Shape
`
data
`
The data in the input or output Tensor.
Swift
public let data: Data
`
quantizationParameters
`
The quantization parameters for the Tensor if using a quantized model.
Swift
public let quantizationParameters: QuantizationParameters?
`
DataType
`
The supported Tensor data types.
Swift
public enum DataType : Equatable, Hashable
`
Shape
`
The shape of a Tensor.
Swift
public struct Shape : Equatable, Hashable
extension Tensor.Shape: ExpressibleByArrayLiteral