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
shape
Python object holding integers that can be converted to [Int].
-
Init shape from PythonObjects.
Declaration
Swift
public init(_ elements: PythonObject...)
Parameters
shape
Python object holding integers that can be converted to [Int].