mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-12-23 06:44:24 +00:00
Add dtype parameter to layer constructors
This commit is contained in:
@@ -8,7 +8,7 @@ namespace CUDANet::Layers {
|
||||
* @brief 2D convolutional layer
|
||||
*
|
||||
*/
|
||||
class Conv2d : public Layer {
|
||||
class Conv2d : public CUDANet::Layer {
|
||||
public:
|
||||
Conv2d(
|
||||
CUDANet::Shape input_shape,
|
||||
@@ -17,6 +17,14 @@ class Conv2d : public Layer {
|
||||
CUDANet::Shape padding_shape,
|
||||
CUDANet::Backend* backend
|
||||
);
|
||||
Conv2d(
|
||||
CUDANet::Shape input_shape,
|
||||
CUDANet::Shape kernel_shape,
|
||||
CUDANet::Shape stride_shape,
|
||||
CUDANet::Shape padding_shape,
|
||||
CUDANet::DType dtype,
|
||||
CUDANet::Backend* backend
|
||||
);
|
||||
|
||||
~Conv2d();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user