Skip to content

Commit

Permalink
Automated sync from github.com/tensorflow/tensorflow (#2632)
Browse files Browse the repository at this point in the history
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
  • Loading branch information
TFLM-bot authored Jul 22, 2024
1 parent 7a02496 commit eec75f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensorflow/lite/portable_type_to_tflitetype.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ struct TfLiteTypeToType {}; // Specializations below
return TFLITE_TYPE_ENUM; \
} \
template <> \
constexpr TfLiteType typeToTfLiteType<const CPP_TYPE>() { \
return TFLITE_TYPE_ENUM; \
} \
template <> \
struct TfLiteTypeToType<TFLITE_TYPE_ENUM> { \
using Type = CPP_TYPE; \
}
Expand Down

0 comments on commit eec75f0

Please sign in to comment.