feat(math): implement slice for tensor_view
This commit is contained in:
@@ -38,7 +38,7 @@ private:
|
||||
}
|
||||
public:
|
||||
using input_type = Input;
|
||||
using output_type = output_layer_type::output_type;
|
||||
using output_type = typename output_layer_type::output_type;
|
||||
public:
|
||||
const output_type& get_output() const { return get_layer<sizeof...(Layers) - 1>().output; }
|
||||
public:
|
||||
@@ -103,7 +103,7 @@ public:
|
||||
private:
|
||||
std::size_t m_count = 0;
|
||||
|
||||
gen<std::make_index_sequence<sizeof...(Layers)>>::type m_layers;
|
||||
typename gen<std::make_index_sequence<sizeof...(Layers)>>::type m_layers;
|
||||
};
|
||||
public:
|
||||
void backprop(const input_type& input, const output_type& expected, learning_state& state) {
|
||||
|
||||
Reference in New Issue
Block a user