Skip to content

Commit

Permalink
[WIP] Expose Channel in Python and add to VarType (#8465)
Browse files Browse the repository at this point in the history
Add Channel as a VarType
  • Loading branch information
kavyasrinet authored Feb 17, 2018
1 parent 56d5319 commit bd58bf3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions paddle/fluid/framework/framework.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ message VarType {
LOD_TENSOR_ARRAY = 13;
PLACE_LIST = 14;
READER = 15;
CHANNEL = 16;
}

required Type type = 1;
Expand All @@ -137,6 +138,12 @@ message VarType {

message ReaderDesc { repeated LoDTensorDesc lod_tensor = 1; }
optional ReaderDesc reader = 5;

message ChannelDesc {
required Type data_type = 1;
required int64 capacity = 2;
}
optional ChannelDesc channel = 6;
}

message VarDesc {
Expand Down

0 comments on commit bd58bf3

Please sign in to comment.