nums.core.compute.compute_interface module

class nums.core.compute.compute_interface.ComputeImp[source]

Bases: object

class nums.core.compute.compute_interface.ComputeInterface[source]

Bases: object

advanced_assign_block_along_axis(dst_arr, src_arr, ss, axis, dst_coord, src_coord, syskwargs)[source]
advanced_select_block_along_axis(dst_arr, src_arr, ss, dst_axis, src_axis, dst_coord, src_coord, syskwargs)[source]
arange(start, stop, step, dtype, syskwargs)[source]
arg_op(op_name, arr, block_slice, other_argoptima, other_optima, syskwargs)[source]
array_compare(func_name, a, b, args, syskwargs)[source]
astype(arr, dtype_str, syskwargs)[source]
bop(op, a1, a2, a1_T, a2_T, axes, syskwargs)[source]
bop_reduce(op, a1, a2, a1_T, a2_T, syskwargs)[source]
cholesky(arr, syskwargs)[source]
create_block(*src_arrs, src_params, dst_params, dst_shape, dst_shape_bc, syskwargs)[source]
diag(arr, syskwargs)[source]
identity(value)[source]
inv(arr, syskwargs)[source]
logical_and(*bool_list, syskwargs)[source]
map_uop(op_name, arr, args, kwargs, syskwargs)[source]
new_block(op_name, grid_entry, grid_meta, syskwargs)[source]
percentiles_from_tdigest(q, *digests, syskwargs)[source]
permutation(rng_params, size, syskwargs)[source]
pivot_partition(arr, pivot, op, syskwargs)[source]
qr(*arrays, mode='reduced', axis=None, syskwargs)[source]
random_block(rng_params, rfunc_name, rfunc_args, shape, dtype, syskwargs)[source]
reduce_axis(op_name, arr, axis, keepdims, transposed, syskwargs)[source]
reshape(arr, shape, syskwargs)[source]
select_median(arr, syskwargs)[source]
shape_dtype(arr, syskwargs)[source]
size(arr, syskwargs)[source]
split(arr, indices_or_sections, axis, transposed, syskwargs)[source]
sum_reduce(*arrs, syskwargs)[source]
svd(arr, syskwargs)[source]
swapaxes(arr, axis1, axis2, syskwargs)[source]
tdigest_chunk(arr, syskwargs)[source]
touch(arr, syskwargs)[source]

“Touch” the given array. This returns nothing and can be used to wait for a computation without pulling data to the head node.

transpose(arr, syskwargs)[source]
update_block(dst_arr, *src_arrs, src_params, dst_params, syskwargs)[source]
update_block_by_index(dst_arr, src_arr, index_pairs, syskwargs)[source]
weighted_median(*arr_and_weights, syskwargs)[source]
where(arr, x, y, block_slice_tuples, syskwargs)[source]
xlogy(arr_x, arr_y, syskwargs)[source]
class nums.core.compute.compute_interface.RNGInterface[source]

Bases: object

new_block_rng_params()[source]