[WIP] Expose Channel in Python and add to VarType (#8465)

Add Channel as a VarType
yu239-patch-1
kavyasrinet 7 years ago committed by GitHub
parent 56d5319261
commit bd58bf3e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -112,6 +112,7 @@ message VarType {
LOD_TENSOR_ARRAY = 13;
PLACE_LIST = 14;
READER = 15;
CHANNEL = 16;
}
required Type type = 1;
@ -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 {

Loading…
Cancel
Save