c16.dtype c16.real c16.imag c16.real.real c16.real.imag c16.ndim c16.size c16.itemsize c16.shape c16.strides c16.squeeze() c16.byteswap() c16.transpose() # Aliases np.str0() np.bool8() np.bytes0() np.string_() np.object0() np.void0(0) np.byte() np.short() np.intc() np.intp() np.int0() np.int_() np.longlong() np.ubyte()
reveal_type(x.strides) # E: Tuple[] reveal_type(x.ndim) # E: Literal[0] reveal_type(x.size) # E: Literal[1] reveal_type(x.squeeze()) # E: {complex64} reveal_type(x.byteswap()) # E: {complex64} reveal_type(x.transpose()) # E: {complex64} reveal_type(x.dtype) # E: numpy.dtype[{complex64}] reveal_type(np.complex64().real) # E: {float32} reveal_type(np.complex128().imag) # E: {float64} reveal_type(np.unicode_('foo')) # E: numpy.str_ reveal_type(np.str0('foo')) # E: numpy.str_ # Aliases reveal_type(np.unicode_()) # E: numpy.str_ reveal_type(np.str0()) # E: numpy.str_ reveal_type(np.bool8()) # E: numpy.bool_ reveal_type(np.bytes0()) # E: numpy.bytes_ reveal_type(np.string_()) # E: numpy.bytes_ reveal_type(np.object0()) # E: numpy.object_ reveal_type(np.void0(0)) # E: numpy.void reveal_type(np.byte()) # E: {byte} reveal_type(np.short()) # E: {short} reveal_type(np.intc()) # E: {intc} reveal_type(np.intp()) # E: {intp} reveal_type(np.int0()) # E: {intp}
reveal_type(x.real) # E: numpy.floating[numpy.typing._32Bit] reveal_type(x.imag) # E: numpy.floating[numpy.typing._32Bit] reveal_type(x.real.real) # E: numpy.floating[numpy.typing._32Bit] reveal_type(x.real.imag) # E: numpy.floating[numpy.typing._32Bit] reveal_type(x.itemsize) # E: int reveal_type(x.shape) # E: Tuple[] reveal_type(x.strides) # E: Tuple[] reveal_type(x.ndim) # E: Literal[0] reveal_type(x.size) # E: Literal[1] reveal_type(x.squeeze( )) # E: numpy.complexfloating[numpy.typing._32Bit, numpy.typing._32Bit] reveal_type(x.byteswap( )) # E: numpy.complexfloating[numpy.typing._32Bit, numpy.typing._32Bit] reveal_type(x.transpose( )) # E: numpy.complexfloating[numpy.typing._32Bit, numpy.typing._32Bit] reveal_type( x.dtype ) # E: numpy.dtype[numpy.complexfloating[numpy.typing._32Bit, numpy.typing._32Bit]] reveal_type(np.complex64().real) # E: numpy.floating[numpy.typing._32Bit] reveal_type(np.complex128().imag) # E: numpy.floating[numpy.typing._64Bit] reveal_type(np.unicode_("foo")) # E: numpy.str_ reveal_type(np.str0("foo")) # E: numpy.str_