Shape
public extension Shape
-
Undocumented
Declaration
Swift
var rank: Int { get } -
Undocumented
Declaration
Swift
init(_ elements: Int...) -
Init shape from PythonObject.
Declaration
Swift
public init(_ shape: PythonObject)Parameters
shapePython object holding integers that can be converted to [Int].
-
Init shape from PythonObjects.
Declaration
Swift
public init(_ elements: PythonObject...)Parameters
shapePython object holding integers that can be converted to [Int].
View on GitHub
Shape Extension Reference