1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFile(<br> model: string,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts| 4|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFile(<br> model: string, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| 5|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFile(<br> model: string,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| 6|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts| 7|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromBuffer(<br> model: ArrayBuffer, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| 8|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| 9|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFd(<br> model: number,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts| 10|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFd(<br> model: number, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| 11|Added|NA|Class name: mindSporeLite;<br>Method or attribute name: function loadModelFromFd(<br> model: number,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts| 12|Added|NA|Class name: Model;<br>Method or attribute name: getInputs(): MSTensor[];|@ohos.ai.mindSporeLite.d.ts| 13|Added|NA|Class name: Model;<br>Method or attribute name: predict(inputs: MSTensor[], callback: Callback\<MSTensor[]>): void;|@ohos.ai.mindSporeLite.d.ts| 14|Added|NA|Class name: Model;<br>Method or attribute name: predict(inputs: MSTensor[]): Promise\<MSTensor[]>;|@ohos.ai.mindSporeLite.d.ts| 15|Added|NA|Class name: Model;<br>Method or attribute name: resize(inputs: MSTensor[], dims: Array\<Array\<number>>): boolean;|@ohos.ai.mindSporeLite.d.ts| 16|Added|NA|Class name: Context;<br>Method or attribute name: target?: string[];|@ohos.ai.mindSporeLite.d.ts| 17|Added|NA|Class name: Context;<br>Method or attribute name: cpu?: CpuDevice;|@ohos.ai.mindSporeLite.d.ts| 18|Added|NA|Class name: Context;<br>Method or attribute name: nnrt?: NNRTDevice;|@ohos.ai.mindSporeLite.d.ts| 19|Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadNum?: number;|@ohos.ai.mindSporeLite.d.ts| 20|Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadAffinityMode?: ThreadAffinityMode;|@ohos.ai.mindSporeLite.d.ts| 21|Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadAffinityCoreList?: number[];|@ohos.ai.mindSporeLite.d.ts| 22|Added|NA|Class name: CpuDevice;<br>Method or attribute name: precisionMode?: string;|@ohos.ai.mindSporeLite.d.ts| 23|Added|NA|Class name: ThreadAffinityMode;<br>Method or attribute name: NO_AFFINITIES = 0|@ohos.ai.mindSporeLite.d.ts| 24|Added|NA|Class name: ThreadAffinityMode;<br>Method or attribute name: BIG_CORES_FIRST = 1|@ohos.ai.mindSporeLite.d.ts| 25|Added|NA|Class name: ThreadAffinityMode;<br>Method or attribute name: LITTLE_CORES_FIRST = 2|@ohos.ai.mindSporeLite.d.ts| 26|Added|NA|Class name: MSTensor;<br>Method or attribute name: name: string;|@ohos.ai.mindSporeLite.d.ts| 27|Added|NA|Class name: MSTensor;<br>Method or attribute name: shape: number[];|@ohos.ai.mindSporeLite.d.ts| 28|Added|NA|Class name: MSTensor;<br>Method or attribute name: elementNum: number;|@ohos.ai.mindSporeLite.d.ts| 29|Added|NA|Class name: MSTensor;<br>Method or attribute name: dataSize: number;|@ohos.ai.mindSporeLite.d.ts| 30|Added|NA|Class name: MSTensor;<br>Method or attribute name: dtype: DataType;|@ohos.ai.mindSporeLite.d.ts| 31|Added|NA|Class name: MSTensor;<br>Method or attribute name: format: Format;|@ohos.ai.mindSporeLite.d.ts| 32|Added|NA|Class name: MSTensor;<br>Method or attribute name: getData(): ArrayBuffer;|@ohos.ai.mindSporeLite.d.ts| 33|Added|NA|Class name: MSTensor;<br>Method or attribute name: setData(inputArray: ArrayBuffer): void;|@ohos.ai.mindSporeLite.d.ts| 34|Added|NA|Class name: DataType;<br>Method or attribute name: TYPE_UNKNOWN = 0|@ohos.ai.mindSporeLite.d.ts| 35|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT8 = 32|@ohos.ai.mindSporeLite.d.ts| 36|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT16 = 33|@ohos.ai.mindSporeLite.d.ts| 37|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT32 = 34|@ohos.ai.mindSporeLite.d.ts| 38|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_INT64 = 35|@ohos.ai.mindSporeLite.d.ts| 39|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT8 = 37|@ohos.ai.mindSporeLite.d.ts| 40|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT16 = 38|@ohos.ai.mindSporeLite.d.ts| 41|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT32 = 39|@ohos.ai.mindSporeLite.d.ts| 42|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_UINT64 = 40|@ohos.ai.mindSporeLite.d.ts| 43|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_FLOAT16 = 42|@ohos.ai.mindSporeLite.d.ts| 44|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_FLOAT32 = 43|@ohos.ai.mindSporeLite.d.ts| 45|Added|NA|Class name: DataType;<br>Method or attribute name: NUMBER_TYPE_FLOAT64 = 44|@ohos.ai.mindSporeLite.d.ts| 46|Added|NA|Class name: Format;<br>Method or attribute name: DEFAULT_FORMAT = -1|@ohos.ai.mindSporeLite.d.ts| 47|Added|NA|Class name: Format;<br>Method or attribute name: NCHW = 0|@ohos.ai.mindSporeLite.d.ts| 48|Added|NA|Class name: Format;<br>Method or attribute name: NHWC = 1|@ohos.ai.mindSporeLite.d.ts| 49|Added|NA|Class name: Format;<br>Method or attribute name: NHWC4 = 2|@ohos.ai.mindSporeLite.d.ts| 50|Added|NA|Class name: Format;<br>Method or attribute name: HWKC = 3|@ohos.ai.mindSporeLite.d.ts| 51|Added|NA|Class name: Format;<br>Method or attribute name: HWCK = 4|@ohos.ai.mindSporeLite.d.ts| 52|Added|NA|Class name: Format;<br>Method or attribute name: KCHW = 5|@ohos.ai.mindSporeLite.d.ts| 53