Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
34c084e3
Commit
34c084e3
authored
Aug 14, 2019
by
Robert Kimball
Committed by
Scott Cyphers
Aug 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated methods (#3429)
parent
1ebd395c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
tensor.hpp
src/ngraph/runtime/tensor.hpp
+0
-22
No files found.
src/ngraph/runtime/tensor.hpp
View file @
34c084e3
...
...
@@ -107,28 +107,6 @@ namespace ngraph
/// \param source The source tensor
virtual
void
copy_from
(
const
ngraph
::
runtime
::
Tensor
&
source
);
NGRAPH_DEPRECATED_DOC
/// \brief Write bytes directly into the tensor
/// \param p Pointer to source of data
/// \param offset Offset into tensor storage to begin writing. Must be element-aligned.
/// \param n Number of bytes to write, must be integral number of elements.
void
write
(
const
void
*
p
,
size_t
offset
,
size_t
n
)
NGRAPH_DEPRECATED
(
"Use two-parameter write"
)
{
write
(
p
,
n
);
}
NGRAPH_DEPRECATED_DOC
/// \brief Read bytes directly from the tensor
/// \param p Pointer to destination for data
/// \param offset Offset into tensor storage to begin writing. Must be element-aligned.
/// \param n Number of bytes to read, must be integral number of elements.
void
read
(
void
*
p
,
size_t
offset
,
size_t
n
)
const
NGRAPH_DEPRECATED
(
"Use two-parameter read"
)
{
read
(
p
,
n
);
}
protected
:
std
::
shared_ptr
<
ngraph
::
descriptor
::
Tensor
>
m_descriptor
;
bool
m_stale
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment