C# Класс ManagedCuda.CudaDNN.DropoutDescriptor

An opaque structure holding the description of a generic n-D dataset.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Dispose

DropoutDescriptor ( ManagedCuda.CudaDNN.CudaDNNContext context ) : System

SetDropoutDescriptor ( float dropout, CudaDeviceVariable states, ManagedCuda.BasicTypes.SizeT stateSizeInBytes, ulong seed ) : void

This function initializes a previously created dropout descriptor object. If states argument is equal to NULL, random number generator states won't be initialized, and only dropout value will be set. No other function should be writing to the memory

Защищенные методы

Метод Описание
Dispose ( bool fDisposing ) : void

For IDisposable

Описание методов

Dispose() публичный Метод

Dispose
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
Результат void

DropoutDescriptor() публичный Метод

public DropoutDescriptor ( ManagedCuda.CudaDNN.CudaDNNContext context ) : System
context ManagedCuda.CudaDNN.CudaDNNContext
Результат System

SetDropoutDescriptor() публичный Метод

This function initializes a previously created dropout descriptor object. If states argument is equal to NULL, random number generator states won't be initialized, and only dropout value will be set. No other function should be writing to the memory
public SetDropoutDescriptor ( float dropout, CudaDeviceVariable states, ManagedCuda.BasicTypes.SizeT stateSizeInBytes, ulong seed ) : void
dropout float The probability with which the value from input would be propagated through the dropout layer.
states CudaDeviceVariable Pointer to user-allocated GPU memory that will hold random number generator states.
stateSizeInBytes ManagedCuda.BasicTypes.SizeT Specifies size in bytes of the provided memory for the states.
seed ulong Seed used to initialize random number generator states.
Результат void