aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/platform/default/integral_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/platform/default/integral_types.h')
-rw-r--r--tensorflow/core/platform/default/integral_types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/tensorflow/core/platform/default/integral_types.h b/tensorflow/core/platform/default/integral_types.h
new file mode 100644
index 0000000000..04aae172da
--- /dev/null
+++ b/tensorflow/core/platform/default/integral_types.h
@@ -0,0 +1,18 @@
+#ifndef TENSORFLOW_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_
+#define TENSORFLOW_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_
+
+namespace tensorflow {
+
+typedef signed char int8;
+typedef short int16;
+typedef int int32;
+typedef long long int64;
+
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef unsigned int uint32;
+typedef unsigned long long uint64;
+
+} // namespace tensorflow
+
+#endif // TENSORFLOW_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_