ThreadLocalDropout
version(grain_cuda)
struct ThreadLocalDropout {
size_t count;
cudnnDropoutDescriptor_t _dropoutDesc;
CuPtr!byte _stateArray;
}
Copying this object is disabled.
A postblit is present on this object, but not explicitly documented in the source.
- init
void init(size_t seed = 0)
Global (thread local) dropout state with descriptor and state array