|
| Layer (std::vector< unsigned int > input_shape, op::Operation< T > *input) |
|
|
std::vector< unsigned int > | input_shape |
|
std::vector< unsigned int > | output_shape |
|
op::Operation< T > * | input |
|
op::Operation< T > * | output |
|
std::string | name |
|
◆ get_input()
Get the pointer to the input tensor for this layer
- Returns
- tensor<T>*
◆ get_input_shape() [1/2]
Returns a copy of the input shape as a vector
- Returns
- std::vector<unsigned int>
◆ get_input_shape() [2/2]
Gets the size of the i-th axis of the input tensor
- Parameters
-
- Returns
- std::vector<unsigned int>
◆ get_name()
Returns the name of this layer. Defaults to the layer type if not set on its own.
- Returns
- std::string the name of this layer.
◆ get_output()
Get the pointer to the output tensor for this layer
- Returns
- tensor<T>*
◆ get_output_shape() [1/2]
Returns a copy of the output shape as a vector
- Returns
- std::vector<unsigned int>
◆ get_output_shape() [2/2]
Gets the size of the i-th axis of the output tensor
- Parameters
-
- Returns
- std::vector<unsigned int>
◆ set_name()
Set the name of this layer.
- Parameters
-
name | name to assign to this layer |
The documentation for this class was generated from the following file: