feat(math): implement slice for tensor_view

This commit is contained in:
2026-10-28 21:35:43 +01:00
parent a47302d532
commit 94276e68d3
5 changed files with 169 additions and 28 deletions
+2 -2
View File
@@ -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) {