1 Star 0 Fork 1.1K

孔德元/pytorch_6

forked from Ascend/pytorch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
generate_code.sh 329 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
CDIR="$(cd "$(dirname "$0")" ; pwd -P)"
cd $CDIR
build_libtorch="$1"
python3 -m codegen.gen_backend_stubs \
--output_dir="torch_npu/csrc/aten" \
--source_yaml="$CDIR/torch_npu/csrc/aten/npu_native_functions.yaml" \
--impl_path="$CDIR/torch_npu/csrc/aten" # Used to double-check the yaml file definitions.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/kong-deyuan/pytorch_6.git
git@gitee.com:kong-deyuan/pytorch_6.git
kong-deyuan
pytorch_6
pytorch_6
master

搜索帮助