TensorShape
public struct TensorShape
extension TensorShape: ExpressibleByArrayLiteral
extension TensorShape: CustomStringConvertible
extension TensorShape: Equatable
extension TensorShape: RandomAccessCollection
Tensor shape (or dimensions)
-
Declaration
Swift
public var dims: (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
-
Declaration
Swift
public init( dims: (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) )
-
Declaration
Swift
public init(_ elements: [Int])
-
Declaration
Swift
public init(arrayLiteral elements: Int...)
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public static func == (lhs: `Self`, rhs: `Self`) -> Bool
-
Declaration
Swift
public typealias Element = Int
-
Declaration
Swift
public typealias Index = Int
-
Declaration
Swift
public typealias Indices = Range<Index>
-
Declaration
Swift
public typealias SubSequence = TensorShape
-
Declaration
Swift
public var startIndex: Index { get }
-
Declaration
Swift
public var endIndex: Index { get }
-
Declaration
Swift
public var indices: Indices { get }
-
Declaration
Swift
public func formIndex(after i: inout Index)
-
Declaration
Swift
public func formIndex(before i: inout Index)
-
Declaration
Swift
public subscript(indices: Indices) -> SubSequence { get set }