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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
nnvm/src/pass/infer_shape_type.cc
+4
-0
No files found.
nnvm/src/pass/infer_shape_type.cc
View file @
70163c6b
...
@@ -119,7 +119,11 @@ Graph InferAttr(Graph &&ret,
...
@@ -119,7 +119,11 @@ Graph InferAttr(Graph &&ret,
<<
"Attribute "
<<
infer_name
<<
"Attribute "
<<
infer_name
<<
" is not registed by op "
<<
inode
.
source
->
op
()
->
name
;
<<
" is not registed by op "
<<
inode
.
source
->
op
()
->
name
;
// Call inference function of the operator.
// Call inference function of the operator.
try
{
forward_known
=
finfer
(
inode
.
source
->
attrs
,
&
ishape
,
&
oshape
);
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.
// Save to the result map.
for
(
uint32_t
i
=
0
;
i
<
num_inputs
;
++
i
)
{
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