Skip to content

Create a function to return allocated bytes #1607

@pavanky

Description

@pavanky

Currently there is no real way to query the number of bytes being held by the original array after doing something like this:

array a = randu(5,5);
array b = a(af::seq(1,3), af::seq(1,3));
//b.allocated() ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions