diff --git a/paddle/fluid/framework/framework.proto b/paddle/fluid/framework/framework.proto index d7be1a7352da5..23c4a2ae16502 100644 --- a/paddle/fluid/framework/framework.proto +++ b/paddle/fluid/framework/framework.proto @@ -118,6 +118,11 @@ message LoDTensorArrayDesc { message ReaderDesc { repeated LoDTensorDesc lod_tensor = 1; } +message ChannelDesc { + required VarDesc elem_type = 1; + optional int32 cap = 2 [ default = 0 ]; +} + message VarDesc { enum VarType { LOD_TENSOR = 1; @@ -129,6 +134,7 @@ message VarDesc { LOD_TENSOR_ARRAY = 7; PLACE_LIST = 8; READER = 9; + CHANNEL = 10; } required string name = 1; required VarType type = 2; @@ -137,6 +143,7 @@ message VarDesc { optional TensorDesc selected_rows = 5; optional LoDTensorArrayDesc tensor_array = 6; optional ReaderDesc reader = 7; + optional ChannelDesc chan = 8; } message BlockDesc {