forked from jiuyuan/InfiniTensor
style: remove non-ascii comments from cpp
Signed-off-by: YdrMaster <ydrml@hotmail.com>
This commit is contained in:
parent
c9fee3f667
commit
6a4de807e6
|
@ -7,7 +7,7 @@ class DataType {
|
|||
// legacy
|
||||
static const DataType Float32;
|
||||
static const DataType UInt32;
|
||||
// 这一组恰好与 onnx 的类型对齐:
|
||||
// These are just aligned with the type and index of onnx:
|
||||
// <https://onnx.ai/onnx/intro/concepts.html#element-type>
|
||||
static const DataType UInt8, Int8, UInt16, Int16, Int32, Int64;
|
||||
static constexpr size_t sizePerElement[]{
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
namespace infini {
|
||||
|
||||
// 借用 onnx 的定义减小传递开销,来自 onnx 但不只用于 onnx。
|
||||
// Use the indices from onnx to reduce delivery overhead,
|
||||
// which comes from onnx but may be not only used for onnx.
|
||||
//
|
||||
// see https://onnx.ai/onnx/intro/concepts.html#element-type
|
||||
enum OnnxDType : int {
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
# pyinfinitensor
|
||||
|
||||
InfiniTensor 的 Python 前端。
|
||||
|
||||
- [ ] 从 ONNX 导入模型
|
||||
- [ ] 从 Pytorch 导入模型
|
||||
- [ ] 从 PaddlePaddle 导入模型
|
||||
- [ ] 模型导出到 ONNX
|
||||
- [ ] 模型导出到 Pytorch
|
||||
- [ ] 模型导出到 PaddlePaddle
|
||||
|
||||
## python 工程结构及打包方法
|
||||
|
||||
本项目使用 [pyproject.toml] 文件定义,目录结构采用 [src 布局](https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout),后端库会被[打包](https://setuptools.pypa.io/en/latest/userguide/datafiles.html#package-data),并支持[自动的依赖安装](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#declaring-required-dependency)。
|
||||
|
||||
参考 [setuptools 的文档](https://setuptools.pypa.io/en/latest/userguide/index.html)。
|
Loading…
Reference in New Issue