Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_core
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_core
Commits
3fd21015
Commit
3fd21015
authored
1 year ago
by
Thibault Allenet
Browse files
Options
Downloads
Patches
Plain Diff
Add an offset argument in the tensor copy function
parent
2c3257fe
No related branches found
No related tags found
2 merge requests
!105
version 0.2.0
,
!4
Dataloader
Pipeline
#30953
canceled
1 year ago
Stage: static_analysis
Stage: build
Stage: test
Stage: coverage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/aidge/backend/TensorImpl.hpp
+1
-1
1 addition, 1 deletion
include/aidge/backend/TensorImpl.hpp
with
1 addition
and
1 deletion
include/aidge/backend/TensorImpl.hpp
+
1
−
1
View file @
3fd21015
...
...
@@ -21,7 +21,7 @@ class TensorImpl {
public:
TensorImpl
()
=
delete
;
TensorImpl
(
const
char
*
backend
)
:
mBackend
(
backend
){};
virtual
void
copy
(
const
void
*
src
,
NbElts_t
length
)
=
0
;
virtual
void
copy
(
const
void
*
src
,
NbElts_t
length
,
std
::
size_t
offset
=
0
)
=
0
;
virtual
void
*
rawPtr
()
=
0
;
virtual
void
setRawPtr
(
void
*
/*ptr*/
)
{
...
...
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