Class ReduceTensorDescriptor
ReduceTensorDescriptor is a pointer to an opaque structure holding the description of a tensor reduction operation, used as a parameter to cudnnReduceTensor(). cudnnCreateReduceTensorDescriptor() is used to create one instance, and cudnnSetReduceTensorDescriptor() must be used to initialize this instance.
Inheritance
System.Object
ReduceTensorDescriptor
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 ReduceTensorDescriptor : IDisposable
Constructors
| Improve this Doc View SourceReduceTensorDescriptor()
Declaration
public ReduceTensorDescriptor()
Properties
| Improve this Doc View SourceDesc
Returns the inner handle.
Declaration
public cudnnReduceTensorDescriptor Desc { get; }
Property Value
Type | Description |
---|---|
cudnnReduceTensorDescriptor |
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()
GetReduceTensorDescriptor(ref cudnnReduceTensorOp, ref cudnnDataType, ref cudnnNanPropagation, ref cudnnReduceTensorIndices, ref cudnnIndicesType)
Declaration
public void GetReduceTensorDescriptor(ref cudnnReduceTensorOp reduceTensorOp, ref cudnnDataType reduceTensorCompType, ref cudnnNanPropagation reduceTensorNanOpt, ref cudnnReduceTensorIndices reduceTensorIndices, ref cudnnIndicesType reduceTensorIndicesType)
Parameters
Type | Name | Description |
---|---|---|
cudnnReduceTensorOp | reduceTensorOp | |
cudnnDataType | reduceTensorCompType | |
cudnnNanPropagation | reduceTensorNanOpt | |
cudnnReduceTensorIndices | reduceTensorIndices | |
cudnnIndicesType | reduceTensorIndicesType |
SetReduceTensorDescriptor(cudnnReduceTensorOp, cudnnDataType, cudnnNanPropagation, cudnnReduceTensorIndices, cudnnIndicesType)
Declaration
public void SetReduceTensorDescriptor(cudnnReduceTensorOp reduceTensorOp, cudnnDataType reduceTensorCompType, cudnnNanPropagation reduceTensorNanOpt, cudnnReduceTensorIndices reduceTensorIndices, cudnnIndicesType reduceTensorIndicesType)
Parameters
Type | Name | Description |
---|---|---|
cudnnReduceTensorOp | reduceTensorOp | |
cudnnDataType | reduceTensorCompType | |
cudnnNanPropagation | reduceTensorNanOpt | |
cudnnReduceTensorIndices | reduceTensorIndices | |
cudnnIndicesType | reduceTensorIndicesType |
Implements
System.IDisposable