axis
TypeScriptget axis(): (number) | nullSwift declarationvar axis: Int?The index of the axis that will be quantized. Set to `nil` to quantize the entire tensor.
struct · iOS 15.0+ · SDK 27.1
struct FusedDequantizationParametersA structure that contains the parameters for a fused dequantization layer.
get axis(): (number) | nullSwift declarationvar axis: Int?The index of the axis that will be quantized. Set to `nil` to quantize the entire tensor.
set axis(value: (number) | null)Swift declarationvar axis: Int?The index of the axis that will be quantized. Set to `nil` to quantize the entire tensor.
get bias(): (BNNSNDArrayDescriptor) | nullSwift declarationvar bias: BNNSNDArrayDescriptor?Optional bias, set to `nil` for a bias of `0.0`.
set bias(value: (BNNSNDArrayDescriptor) | null)Swift declarationvar bias: BNNSNDArrayDescriptor?Optional bias, set to `nil` for a bias of `0.0`.
static init(scale?: (BNNSNDArrayDescriptor) | null, bias?: (BNNSNDArrayDescriptor) | null): BNNS_FusedDequantizationParametersSwift declarationinit(scale: BNNSNDArrayDescriptor?, bias: BNNSNDArrayDescriptor?)Returns a new fused dequantize parameters structure. - Parameter scale: Optional scale, set to `nil` for a scale of `1.0`. - Parameter bias: Optional bias, set to `nil` for a bias of `0.0`.
get scale(): (BNNSNDArrayDescriptor) | nullSwift declarationvar scale: BNNSNDArrayDescriptor?Optional scale, set to `nil` for a scale of `1.0`.
set scale(value: (BNNSNDArrayDescriptor) | null)Swift declarationvar scale: BNNSNDArrayDescriptor?Optional scale, set to `nil` for a scale of `1.0`.
No declarations were skipped in this snapshot.