Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Oneflow-Inc
oneflow
提交
017f5ed4
O
oneflow
项目概览
Oneflow-Inc
/
oneflow
上一次同步 2 年多
通知
13
Star
2733
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oneflow
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
017f5ed4
编写于
2月 15, 2017
作者:
W
willzhang4a58
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
proto 2to3
上级
1274acf4
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
30 addition
and
29 deletion
+30
-29
.gitignore
.gitignore
+1
-0
oneflow/job/dlnet_conf.proto
oneflow/job/dlnet_conf.proto
+2
-2
oneflow/job/job_conf.proto
oneflow/job/job_conf.proto
+8
-8
oneflow/job/resource.proto
oneflow/job/resource.proto
+3
-3
oneflow/job/strategy.proto
oneflow/job/strategy.proto
+6
-6
oneflow/layer/layer_conf.proto
oneflow/layer/layer_conf.proto
+10
-10
未找到文件。
.gitignore
0 → 100644
浏览文件 @
017f5ed4
build
oneflow/job/dlnet_conf.proto
浏览文件 @
017f5ed4
syntax
=
"proto
2
"
;
syntax
=
"proto
3
"
;
package
oneflow
;
import
"layer/layer_conf.proto"
;
message
DLNetConf
{
required
string
name
=
1
;
string
name
=
1
;
repeated
LayerConf
layer_conf
=
100
;
}
oneflow/job/job_conf.proto
浏览文件 @
017f5ed4
syntax
=
"proto
2
"
;
syntax
=
"proto
3
"
;
package
oneflow
;
import
"job/dlnet_conf.proto"
;
...
...
@@ -6,14 +6,14 @@ import "job/resource.proto";
import
"job/strategy.proto"
;
message
JobUserConf
{
required
string
train_dlnet_conf_filepath
=
1
;
required
string
resource_filepath
=
2
;
required
string
strategy_filepath
=
3
;
string
train_dlnet_conf_filepath
=
1
;
string
resource_filepath
=
2
;
string
strategy_filepath
=
3
;
}
message
JobSysConf
{
required
JobUserConf
user_conf
=
1
;
required
DLNetConf
train_dlnet_conf
=
2
;
required
Resource
resource
=
3
;
required
Strategy
strategy
=
4
;
JobUserConf
user_conf
=
1
;
DLNetConf
train_dlnet_conf
=
2
;
Resource
resource
=
3
;
Strategy
strategy
=
4
;
}
oneflow/job/resource.proto
浏览文件 @
017f5ed4
syntax
=
"proto
2
"
;
syntax
=
"proto
3
"
;
package
oneflow
;
message
Machine
{
required
string
addr
=
1
;
// domain name or ip
required
string
port
=
2
;
string
addr
=
1
;
// domain name or ip
string
port
=
2
;
repeated
int32
device_vec
=
3
;
}
...
...
oneflow/job/strategy.proto
浏览文件 @
017f5ed4
syntax
=
"proto
2
"
;
syntax
=
"proto
3
"
;
package
oneflow
;
message
Section
{
required
int32
first_id
=
1
;
required
int32
last_id
=
2
;
int32
first_id
=
1
;
int32
last_id
=
2
;
}
message
DeviceGroup
{
...
...
@@ -19,7 +19,7 @@ message ParallelConf {
DataParallel
=
0
;
ModelParallel
=
1
;
}
required
Policy
policy
=
1
;
Policy
policy
=
1
;
oneof
device_or_machine
{
DeviceGroup
device_group
=
2
;
MachineGroup
machine_group
=
3
;
...
...
@@ -27,9 +27,9 @@ message ParallelConf {
}
message
PlacementGroup
{
required
string
name
=
1
;
string
name
=
1
;
repeated
string
layer_name_vec
=
2
;
optional
ParallelConf
parallel_conf
=
3
;
ParallelConf
parallel_conf
=
3
;
}
message
Strategy
{
...
...
oneflow/layer/layer_conf.proto
浏览文件 @
017f5ed4
syntax
=
"proto
2
"
;
syntax
=
"proto
3
"
;
package
oneflow
;
message
ConstantModelParamInitializerConf
{
required
float
const_val
=
1
;
float
const_val
=
1
;
}
message
UniformModelParamInitializerConf
{
required
float
min
=
1
;
required
float
max
=
2
;
float
min
=
1
;
float
max
=
2
;
}
message
GaussianModelParamInitializerConf
{
required
float
mean
=
1
;
required
float
std
=
2
;
float
mean
=
1
;
float
std
=
2
;
// The expected number of non-zero output weights for a given input
//
the defaul
t -1 means don't perform sparsification
optional
int32
sparse
=
3
[
default
=
-
1
]
;
//
se
t -1 means don't perform sparsification
int32
sparse
=
3
;
}
message
ModelParamInitializerConf
{
...
...
@@ -27,12 +27,12 @@ message ModelParamInitializerConf {
}
message
SplitLayerConf
{
required
string
in
=
1
;
string
in
=
1
;
repeated
string
out
=
2
;
}
message
LayerConf
{
required
string
name
=
1
;
string
name
=
1
;
oneof
conf_for_specified_layer
{
// TODO: add other layers
SplitLayerConf
split_layer_conf
=
101
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录