aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/tools/benchmark/benchmark_params.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/lite/tools/benchmark/benchmark_params.h')
-rw-r--r--tensorflow/contrib/lite/tools/benchmark/benchmark_params.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/lite/tools/benchmark/benchmark_params.h b/tensorflow/contrib/lite/tools/benchmark/benchmark_params.h
index 33448dd162..c98f47bb0d 100644
--- a/tensorflow/contrib/lite/tools/benchmark/benchmark_params.h
+++ b/tensorflow/contrib/lite/tools/benchmark/benchmark_params.h
@@ -31,6 +31,8 @@ class TypedBenchmarkParam;
class BenchmarkParam {
protected:
enum class ParamType { TYPE_INT32, TYPE_FLOAT, TYPE_BOOL, TYPE_STRING };
+ template <typename T>
+ static ParamType GetValueType();
public:
template <typename T>
@@ -49,8 +51,6 @@ class BenchmarkParam {
private:
static void AssertHasSameType(ParamType a, ParamType b);
- template <typename T>
- static ParamType GetValueType();
const ParamType type_;
};