Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
70163c6b
Commit
70163c6b
authored
Oct 11, 2016
by
Hu Shiwen
Committed by
Tianqi Chen
May 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error info (#69)
parent
e9b9206f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
nnvm/src/pass/infer_shape_type.cc
+5
-1
No files found.
nnvm/src/pass/infer_shape_type.cc
View file @
70163c6b
...
...
@@ -119,7 +119,11 @@ Graph InferAttr(Graph &&ret,
<<
"Attribute "
<<
infer_name
<<
" is not registed by op "
<<
inode
.
source
->
op
()
->
name
;
// Call inference function of the operator.
forward_known
=
finfer
(
inode
.
source
->
attrs
,
&
ishape
,
&
oshape
);
try
{
forward_known
=
finfer
(
inode
.
source
->
attrs
,
&
ishape
,
&
oshape
);
}
catch
(
const
std
::
exception
&
e
)
{
throw
dmlc
::
Error
(
e
.
what
()
+
std
::
string
(
" with "
)
+
inode
.
source
->
attrs
.
name
);
}
}
// Save to the result map.
for
(
uint32_t
i
=
0
;
i
<
num_inputs
;
++
i
)
{
...
...
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