def get_array_module(*args):
    if available:
        return cupy.get_array_module(*args)
    else:
        return numpy
Compute a few clustering scores.
dataset/ETHPy150Open pfnet/chainer/chainer/cuda.py/get_array_module--crossover with--dataset/ETHPy150Open slinderman/pyhawkes/experiments/synthetic_comparison.py/compute_clustering_score