MLX
Loading...
Searching...
No Matches
threefry.h File Reference
#include <cstdint>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  mlx
 
namespace  mlx::core
 
namespace  mlx::core::random
 

Functions

std::pair< uint32_t, uint32_t > mlx::core::random::threefry2x32_hash (const std::pair< uint32_t, uint32_t > &key, std::pair< uint32_t, uint32_t > count)
 Applies the Threefry 2x32 hash function.