crystalnet icon indicating copy to clipboard operation
crystalnet copied to clipboard

Define core module

Open lgarithm opened this issue 8 years ago • 2 comments

The core module should be

  • self contained
  • feature complete
  • minimal

syntax sugars and helpers should not be in the core module.

lgarithm avatar Mar 15 '18 14:03 lgarithm

Now the header files has been split into 3 files (but still not clean enough)

  • crystalnet.h (core APIs)
  • crystalnet-internal.h (internal or test only APIs)
  • crystalnet-ext.h (advanced APIs, e.g. layer)

There might be another header file

  • crystalnet-dev.h (for advanced users to define extensions)

Beginner users will find crystalnet-ext.h much easier than crystalnet.h.

lgarithm avatar Mar 29 '18 14:03 lgarithm

core types

shape_t
tensor_t
tensor_ref_t
operator_t

lgarithm avatar Mar 29 '18 15:03 lgarithm