X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=pysvrt.git;a=blobdiff_plain;f=svrt.h;h=ff77fb9fae008ae34bb3d6a86b9beb4e78aad185;hp=4335df3d25ee83308a2e586038a1d90b36447b0d;hb=15f2d2cf0a655234cfa435789e26238b95f5a371;hpb=f542d0542b1e51ca7dd12bc6b96f6a299371ae8d diff --git a/svrt.h b/svrt.h index 4335df3..ff77fb9 100644 --- a/svrt.h +++ b/svrt.h @@ -23,4 +23,10 @@ * */ -THByteTensor *generate_vignettes(long n_problem, long nb_images); +THByteStorage *compress(THByteStorage *x); + +THByteStorage *uncompress(THByteStorage *x); + +void seed(long s); + +THByteTensor *generate_vignettes(long n_problem, THLongTensor *labels);