operatorName
TypeScriptget operatorName(): stringSwift declarationlet operatorName: StringThe name of the operator, e.g., "conv", "pool", "softmax", etc.
struct · iOS 17.4+ · SDK 27.1
struct OperationA struct representing an Operation in the Program.
get operatorName(): stringSwift declarationlet operatorName: StringThe name of the operator, e.g., "conv", "pool", "softmax", etc.
get blocks(): Array<MLModelStructure_Program_Block>Swift declarationlet blocks: [MLModelStructure.Program.Block]Nested blocks for loops and conditionals, e.g., a conditional block will have two entries here.
get inputs(): Record<string, MLModelStructure_Program_Argument>Swift declarationlet inputs: [String : MLModelStructure.Program.Argument]The arguments to the Operation.
get outputs(): Array<MLModelStructure_Program_NamedValueType>Swift declarationlet outputs: [MLModelStructure.Program.NamedValueType]The outputs of the Operation.
No declarations were skipped in this snapshot.