One Logo Pool Ball
CoreML · IOS API REFERENCE

MLComputePlan.Cost

struct · iOS 17.4+ · SDK 27.1

struct Cost

A struct containing information on the estimated cost of executing a layer/operation.

Members (1)

get · iOS 17.4+

weight

TypeScript
get weight(): number
Swift declaration
let weight: Double

The estimated workload of executing the operation over the total model evaluation. The value is between [0.0, 1.0].

Skipped declarations

No declarations were skipped in this snapshot.

All CoreML types →