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
8ad92a06
Commit
8ad92a06
authored
May 22, 2019
by
Adam Rogowiec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation on CentOS and on GPU.
parent
1bc3b21a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
lstm_cell.hpp
src/ngraph/op/fused/lstm_cell.hpp
+1
-1
rnn_cell_base.hpp
src/ngraph/op/fused/rnn_cell_base.hpp
+5
-5
No files found.
src/ngraph/op/fused/lstm_cell.hpp
View file @
8ad92a06
...
@@ -141,7 +141,7 @@ namespace ngraph
...
@@ -141,7 +141,7 @@ namespace ngraph
virtual
std
::
shared_ptr
<
Node
>
virtual
std
::
shared_ptr
<
Node
>
copy_with_new_args
(
const
NodeVector
&
new_args
)
const
override
;
copy_with_new_args
(
const
NodeVector
&
new_args
)
const
override
;
bool
get_input_forget
()
const
{
return
m_input_forget
;
}
;
bool
get_input_forget
()
const
{
return
m_input_forget
;
}
private
:
private
:
///
///
/// \brief The input data tensor. Shape: [batch_size, input_size].
/// \brief The input data tensor. Shape: [batch_size, input_size].
...
...
src/ngraph/op/fused/rnn_cell_base.hpp
View file @
8ad92a06
...
@@ -52,11 +52,11 @@ namespace ngraph
...
@@ -52,11 +52,11 @@ namespace ngraph
const
std
::
vector
<
float
>&
activation_alpha
,
const
std
::
vector
<
float
>&
activation_alpha
,
const
std
::
vector
<
float
>&
activation_beta
);
const
std
::
vector
<
float
>&
activation_beta
);
std
::
size_t
get_hidden_size
()
const
{
return
m_hidden_size
;
}
;
std
::
size_t
get_hidden_size
()
const
{
return
m_hidden_size
;
}
float
get_clip
()
const
{
return
m_clip
;
}
;
float
get_clip
()
const
{
return
m_clip
;
}
const
std
::
vector
<
std
::
string
>&
get_activations
()
const
{
return
m_activations
;
}
;
const
std
::
vector
<
std
::
string
>&
get_activations
()
const
{
return
m_activations
;
}
const
std
::
vector
<
float
>&
get_activation_alpha
()
const
{
return
m_activation_alpha
;
}
;
const
std
::
vector
<
float
>&
get_activation_alpha
()
const
{
return
m_activation_alpha
;
}
const
std
::
vector
<
float
>&
get_activation_beta
()
const
{
return
m_activation_beta
;
}
;
const
std
::
vector
<
float
>&
get_activation_beta
()
const
{
return
m_activation_beta
;
}
protected
:
protected
:
///
///
/// \brief Constructs activation function object.
/// \brief Constructs activation function object.
...
...
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