forked from microsoft/CNTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enables EvalWrapper to evaluate network without model (albeit still r…
…equiring input)
- Loading branch information
Showing
7 changed files
with
77 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# deviceId=-1 for CPU, >=0 for GPU devices, "auto" chooses the best GPU, or CPU if no usable GPU is available | ||
deviceId = 0 | ||
|
||
command = Add_Operator_Constant | ||
|
||
precision = "float" | ||
traceLevel = 1 | ||
outputNodeNames = AddResult | ||
|
||
####################################### | ||
# NETWORK CONFIG # | ||
####################################### | ||
|
||
# Notation xxx:yyy*n:zzz is equivalent to xxx, then yyy repeated n times, then zzz | ||
# Example: 10:20*3:5 is equivalent to 10:20:20:20:5 | ||
run=NDLNetworkBuilder | ||
NDLNetworkBuilder=[ | ||
features = Input(1) | ||
v2 = Constant(1) | ||
ol = Plus(features, v2) | ||
|
||
FeatureNodes=(features) | ||
OutputNodes=(ol) | ||
] | ||
|
||
Add_Operator_Constant = [ | ||
action = "write" | ||
] |
28 changes: 28 additions & 0 deletions
28
Examples/Other/Simple2d/Config/AddOperatorConstantNoInput.cntk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# deviceId=-1 for CPU, >=0 for GPU devices, "auto" chooses the best GPU, or CPU if no usable GPU is available | ||
deviceId = -1 | ||
|
||
command = Add_Operator_Constant | ||
|
||
precision = "float" | ||
traceLevel = 1 | ||
outputNodeNames = AddResult | ||
|
||
####################################### | ||
# NETWORK CONFIG # | ||
####################################### | ||
|
||
# Notation xxx:yyy*n:zzz is equivalent to xxx, then yyy repeated n times, then zzz | ||
# Example: 10:20*3:5 is equivalent to 10:20:20:20:5 | ||
run=NDLNetworkBuilder | ||
NDLNetworkBuilder=[ | ||
v1 = Constant(1) | ||
v2 = Constant(2) | ||
ol = Plus(v1, v2) | ||
|
||
FeatureNodes=(v1) | ||
OutputNodes=(ol) | ||
] | ||
|
||
Add_Operator_Constant = [ | ||
action = "write" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters