File tree Expand file tree Collapse file tree
tensorflow/lite/experimental/acceleration/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,12 +213,11 @@ enum EdgeTpuPowerState {
213213 // active compared to off.
214214 READY = 2 ;
215215
216- // Device is inactive but ready and all previous data is retained (e.g.
217- // cached parameters).
218- READY_WITH_RETENTION = 3 ;
219-
220216 // Minimum power active state.
221- ACTIVE_MIN_POWER = 4 ;
217+ ACTIVE_MIN_POWER = 3 ;
218+
219+ // Very low performance, very low power.
220+ ACTIVE_VERY_LOW_POWER = 4 ;
222221
223222 // Low performance, low power.
224223 ACTIVE_LOW_POWER = 5 ;
Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ EdgeTpuPowerState ConvertEdgeTpuPowerState(proto::EdgeTpuPowerState state) {
120120 return EdgeTpuPowerState_TPU_CORE_OFF;
121121 case proto::EdgeTpuPowerState::READY :
122122 return EdgeTpuPowerState_READY;
123- case proto::EdgeTpuPowerState::READY_WITH_RETENTION :
124- return EdgeTpuPowerState_READY_WITH_RETENTION;
125123 case proto::EdgeTpuPowerState::ACTIVE_MIN_POWER :
126124 return EdgeTpuPowerState_ACTIVE_MIN_POWER;
125+ case proto::EdgeTpuPowerState::ACTIVE_VERY_LOW_POWER :
126+ return EdgeTpuPowerState_ACTIVE_VERY_LOW_POWER;
127127 case proto::EdgeTpuPowerState::ACTIVE_LOW_POWER :
128128 return EdgeTpuPowerState_ACTIVE_LOW_POWER;
129129 case proto::EdgeTpuPowerState::ACTIVE :
You can’t perform that action at this time.
0 commit comments