зеркало из https://github.com/microsoft/pxt-ml4f.git
Update jacdac and pxt-ml
This commit is contained in:
Родитель
119c53ef4f
Коммит
730d81e55c
|
@ -1,8 +1,8 @@
|
|||
namespace jacdac {
|
||||
export class ML4FHost extends MLHost {
|
||||
export class ML4FServer extends MLServer {
|
||||
model: ml4f.Model
|
||||
|
||||
constructor(agg: SensorAggregatorHost) {
|
||||
constructor(agg: SensorAggregatorServer) {
|
||||
super("ml4f", ModelRunnerModelFormat.ML4F, agg);
|
||||
}
|
||||
|
||||
|
@ -48,5 +48,5 @@ namespace jacdac {
|
|||
}
|
||||
|
||||
//% whenUsed
|
||||
export const ml4fHost = new ML4FHost(sensorAggregatorHost)
|
||||
export const ml4fHost = new ML4FServer(sensorAggregatorServer)
|
||||
}
|
10
pxt.json
10
pxt.json
|
@ -3,8 +3,7 @@
|
|||
"version": "0.0.2",
|
||||
"description": "Run compiled ML models in MakeCode - beta",
|
||||
"dependencies": {
|
||||
"ml": "github:microsoft/pxt-ml#v0.0.8",
|
||||
"core": "*"
|
||||
"ml": "github:microsoft/pxt-ml#v0.0.9"
|
||||
},
|
||||
"files": [
|
||||
"README.md",
|
||||
|
@ -14,11 +13,12 @@
|
|||
"ns.ts"
|
||||
],
|
||||
"fileDependencies": {
|
||||
"ml4fjacdac.ts": "jacdac-services"
|
||||
"ml4fjacdac.ts": "jacdac"
|
||||
},
|
||||
"testDependencies": {
|
||||
"jacdac-services": "github:microsoft/pxt-jacdac-services#v0.1.1",
|
||||
"settings": "*"
|
||||
"core": "*",
|
||||
"settings": "*",
|
||||
"jacdac": "github:microsoft/pxt-jacdac#v0.5.0"
|
||||
},
|
||||
"testFiles": [
|
||||
"test.ts"
|
||||
|
|
Загрузка…
Ссылка в новой задаче