SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
Public Member Functions | Public Attributes | List of all members
smaug::TiledTensor::Tile Struct Reference

A tile is a rectangular portion of a larger Tensor. More...

#include <tensor.h>

Detailed Description

A tile is a rectangular portion of a larger Tensor.

Definition at line 630 of file tensor.h.

Public Member Functions

 Tile ()
 Construct a new blank Tile. More...
 

Public Attributes

Tensortensor
 The new smaller Tensor of this tile.
 
std::vector< int > origin
 The tile's coordinate origins in the original tensor.
 
bool hasOrigin
 True if the tile has its origin set.
 
bool hasData
 True if we have copied data to this tile.
 

Constructor & Destructor Documentation

◆ Tile()

smaug::TiledTensor::Tile::Tile ( )
inline

Construct a new blank Tile.

Set the properties of this Tile using TiledTensor::setTile

Definition at line 645 of file tensor.h.


The documentation for this struct was generated from the following file: