ThreadLocalDropout

Global (thread local) dropout state with descriptor and state array

version(grain_cuda)
struct ThreadLocalDropout {
size_t count;
cudnnDropoutDescriptor_t _dropoutDesc;
CuPtr!byte _stateArray;
}

Postblit

Copying this object is disabled.

A postblit is present on this object, but not explicitly documented in the source.

Members

Static functions

init
void init(size_t seed = 0)

FIXME set global seed

Meta