Library/ManagedCuda/CudaDNN/LRNDescriptor.cs
/// <summary>
/// This function retrieves values stored in the previously initialized LRN descriptor object.
/// </summary>
/// <param name="lrnN">Pointers to receive values of parameters stored in the descriptor object.
/// See cudnnSetLRNDescriptor for more details. Any of these pointers can be
/// NULL (no value is returned for the corresponding parameter).</param>
/// <param name="lrnAlpha">Pointers to receive values of parameters stored in the descriptor object.
/// See cudnnSetLRNDescriptor for more details. Any of these pointers can be
/// NULL (no value is returned for the corresponding parameter).</param>
/// <param name="lrnBeta">Pointers to receive values of parameters stored in the descriptor object.
/// See cudnnSetLRNDescriptor for more details. Any of these pointers can be
/// NULL (no value is returned for the corresponding parameter).</param>
/// <param name="lrnK">Pointers to receive values of parameters stored in the descriptor object.
/// See cudnnSetLRNDescriptor for more details. Any of these pointers can be
/// NULL (no value is returned for the corresponding parameter).</param>
This function retrieves values stored in the previously initialized LRN descriptor object.
This function retrieves values stored in the previously initialized LRN descriptor object .
public void GetLRNDescriptor(ref uint lrnN,
									  ref double lrnAlpha,
									  ref double lrnBeta,
									  ref double lrnK
												)
		{
			res = CudaDNNNativeMethods.cudnnGetLRNDescriptor(_desc, ref lrnN, ref lrnAlpha, ref lrnBeta, ref lrnK);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnGetLRNDescriptor", res));
			if (res != cudnnStatus.Success) throw new CudaDNNException(res);
		}
public void GetLRNDescriptor ( ref uint lrnN , ref double lrnAlpha , ref double lrnBeta , ref double lrnK ) { res = CudaDNNNativeMethods . cudnnGetLRNDescriptor ( _desc , ref lrnN , ref lrnAlpha , ref lrnBeta , ref lrnK ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cudnnStatus . Success ) throw new CudaDNNException ( res ) ; }
This function retrieves values stored in the previously initialized LRN descriptor object.
This function retrieves values stored in the previously initialized LRN descriptor object .
uint
ref
double
ref
lrnN
Pointers to receive values of parameters stored in the descriptor object.
See cudnnSetLRNDescriptor for more details. Any of these pointers can be
NULL (no value is returned for the corresponding parameter).
Pointers to receive values of parameters stored in the descriptor object . See cudnnSetLRNDescriptor for more details . Any of these pointers can be NULL ( no value is returned for the corresponding parameter ) .
lrnAlpha
Pointers to receive values of parameters stored in the descriptor object.
See cudnnSetLRNDescriptor for more details. Any of these pointers can be
NULL (no value is returned for the corresponding parameter).
Pointers to receive values of parameters stored in the descriptor object . See cudnnSetLRNDescriptor for more details . Any of these pointers can be NULL ( no value is returned for the corresponding parameter ) .
lrnBeta
Pointers to receive values of parameters stored in the descriptor object.
See cudnnSetLRNDescriptor for more details. Any of these pointers can be
NULL (no value is returned for the corresponding parameter).
Pointers to receive values of parameters stored in the descriptor object . See cudnnSetLRNDescriptor for more details . Any of these pointers can be NULL ( no value is returned for the corresponding parameter ) .
lrnK
Pointers to receive values of parameters stored in the descriptor object.
See cudnnSetLRNDescriptor for more details. Any of these pointers can be
NULL (no value is returned for the corresponding parameter).
Pointers to receive values of parameters stored in the descriptor object . See cudnnSetLRNDescriptor for more details . Any of these pointers can be NULL ( no value is returned for the corresponding parameter ) .