jax.dtypes.prng_key#
- class jax.dtypes.prng_key#
Scalar class for PRNG Key dtypes.
This is an abstract class that should never be instantiated, but rather exists for the sake of jnp.issubdtype.
Examples
>>> from jax import random >>> from jax import dtypes >>> key = random.key(0) >>> jnp.issubdtype(key.dtype, dtypes.prng_key) True
- __init__()#
Methods
__init__
()all
Scalar method identical to the corresponding array attribute.
any
Scalar method identical to the corresponding array attribute.
argmax
Scalar method identical to the corresponding array attribute.
argmin
Scalar method identical to the corresponding array attribute.
argsort
Scalar method identical to the corresponding array attribute.
astype
Scalar method identical to the corresponding array attribute.
byteswap
Scalar method identical to the corresponding array attribute.
choose
Scalar method identical to the corresponding array attribute.
clip
Scalar method identical to the corresponding array attribute.
compress
Scalar method identical to the corresponding array attribute.
conj
conjugate
Scalar method identical to the corresponding array attribute.
copy
Scalar method identical to the corresponding array attribute.
cumprod
Scalar method identical to the corresponding array attribute.
cumsum
Scalar method identical to the corresponding array attribute.
diagonal
Scalar method identical to the corresponding array attribute.
dump
Scalar method identical to the corresponding array attribute.
dumps
Scalar method identical to the corresponding array attribute.
fill
Scalar method identical to the corresponding array attribute.
flatten
Scalar method identical to the corresponding array attribute.
getfield
Scalar method identical to the corresponding array attribute.
item
Scalar method identical to the corresponding array attribute.
max
Scalar method identical to the corresponding array attribute.
mean
Scalar method identical to the corresponding array attribute.
min
Scalar method identical to the corresponding array attribute.
nonzero
Scalar method identical to the corresponding array attribute.
prod
Scalar method identical to the corresponding array attribute.
put
Scalar method identical to the corresponding array attribute.
ravel
Scalar method identical to the corresponding array attribute.
repeat
Scalar method identical to the corresponding array attribute.
reshape
Scalar method identical to the corresponding array attribute.
resize
Scalar method identical to the corresponding array attribute.
round
Scalar method identical to the corresponding array attribute.
searchsorted
Scalar method identical to the corresponding array attribute.
setfield
Scalar method identical to the corresponding array attribute.
setflags
Scalar method identical to the corresponding array attribute.
sort
Scalar method identical to the corresponding array attribute.
squeeze
Scalar method identical to the corresponding array attribute.
std
Scalar method identical to the corresponding array attribute.
sum
Scalar method identical to the corresponding array attribute.
swapaxes
Scalar method identical to the corresponding array attribute.
take
Scalar method identical to the corresponding array attribute.
to_device
tobytes
tofile
Scalar method identical to the corresponding array attribute.
tolist
Scalar method identical to the corresponding array attribute.
tostring
Scalar method identical to the corresponding array attribute.
trace
Scalar method identical to the corresponding array attribute.
transpose
Scalar method identical to the corresponding array attribute.
var
Scalar method identical to the corresponding array attribute.
view
Scalar method identical to the corresponding array attribute.
Attributes
T
Scalar attribute identical to the corresponding array attribute.
base
Scalar attribute identical to the corresponding array attribute.
data
Pointer to start of data.
device
dtype
Get array data-descriptor.
flags
The integer value of flags.
flat
A 1-D view of the scalar.
imag
The imaginary part of the scalar.
itemset
itemsize
The length of one element in bytes.
nbytes
ndim
The number of array dimensions.
newbyteorder
ptp
real
The real part of the scalar.
shape
Tuple of array dimensions.
size
The number of elements in the gentype.
strides
Tuple of bytes steps in each dimension.