class nbla::ArrayCreator

class ArrayCreator

ArrayCreator class this is never be instantiated.

Public Static Functions

static Array *create(const Size_t size, dtypes dtype, const Context &ctx, const AllocatorMemoryPtr mem = nullptr, const Size_t offset = 0)

Interface to create array.

static Context filter_context(const Context &ctx)

Filter an context into minimal info that describes the context.

static void add_creator(const string &name, Creator creator, FilterContext filter_context)

Register new creator.