aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/framework')
-rw-r--r--tensorflow/core/framework/collective.h2
-rw-r--r--tensorflow/core/framework/numeric_types.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/core/framework/collective.h b/tensorflow/core/framework/collective.h
index 0943b85fba..f6fe12e7ef 100644
--- a/tensorflow/core/framework/collective.h
+++ b/tensorflow/core/framework/collective.h
@@ -179,7 +179,7 @@ class StepSequenceInterface {
virtual void RefreshStepIdSequenceAsync(int64 graph_key,
const StatusCallback& done) = 0;
- // Returns the the step_id that should be used for initiating a new execution
+ // Returns the step_id that should be used for initiating a new execution
// on the specified graph. May return the same step_id multiple times if
// RetireStepId or RefreshStepIdReservation is not called.
virtual int64 NextStepId(int64 graph_key) = 0;
diff --git a/tensorflow/core/framework/numeric_types.h b/tensorflow/core/framework/numeric_types.h
index dab53cba3e..b1d0127809 100644
--- a/tensorflow/core/framework/numeric_types.h
+++ b/tensorflow/core/framework/numeric_types.h
@@ -111,7 +111,7 @@ EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE tensorflow::bfloat16 abs(
} // namespace numext
} // namespace Eigen
-#if defined(COMPILER_MSVC) && !defined(__clang__)
+#if defined(_MSC_VER) && !defined(__clang__)
namespace std {
template <>
struct hash<Eigen::half> {
@@ -120,6 +120,6 @@ struct hash<Eigen::half> {
}
};
} // namespace std
-#endif // COMPILER_MSVC
+#endif // _MSC_VER
#endif // TENSORFLOW_FRAMEWORK_NUMERIC_TYPES_H_