Skip to content
cantwellc edited this page Jul 6, 2012 · 1 revision

Goal: Implement a contiguous memory container class. Constructor takes a shape vector to implement nesting functionality. A tensor should provide a particular view of a contiguous block of memory. operator[] should return either another tensor whose view is a subview of its own, or a reference to the data in the block of memory if its view is a base view (1 dimensional view);

Clone this wiki locally