Tenncor
|
#include <layer.hpp>
Public Member Functions | |
virtual | ~iLayer (void)=default |
iLayer * | clone (std::string label_prefix="") const |
Return deep copy of this layer with prefixed label. More... | |
virtual size_t | get_ninput (void) const =0 |
Return input value of the expected input (first dimension) More... | |
virtual size_t | get_noutput (void) const =0 |
Return output value of the expected output (first dimension) More... | |
virtual std::string | get_ltype (void) const =0 |
Return the layer type which is also the tag key of tagged contents. More... | |
virtual std::string | get_label (void) const =0 |
Return the raw layer label. More... | |
virtual teq::TensptrsT | get_contents (void) const =0 |
Return all internal tensors representing the layer. More... | |
virtual NodeptrT | connect (NodeptrT input) const =0 |
Return the root of the graph that connects input with internal tensors. More... | |
Protected Member Functions | |
virtual iLayer * | clone_impl (const std::string &label_prefix) const =0 |
void | tag (teq::TensptrT tensor, LayerId subs) const |
void | recursive_tag (teq::TensptrT root, teq::TensSetT ignores, LayerId subs) const |
Layer interface defining io, content and metadata getters as well as the connector
|
virtualdefault |
|
inline |
Return deep copy of this layer with prefixed label.
|
protectedpure virtual |
Implemented in layr::Conv, layr::ULayer, layr::Dense, layr::RBM, and layr::SequentialModel.
|
pure virtual |
Return the root of the graph that connects input with internal tensors.
Implemented in layr::ULayer, layr::Conv, layr::Dense, layr::RBM, and layr::SequentialModel.
|
pure virtual |
Return all internal tensors representing the layer.
Implemented in layr::ULayer, layr::Conv, layr::Dense, layr::RBM, and layr::SequentialModel.
|
pure virtual |
Return the raw layer label.
Implemented in layr::ULayer, layr::Conv, layr::Dense, layr::RBM, and layr::SequentialModel.
|
pure virtual |
Return the layer type which is also the tag key of tagged contents.
Implemented in layr::ULayer, layr::Conv, layr::Dense, layr::RBM, and layr::SequentialModel.
|
pure virtual |
Return input value of the expected input (first dimension)
Implemented in layr::ULayer, layr::Conv, layr::Dense, layr::RBM, and layr::SequentialModel.
|
pure virtual |
Return output value of the expected output (first dimension)
Implemented in layr::ULayer, layr::Conv, layr::Dense, layr::RBM, and layr::SequentialModel.
|
protected |
|
protected |