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
Commits
9a0e094b
Commit
9a0e094b
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Fixed post merge issues
parent
9b4e3f38
No related branches found
No related tags found
2 merge requests
!50
version 0.2.0
,
!32
New proposal for handling tensor views
Pipeline
#37797
failed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/aidge/backend/cpu/data/TensorImpl.hpp
+0
-3
0 additions, 3 deletions
include/aidge/backend/cpu/data/TensorImpl.hpp
with
0 additions
and
3 deletions
include/aidge/backend/cpu/data/TensorImpl.hpp
+
0
−
3
View file @
9a0e094b
...
@@ -51,11 +51,8 @@ public:
...
@@ -51,11 +51,8 @@ public:
return
std
::
make_shared
<
TensorImpl_cpu
<
T
>>
(
device
,
length
);
return
std
::
make_shared
<
TensorImpl_cpu
<
T
>>
(
device
,
length
);
}
}
inline
std
::
size_t
size
()
const
noexcept
override
final
{
return
mData
.
size
();
}
inline
std
::
size_t
scalarSize
()
const
noexcept
override
final
{
return
sizeof
(
T
);
}
inline
std
::
size_t
scalarSize
()
const
noexcept
override
final
{
return
sizeof
(
T
);
}
std
::
size_t
scalarSize
()
const
override
{
return
sizeof
(
T
);
}
void
copy
(
const
void
*
src
,
NbElts_t
length
,
NbElts_t
offset
=
0
)
override
final
{
void
copy
(
const
void
*
src
,
NbElts_t
length
,
NbElts_t
offset
=
0
)
override
final
{
const
T
*
srcT
=
static_cast
<
const
T
*>
(
src
);
const
T
*
srcT
=
static_cast
<
const
T
*>
(
src
);
T
*
dstT
=
static_cast
<
T
*>
(
rawPtr
(
offset
));
T
*
dstT
=
static_cast
<
T
*>
(
rawPtr
(
offset
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment