MagmaDNN  1.0
c++NeuralNetworkFramework
layer_utilities.h
Go to the documentation of this file.
1 
9 #pragma once
10 
11 #include "tensor/tensor.h"
12 #include "compute/operation.h"
13 #include "layer/layer.h"
14 
15 #include <cassert>
16 
17 
18 namespace magmadnn {
19 namespace layer {
20 namespace utilities {
21 
22 
23 template <typename T>
24 magmadnn_error_t copy_layer(layer::Layer<T> *dst, layer::Layer<T> *src);
25 
26 template <typename T>
27 magmadnn_error_t copy_layers(std::vector<layer::Layer<T> *> dsts, std::vector<layer::Layer<T> *> srcs);
28 
29 }
30 }
31 }
Definition: addop.cpp:11