targetSystem
TypeScriptget targetSystem(): BNNSTargetSystemSwift declarationlet targetSystem: BNNSTargetSystemSpecifies the target system where the inference will run.
struct · iOS 16.0+ · SDK 27.1
struct SparseParametersget targetSystem(): BNNSTargetSystemSwift declarationlet targetSystem: BNNSTargetSystemSpecifies the target system where the inference will run.
static init(type: BNNS_SparsityType, ratio: { "numerator": number; "denominator": number }, targetSystem: BNNSTargetSystem): BNNS_SparseParametersSwift declarationinit(type: BNNS.SparsityType = .unstructured, ratio: (numerator: UInt32, denominator: UInt32), targetSystem: BNNSTargetSystem)get type(): BNNS_SparsityTypeSwift declarationlet type: BNNS.SparsityTypeThe sparsity type.
get ratio(): { "numerator": number; "denominator": number }Swift declarationlet ratio: (numerator: UInt32, denominator: UInt32)The sparsity ratio.
No declarations were skipped in this snapshot.