Skip to content

Assign layer type to every layer and delete get_name() #214

Description

@NeiroYT

Each layer has LayerType, but it isn't assigned automatically, so we used something like

ew_layer->set_name(kElementWise)

across the code, but anyway in some cases LayerType was empty
I'll change that to easily search subgraphs in future.

static methods get_name() like this:

static std::string get_name() { return "ConcatLayer"; }

are useless, because we can just use LayerType to determine the string (and do that outside of Layers classes)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions