Implement visualisation of the labels, if available.

This commit is contained in:
2018-04-30 13:05:23 +02:00
parent 8eb19cdb6d
commit 4f370a4bbd
8 changed files with 90 additions and 3 deletions

View File

@@ -42,6 +42,11 @@ DType const * LayerData::data() const
return data_.get();
}
const DType &LayerData::operator[](std::size_t i) const
{
return data_[i];
}
ostream& operator<< (ostream& o, const LayerData& layer)
{
o << layer.name() << '(';