init(convolutionBiasesWithFeatureChannelCount:dataType:)
Creates a tensor descriptor with the number of feature channels and data type you specify.
Declaration
convenience init?(convolutionBiasesWithFeatureChannelCount featureChannelCount: Int, dataType: MLCDataType)Parameters
- featureChannelCount:
The number of feature channels.
- dataType:
The tensor data type.
Discussion
This initializer provides a convenient way for you to configure bias tensors.
See Also
Creating Tensor Descriptors
init(shape:dataType:)init(shape:sequenceLengths:sortedSequences:dataType:)init(width:height:featureChannelCount:batchSize:)init(width:height:featureChannelCount:batchSize:dataType:)init(convolutionWeightsWithInputFeatureChannelCount:outputFeatureChannelCount:dataType:)init(convolutionWeightsWithWidth:height:inputFeatureChannelCount:outputFeatureChannelCount:dataType:)maxTensorDimensions