Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_cpu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
aidge_backend_cpu
Merge requests
!48
Basic Supervised Learning
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Basic Supervised Learning
learning
into
dev
Overview
1
Commits
12
Pipelines
6
Changes
39
Merged
Maxence Naud
requested to merge
learning
into
dev
11 months ago
Overview
1
Commits
12
Pipelines
6
Changes
39
Expand
Context
Required changes to add supervised learning to AIDGE features.
Modified files
*Impl.hpp to add "cpu" string to constructor
minor changes to clean some *Impl.cpp files
Detailed major modifications
Add unit-test for operator+,-,*,/ of Tensor
TODO
Edited
11 months ago
by
Maxence Naud
0
0
Merge request reports
Compare
dev
version 4
bc5dd574
11 months ago
version 3
49bee01c
11 months ago
version 2
701120ea
11 months ago
version 1
d41a8def
11 months ago
dev (base)
and
latest version
latest version
736bb9da
12 commits,
11 months ago
version 4
bc5dd574
5 commits,
11 months ago
version 3
49bee01c
5 commits,
11 months ago
version 2
701120ea
4 commits,
11 months ago
version 1
d41a8def
3 commits,
11 months ago
39 files
+
558
−
278
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
39
Search (e.g. *.vue) (Ctrl+P)
include/aidge/backend/cpu/operator/AddImpl.hpp
+
6
−
5
Options
@@ -12,16 +12,17 @@
#ifndef AIDGE_CPU_OPERATOR_ADDIMPL_H_
#define AIDGE_CPU_OPERATOR_ADDIMPL_H_
#include
<cstddef>
// std::size_t
#include
<memory>
// std::unique_ptr, std::make_unique
#include
<string>
#include
<vector>
#include
"aidge/backend/OperatorImpl.hpp"
#include
"aidge/operator/Add.hpp"
#include
"aidge/utils/Registrar.hpp"
#include
"aidge/utils/Types.h"
#include
"aidge/backend/cpu/data/GetCPUPtr.h"
#include
<memory>
#include
<vector>
namespace
Aidge
{
// class Add_Op<2>;
// compute kernel registry for forward and backward
class
AddImplForward_cpu
@@ -33,7 +34,7 @@ class AddImplBackward_cpu
class
AddImpl_cpu
:
public
OperatorImpl
{
public:
AddImpl_cpu
(
const
Add_Op
&
op
)
:
OperatorImpl
(
op
)
{}
AddImpl_cpu
(
const
Add_Op
&
op
)
:
OperatorImpl
(
op
,
"cpu"
)
{}
static
std
::
unique_ptr
<
AddImpl_cpu
>
create
(
const
Add_Op
&
op
)
{
return
std
::
make_unique
<
AddImpl_cpu
>
(
op
);
Loading