makeArray(of:)
Returns an array that contains a copy of this BNNSTensor’s elements.
Declaration
func makeArray<T>(of scalarType: T.Type) -> [T] where T : BNNSScalarParameters
- scalarType:
The type that the tensor’s memory is bound to.
Returns an array that contains a copy of this BNNSTensor’s elements.
func makeArray<T>(of scalarType: T.Type) -> [T] where T : BNNSScalarThe type that the tensor’s memory is bound to.