Class SpatialTransformerDescriptor
An opaque structure holding the description of a generic n-D dataset.
Inheritance
System.Object
SpatialTransformerDescriptor
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ManagedCuda.CudaDNN
Assembly: CudaDNN.dll
Syntax
public class SpatialTransformerDescriptor : IDisposable
Constructors
| Improve this Doc View SourceSpatialTransformerDescriptor(CudaDNNContext)
Declaration
public SpatialTransformerDescriptor(CudaDNNContext context)
Parameters
Type | Name | Description |
---|---|---|
CudaDNNContext | context |
Properties
| Improve this Doc View SourceDesc
Returns the inner handle.
Declaration
public cudnnSpatialTransformerDescriptor Desc { get; }
Property Value
Type | Description |
---|---|
cudnnSpatialTransformerDescriptor |
Methods
| Improve this Doc View SourceDispose()
Dispose
Declaration
public void Dispose()
Dispose(Boolean)
For IDisposable
Declaration
protected virtual void Dispose(bool fDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fDisposing |
Finalize()
For dispose
Declaration
protected void Finalize()
SetSpatialTransformerNdDescriptor(cudnnSamplerType, cudnnDataType, Int32, Int32[])
This function destroys a previously created spatial transformer descriptor object.
Declaration
public void SetSpatialTransformerNdDescriptor(cudnnSamplerType samplerType, cudnnDataType dataType, int nbDims, int[] dimA)
Parameters
Type | Name | Description |
---|---|---|
cudnnSamplerType | samplerType | Enumerant to specify the sampler type. |
cudnnDataType | dataType | Data type. |
System.Int32 | nbDims | Dimension of the transformed tensor. |
System.Int32[] | dimA | Array of dimension nbDims containing the size of the transformed tensor for every dimension. |
Implements
System.IDisposable