[lite] Add field in toco flags to control enabling tflite variables.
PiperOrigin-RevId: 356001474 Change-Id: Ia109c884aa286e2dc757cad38dc5703daf4fd186
This commit is contained in:
parent
1fcaed87f6
commit
96b0f783fe
@ -38,7 +38,7 @@ enum FileFormat {
|
|||||||
// of as properties of models, instead describing how models are to be
|
// of as properties of models, instead describing how models are to be
|
||||||
// processed in the context of the present tooling job.
|
// processed in the context of the present tooling job.
|
||||||
//
|
//
|
||||||
// Next ID to use: 34.
|
// Next ID to use: 35.
|
||||||
message TocoFlags {
|
message TocoFlags {
|
||||||
// Input file format
|
// Input file format
|
||||||
optional FileFormat input_format = 1;
|
optional FileFormat input_format = 1;
|
||||||
@ -230,4 +230,8 @@ message TocoFlags {
|
|||||||
// Name of user's defined Tensorflow ops required in the TensorFlow Lite
|
// Name of user's defined Tensorflow ops required in the TensorFlow Lite
|
||||||
// runtime. These ops will be supported as select TensorFlow ops.
|
// runtime. These ops will be supported as select TensorFlow ops.
|
||||||
repeated string select_user_tf_ops = 33;
|
repeated string select_user_tf_ops = 33;
|
||||||
|
|
||||||
|
// Whether to enable tflite resource variables during conversion or not.
|
||||||
|
// Note: This is an experimental feature.
|
||||||
|
optional bool enable_tflite_resource_variables = 34;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user