|
AFAPI array | randu (const dim4 &dims, const dtype ty, randomEngine &r) |
|
AFAPI array | randn (const dim4 &dims, const dtype ty, randomEngine &r) |
|
AFAPI array | randu (const dim4 &dims, const dtype ty=f32) |
|
AFAPI array | randu (const dim_t d0, const dtype ty=f32) |
|
AFAPI array | randu (const dim_t d0, const dim_t d1, const dtype ty=f32) |
|
AFAPI array | randu (const dim_t d0, const dim_t d1, const dim_t d2, const dtype ty=f32) |
|
AFAPI array | randu (const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, const dtype ty=f32) |
|
AFAPI array | randn (const dim4 &dims, const dtype ty=f32) |
|
AFAPI array | randn (const dim_t d0, const dtype ty=f32) |
|
AFAPI array | randn (const dim_t d0, const dim_t d1, const dtype ty=f32) |
|
AFAPI array | randn (const dim_t d0, const dim_t d1, const dim_t d2, const dtype ty=f32) |
|
AFAPI array | randn (const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3, const dtype ty=f32) |
|
AFAPI void | setDefaultRandomEngineType (randomEngineType rtype) |
|
AFAPI randomEngine | getDefaultRandomEngine (void) |
|
AFAPI void | setSeed (const uintl seed) |
|
AFAPI uintl | getSeed () |
|
AFAPI af_err | af_create_random_engine (af_random_engine *engine, af_random_engine_type rtype, uintl seed) |
| C Interface for creating random engine. More...
|
|
AFAPI af_err | af_retain_random_engine (af_random_engine *out, const af_random_engine engine) |
| C Interface for retaining random engine. More...
|
|
AFAPI af_err | af_random_engine_set_type (af_random_engine *engine, const af_random_engine_type rtype) |
| C Interface for changing random engine type. More...
|
|
AFAPI af_err | af_random_engine_get_type (af_random_engine_type *rtype, const af_random_engine engine) |
| C Interface for getting random engine type. More...
|
|
AFAPI af_err | af_random_uniform (af_array *out, const unsigned ndims, const dim_t *const dims, const af_dtype type, af_random_engine engine) |
| C Interface for creating an array of uniform numbers using a random engine. More...
|
|
AFAPI af_err | af_random_normal (af_array *out, const unsigned ndims, const dim_t *const dims, const af_dtype type, af_random_engine engine) |
| C Interface for creating an array of normal numbers using a random engine. More...
|
|
AFAPI af_err | af_random_engine_set_seed (af_random_engine *engine, const uintl seed) |
| C Interface for setting the seed of a random engine. More...
|
|
AFAPI af_err | af_get_default_random_engine (af_random_engine *engine) |
| C Interface for getting the default random engine. More...
|
|
AFAPI af_err | af_set_default_random_engine_type (const af_random_engine_type rtype) |
| C Interface for setting the type of the default random engine. More...
|
|
AFAPI af_err | af_random_engine_get_seed (uintl *const seed, af_random_engine engine) |
| C Interface for getting the seed of a random engine. More...
|
|
AFAPI af_err | af_release_random_engine (af_random_engine engine) |
| C Interface for releasing random engine. More...
|
|
AFAPI af_err | af_randu (af_array *out, const unsigned ndims, const dim_t *const dims, const af_dtype type) |
|
AFAPI af_err | af_randn (af_array *out, const unsigned ndims, const dim_t *const dims, const af_dtype type) |
|
AFAPI af_err | af_set_seed (const uintl seed) |
|
AFAPI af_err | af_get_seed (uintl *seed) |
|