copyBandPart(_:to:lowerBandCount:upperBandCount:filterParameters:)
Copies the specified subdiagonals and superdiagonals of a matrix, and sets other elements to zero.
Declaration
static func copyBandPart(_ source: BNNSNDArrayDescriptor, to destination: BNNSNDArrayDescriptor, lowerBandCount: Int?, upperBandCount: Int?, filterParameters: BNNSFilterParameters? = nil) throwsParameters
- source:
The input descriptor.
- destination:
The output descriptor.
- lowerBandCount:
The number of subdiagonals that the function copies. Set to
nilto copy the entire lower triangle. - upperBandCount:
The number of superdiagonals that the function copies. Set to
nilto copy the entire upper triangle. - filterParameters:
The filter runtime parameters.
See Also
Related Documentation
Utility functions
copy(_:to:filterParameters:)transpose(input:output:firstTransposeAxis:secondTransposeAxis:filterParameters:)BNNSCopy(_:_:_:)BNNSTranspose(_:_:_:_:_:)BNNSGetPointer(_:_:)BNNSPointerSpecifierBNNS.GramLayerBNNSLayerParametersGramBNNSFilterCreateLayerGram(_:_:)clip(to:input:output:)clipByNorm(threshold:input:output:axes:)clipByGlobalNorm(threshold:inputs:outputs:globalNorm:)BNNSClipByValue(_:_:_:_:)BNNSClipByNorm(_:_:_:_:)BNNSClipByGlobalNorm(_:_:_:_:_:)