projects
/
pysvrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added DeepNet3.
[pysvrt.git]
/
svrt.c
diff --git
a/svrt.c
b/svrt.c
index
102084b
..
4969d5a
100644
(file)
--- a/
svrt.c
+++ b/
svrt.c
@@
-19,7
+19,7
@@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with s
elector
. If not, see <http://www.gnu.org/licenses/>.
+ * along with s
vrt
. If not, see <http://www.gnu.org/licenses/>.
*
*/
*
*/
@@
-86,6
+86,10
@@
THByteStorage *uncompress(THByteStorage *x) {
return result;
}
return result;
}
+void seed(long s) {
+ srand48(s);
+}
+
THByteTensor *generate_vignettes(long n_problem, THLongTensor *labels) {
struct VignetteSet vs;
long nb_vignettes;
THByteTensor *generate_vignettes(long n_problem, THLongTensor *labels) {
struct VignetteSet vs;
long nb_vignettes;