Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
91f89fcc
"src/vscode:/vscode.git/clone" did not exist on "ff009f504b2fe9e6961762e67c1b717431d81da1"
Commit
91f89fcc
authored
Sep 29, 2022
by
charlie
Browse files
Remove shape.empty() function, wasn't used
parent
48c7c810
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
src/include/migraphx/shape.hpp
src/include/migraphx/shape.hpp
+0
-3
src/shape.cpp
src/shape.cpp
+0
-2
No files found.
src/include/migraphx/shape.hpp
View file @
91f89fcc
...
...
@@ -214,9 +214,6 @@ struct shape
/// Return true if the shape is dynamic
bool
dynamic
()
const
;
/// Returns true if the shape is empty
bool
empty
()
const
;
shape
normalize_standard
()
const
;
shape
with_lens
(
type_t
t
,
const
std
::
vector
<
std
::
size_t
>&
l
)
const
;
...
...
src/shape.cpp
View file @
91f89fcc
...
...
@@ -443,8 +443,6 @@ std::string shape::type_string() const { return name(this->type()); }
bool
shape
::
dynamic
()
const
{
return
not
impl
->
m_dyn_dims
.
empty
();
}
bool
shape
::
empty
()
const
{
return
max_lens
().
empty
();
}
const
std
::
vector
<
shape
::
dynamic_dimension
>&
shape
::
dyn_dims
()
const
{
return
impl
->
m_dyn_dims
;
}
std
::
vector
<
std
::
size_t
>
shape
::
min_lens
()
const
...
...
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