X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=flatland.git;a=blobdiff_plain;f=flatland.h;h=cdde100742f334fa1a4554c101b97d5124d3a4c0;hp=9a9247a48eec02c67d93c0cb57b34378a2339419;hb=90d1c5704c30e7f1d041e32eacbc2893741110e1;hpb=26abc735ca75a78974c7ced091035e8c27ca1c00 diff --git a/flatland.h b/flatland.h index 9a9247a..cdde100 100644 --- a/flatland.h +++ b/flatland.h @@ -1,14 +1,7 @@ -#ifdef __cplusplus -extern "C" { -#endif - -void fl_generate_sequences(int nb_sequences, - int nb_images_per_sequence, - int width, int height, - unsigned char *output); - -#ifdef __cplusplus -} -#endif - +THByteTensor *generate_sequence(int pulling, + long nb_sequences, + long nb_images, + long image_height, long image_width, + long nb_shapes, + int random_shape_size, int random_colors);