message: Add TensorLike with tf_export
diff: @@ -18,6 +18,10 @@ from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  +from typing import Union
  +import numpy as np
  +
  +from tensorflow.python.util.tf_export import tf_export
  # TODO(mdan): Consider adding ABC once the dependence on isinstance is reduced.
  # TODO(mdan): Add type annotations.
  @@ -58,3 +62,7 @@ class Value(Tensor):
  def numpy(self):
  pass
  +
  +
  +TensorLike = Union[Tensor, int, float, bool, str, tuple, list, np.ndarray]
  +tf_export("TensorLike").export_constant(__name__, "TensorLike")
  