From b9767aead40edd893052a1d89c56dd9b0b790b61 Mon Sep 17 00:00:00 2001 From: hedaoyuan Date: Mon, 31 Jul 2017 14:44:26 +0800 Subject: [PATCH] Add SliceConfig. --- proto/ModelConfig.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proto/ModelConfig.proto b/proto/ModelConfig.proto index 83f72c137..d7f00fba4 100644 --- a/proto/ModelConfig.proto +++ b/proto/ModelConfig.proto @@ -198,6 +198,11 @@ message RowConvConfig { required uint32 context_length = 1; } +message SliceConfig { + required uint32 start = 1; + required uint32 end = 2; +} + message ProjectionConfig { required string type = 1; required string name = 2; @@ -218,6 +223,9 @@ message ProjectionConfig { // For pool optional PoolConfig pool_conf = 12; + + // For slice + repeated SliceConfig slice = 13; } message OperatorConfig { -- GitLab