Math
-
A tensor is an n-dimensional array of numbers with a given shape.
See moreDeclaration
Swift
public struct Tensor<Element, Device> where Element : NumericType, Device : DeviceTypeextension Tensor: CustomStringConvertible, CustomDebugStringConvertibleextension Tensor: ExpressibleByFloatLiteralextension Tensor: ExpressibleByIntegerLiteralextension Tensor: Equatable where Element: Equatableextension Tensor: Codable where Element: Codable
View on GitHub
Math Reference