...adingView = new LoadingUI();//创建loadingUI实例 this.stage.addChild(loadingView); await RES.loadGroup(preload, 0, loadingView);//加载默认preload组资源,并执行loadingView this.s...
... coin.SoBaseColor() data=coin.SoCube() self.shaded.addChild(self.scale) self.shaded.addChild(self.color) self.shaded.addChild(data) obj.addDisplayMod...
...L_SCREEN); //准备读取图片 loadingLayer = new LoadingSample3(); addChild(loadingLayer); LLoadManage.load( imgData, function (progress) { loadingLayer.setProgress(progress) }, ...
... this.titleImage.x = 51; this.titleImage.y = 161; this.addChild(this.titleImage); //开始按钮设置 this.startBtn = new MyButton(btn_y, btn_kaishi); this.addChild...
...xture(Laya.loader.getRes(demo/soldier.png),0,0,100,86); this.addChild(img); } } } 修改GamePage.ts,把伞兵加入到游戏主画面中去,重点看renderSoldier() module view{ export class GamePage e...
...lic Context(Description desc) { this.desc = desc; } public void addChild(Context child) { desc.addChild(child.desc); executors.add(child); child.addBefore(collect(before...
...ct = new createjs.Shape(); rect.graphics.drawRect(50, 50, 100 100); stage.addChild(rect); console.log(rect.x, rect.y); Graphics 的工作原理 来分析 Graphics 的 drawRect API 源码:https://www.createjs.com/docs.....
...rtRoot = new lib.demo1(); stage = new createjs.Stage(canvas); stage.addChild(exportRoot); stage.update(); createjs.Ticker.setFPS(lib.properties.fps); createjs.Ticker.addEventListen...
...rtRoot = new lib.demo1(); stage = new createjs.Stage(canvas); stage.addChild(exportRoot); stage.update(); createjs.Ticker.setFPS(lib.properties.fps); createjs.Ticker.addEventListen...
ChatGPT和Sora等AI大模型应用,将AI大模型和算力需求的热度不断带上新的台阶。哪里可以获得...
大模型的训练用4090是不合适的,但推理(inference/serving)用4090不能说合适,...
图示为GPU性能排行榜,我们可以看到所有GPU的原始相关性能图表。同时根据训练、推理能力由高到低做了...