aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/platform/default/dynamic_annotations.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/platform/default/dynamic_annotations.h')
-rw-r--r--tensorflow/core/platform/default/dynamic_annotations.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tensorflow/core/platform/default/dynamic_annotations.h b/tensorflow/core/platform/default/dynamic_annotations.h
new file mode 100644
index 0000000000..1705fb9955
--- /dev/null
+++ b/tensorflow/core/platform/default/dynamic_annotations.h
@@ -0,0 +1,9 @@
+#ifndef THIRD_PARTY_TENSORFLOW_CORE_PLATFORM_DEFAULT_DYNAMIC_ANNOTATIONS_H_
+#define THIRD_PARTY_TENSORFLOW_CORE_PLATFORM_DEFAULT_DYNAMIC_ANNOTATIONS_H_
+
+// Do nothing for this platform
+#define TF_ANNOTATE_MEMORY_IS_INITIALIZED(ptr, bytes) \
+ do { \
+ } while (0)
+
+#endif // THIRD_PARTY_TENSORFLOW_CORE_PLATFORM_DEFAULT_DYNAMIC_ANNOTATIONS_H_