Contents

BNNSTensorGetAllocationSize(_:)

Returns the minimum allocation size, in bytes, of the specified tensor.

Declaration

func BNNSTensorGetAllocationSize(_ tensor: UnsafePointer<BNNSTensor>) -> Int

Parameters

  • tensor:

    The tensor.

Return Value

The minimum allocation size, in bytes, of the specified tensor.

See Also

Specifying and querying a tensor’s properties