tf.experimental.numpy.ndarray Equivalent of numpy.ndarray backed by TensorFlow tensors. 
tf.experimental.numpy.ndarray(
    shape, dtype=float, buffer=None
)
 This does not support all features of NumPy ndarrays e.g. strides and memory order since, unlike NumPy, the backing storage is not a raw memory buffer. or if there are any differences in behavior.
 


 Args
  shape   The shape of the array. Must be a scalar, an iterable of integers or a TensorShape object.  
  dtype   Optional. The dtype of the array. Must be a python type, a numpy type or a tensorflow DType object.  
  buffer   Optional. The backing buffer of the array. Must have shape shape. Must be a ndarray, np.ndarray or a Tensor.   
 


 Raises
  ValueError   If buffer is specified and its shape does not match shape.   
 


 Attributes
  T  
 
  data   Tensor object containing the array data. This has a few key differences from the Python buffer object used in NumPy arrays.  Tensors are immutable. So operations requiring in-place edit, e.g. setitem, are performed by replacing the underlying buffer with a new one. Tensors do not provide access to their raw buffer. 

 
  dtype  
 
  ndim  
 
  shape   Returns a tuple or tf.Tensor of array dimensions.  
  size   Returns the number of elements in the array.    Methods astype View source 
astype(
    dtype
)
 clip View source 
clip(
    a, a_min, a_max
)
 TensorFlow variant of NumPy's clip. Unsupported arguments: out, kwargs. See the NumPy documentation for numpy.clip. from_tensor View source 
@classmethod
from_tensor(
    tensor
)
 ravel View source 
ravel(
    a
)
 TensorFlow variant of NumPy's ravel. Unsupported arguments: order. See the NumPy documentation for numpy.ravel. reshape View source 
reshape(
    a, *newshape, **kwargs
)
 tolist View source 
tolist()
 transpose View source 
transpose(
    a, axes=None
)
 TensorFlow variant of NumPy's transpose. See the NumPy documentation for numpy.transpose. __abs__ View source 
__abs__(
    x
)
 TensorFlow variant of NumPy's absolute. Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.absolute. __add__ View source 
__add__(
    a, b
)
 __bool__ View source 
__bool__()
 __eq__ View source 
__eq__(
    a, b
)
 __floordiv__ View source 
__floordiv__(
    a, b
)
 __ge__ View source 
__ge__(
    a, b
)
 __getitem__ View source 
__getitem__(
    slice_spec
)
 Implementation of ndarray.getitem. __gt__ View source 
__gt__(
    a, b
)
 __invert__ View source 
__invert__(
    x
)
 TensorFlow variant of NumPy's logical_not. Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.logical_not. __iter__ View source 
__iter__()
 __le__ View source 
__le__(
    a, b
)
 __len__ View source 
__len__()
 __lt__ View source 
__lt__(
    a, b
)
 __matmul__ View source 
__matmul__(
    a, b
)
 __mod__ View source 
__mod__(
    a, b
)
 __mul__ View source 
__mul__(
    a, b
)
 __ne__ View source 
__ne__(
    a, b
)
 __neg__ View source 
__neg__()
 __nonzero__ View source 
__nonzero__()
 __pos__ View source 
__pos__()
 __pow__ View source 
__pow__(
    a, b
)
 __radd__ View source 
__radd__(
    a, b
)
 __rfloordiv__ View source 
__rfloordiv__(
    a, b
)
 __rmatmul__ View source 
__rmatmul__(
    a, b
)
 __rmod__ View source 
__rmod__(
    a, b
)
 __rmul__ View source 
__rmul__(
    a, b
)
 __rpow__ View source 
__rpow__(
    a, b
)
 __rsub__ View source 
__rsub__(
    a, b
)
 __rtruediv__ View source 
__rtruediv__(
    a, b
)
 __sub__ View source 
__sub__(
    a, b
)
 __truediv__ View source 
__truediv__(
    a, b
)