Contents

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