mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-12-22 22:34:22 +00:00
Add dtype parameter to layer constructors
This commit is contained in:
@@ -4,9 +4,10 @@
|
||||
|
||||
namespace CUDANet::Layers {
|
||||
|
||||
class BatchNorm2d : public Layer {
|
||||
class BatchNorm2d : public CUDANet::Layer {
|
||||
public:
|
||||
BatchNorm2d(CUDANet::Shape input_shape, float epsilon, CUDANet::Backend *backend);
|
||||
BatchNorm2d(CUDANet::Shape input_shape, float epsilon, CUDANet::DType dtype, CUDANet::Backend *backend);
|
||||
|
||||
~BatchNorm2d();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user