mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-12-23 14:54:28 +00:00
Add dtype parameter to layer constructors
This commit is contained in:
@@ -9,10 +9,11 @@ namespace CUDANet::Layers {
|
||||
* @brief Dense (fully connected) layer
|
||||
*
|
||||
*/
|
||||
class Dense : public Layer {
|
||||
class Dense : public CUDANet::Layer {
|
||||
public:
|
||||
|
||||
Dense(CUDANet::Shape input_shape, CUDANet::Shape output_shape, CUDANet::Backend *backend);
|
||||
Dense(CUDANet::Shape input_shape, CUDANet::Shape output_shape, CUDANet::DType dtype, CUDANet::Backend *backend);
|
||||
|
||||
~Dense();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user