中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當前位置: 首頁 > news >正文

期末網(wǎng)站設(shè)計做什么網(wǎng)站比較好太原百度推廣開戶

期末網(wǎng)站設(shè)計做什么網(wǎng)站比較好,太原百度推廣開戶,wordpress獲取當前文章分類,網(wǎng)站 黑白背景 在vscode 中 如果執(zhí)行命令需要傳遞進來參數(shù),那么直接通過命令行終端的方式不太方便。通過task 任務(wù)的方式來進行啟動執(zhí)行,降低反復輸入?yún)?shù)等繁瑣工作。 首先可以查看vscode 官方文檔 task 啟動 crtl shift p .vscode/task.json 示例 執(zhí)行cp…

背景

  • 在vscode 中 如果執(zhí)行命令需要傳遞進來參數(shù),那么直接通過命令行終端的方式不太方便。
  • 通過task 任務(wù)的方式來進行啟動執(zhí)行,降低反復輸入?yún)?shù)等繁瑣工作。

首先可以查看vscode 官方文檔

  • task 啟動 crtl + shift + p

.vscode/task.json 示例

執(zhí)行cpp 帶參數(shù)二進制

{"version": "2.0.0","tasks": [{"label": "Run BIN","type": "shell",  // shell 類型的任務(wù)"command": "${command:cmake.launchTargetPath}", // CMake 生成的二進制文件路徑"args": ["${workspaceFolder}/config.toml",  // 第一個參數(shù)"${workspaceFolder}/model.onnx"  // 第二個參數(shù)],"options": {"cwd": "${command:cmake.launchTargetDirectory}"},"group": {"kind": "build", // 此任務(wù)的組別"isDefault": true // 設(shè)為默認任務(wù)},"problemMatcher": [], // 沒有特定的錯誤匹配器"presentation": {"echo": true, // 在輸出面板中回顯命令"reveal": "always", // 始終在面板中顯示"focus": false, // 不聚焦到輸出面板"panel": "new", // 在新面板中顯示輸出"close": false, // 任務(wù)完成后關(guān)閉輸出面板"clear": false // 任務(wù)啟動前清空輸出面板}}]
}

在執(zhí)行task時,手動輸入傳參

  • 硬編碼方式雖然比較簡單粗暴,但是,當使用git來管理的時候,會引入一些沒有必要的改變,那么此時就需要將參數(shù),不是使用硬編碼,而是去通過啟動任務(wù)時,動態(tài)加載進去。
  • 那就簡單介紹幾種輸入方式
        {  // 簡單理解就是輸入文本框"type": "promptString","id": "outputPath","description": "Please input the output path:",},{ // 簡單理解說就是選擇框"type": "pickString","id": "quantize","description": "use quantize","options": [{"label": "True","value": "-q"},{"label": "False","value": ""}],"default": ""},
  • 詳細示例如下
{"version": "2.0.0","inputs":[{"type": "promptString","id": "outputPath","description": "Please input the output path:",},{"type": "pickString","id": "quantize","description": "use quantize","options": [{"label": "True","value": "-q"},{"label": "False","value": ""}],"default": ""},{"type": "pickString","id": "task","description": "task type","options": ["weigh","arc"],"default": "arc"},{"type": "promptString","id": "config","description": "Please input using configs file",},{"type": "pickString","id": "test_data","description": "juse use test data","options": [{"label": "True","value": "-b"},{"label": "False","value": ""}],"default": ""},{"type": "pickString","id": "qat","description": "use keras quantization aware training","options": [{"label": "True","value": "--qat"},{"label": "False","value": ""}],"default": ""},],"tasks": [{"label": "torch_inf","type": "shell","command": "${command:python.interpreterPath}","args": ["${workspaceFolder}/inference_torch.py","-i","${workspaceFolder}/output/${input:task}/${input:outputPath}"],"presentation": {"echo": true,"reveal": "always","focus": false,"panel": "shared","showReuseMessage": true,"clear": true},"problemMatcher": []},{"label" : "train","type": "shell","command": "${command:python.interpreterPath}","args": ["${workspaceFolder}/test.py","-c","${workspaceFolder}/configs/${input:config}"],"presentation": {"echo": true,"reveal": "always","focus": false,"panel": "shared","showReuseMessage": true,"clear": true},"problemMatcher": []},{"label" : "exprot_tfl","type": "shell","command": "${command:python.interpreterPath}","args": ["${workspaceFolder}/export2.py","-i","${workspaceFolder}/output/${input:task}/${input:outputPath}","${input:quantize}"],"presentation": {"echo": true,"reveal": "always","focus": false,"panel": "shared","showReuseMessage": true,"clear": true},"problemMatcher": []}]
}
http://m.risenshineclean.com/news/60878.html

相關(guān)文章:

  • 倉庫進銷存管理軟件免費版搜索引擎優(yōu)化分析
  • 做英文網(wǎng)站哪家好十堰seo優(yōu)化方法
  • 大學生兼職網(wǎng)網(wǎng)站建設(shè)計劃書海外黃岡網(wǎng)站推廣
  • 制作網(wǎng)站怎么做的網(wǎng)站優(yōu)化技巧
  • 西安制作網(wǎng)站的公司有福州seo排名優(yōu)化公司
  • 品牌型網(wǎng)站制作龍崗百度快速排名
  • 公司網(wǎng)站建設(shè)中心杭州網(wǎng)站優(yōu)化公司哪家好
  • 學校網(wǎng)站建設(shè)先進事跡百度站長平臺提交網(wǎng)站
  • 網(wǎng)站聯(lián)系我們怎么做口碑營銷的作用
  • 采購網(wǎng)站平臺全國疫情今天最新消息
  • 祁東網(wǎng)站設(shè)計公司網(wǎng)站統(tǒng)計工具有哪些
  • 湖南湘潭網(wǎng)站建設(shè)第一推廣網(wǎng)
  • 一個做智能化的網(wǎng)站有哪些潮州網(wǎng)站建設(shè)
  • 網(wǎng)站怎么做二級域名網(wǎng)站友情鏈接的作用
  • 網(wǎng)站建設(shè)與開發(fā)的收獲與體會信息流優(yōu)化
  • 搜索李曉峰女生做sem還是seo
  • 簡約大氣網(wǎng)站設(shè)計欣賞愛站seo綜合查詢
  • 企業(yè)門戶網(wǎng)站布局特征軟件推廣平臺
  • 手機企業(yè)網(wǎng)站推廣網(wǎng)絡(luò)廣告的計費方式
  • 宜昌網(wǎng)頁設(shè)計便宜的seo網(wǎng)絡(luò)營銷推廣
  • 電子政務(wù)政府網(wǎng)站建設(shè)方案云客網(wǎng)平臺
  • 沒簽合同網(wǎng)站做不好百度極簡網(wǎng)址
  • 購物網(wǎng)站平臺建設(shè)自己做網(wǎng)站
  • 自己怎么建立自己的國際網(wǎng)站晉城今日頭條新聞
  • 網(wǎng)站域名com和cn百度識圖網(wǎng)頁版
  • 帝國cms做中英文網(wǎng)站電商網(wǎng)站建設(shè)哪家好
  • 地方門戶網(wǎng)站建設(shè)要求福州百度分公司
  • wordpress附件插件南寧seo推廣優(yōu)化
  • 建設(shè)企業(yè)資質(zhì)雙網(wǎng)是哪兩個網(wǎng)站線上推廣平臺都有哪些
  • 福州正規(guī)網(wǎng)站建設(shè)公司報價軟文廣告案例分析