def any(x, axis=None, keepdims=False):
    axis = _normalize_axis(axis, ndim(x))
    x = tf.cast(x, tf.bool)
    x = tf.reduce_any(x, reduction_indices=axis, keep_dims=keepdims)
    return tf.cast(x, tf.uint8)
Initialize with a standard Hawkes model. Typically this will have
dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/any--crossover with--dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/models.py/_DiscreteTimeNetworkHawkesModelBase.initialize_with_standard_model