We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264b73a commit e211d16Copy full SHA for e211d16
DBN/dbnsetup.m
@@ -1,4 +1,5 @@
1
function dbn = dbnsetup(dbn, x, opts)
2
+ assert(all(x(:)>=0) && all(x(:)<=1), "all data in x must be in [0:1]");
3
n = size(x, 2);
4
dbn.sizes = [n, dbn.sizes];
5
0 commit comments