| 5 | namespace engine::models::chatterbox::components { |
| 6 | |
| 7 | uint64_t choose_seed(uint64_t seed) { |
| 8 | if (seed != 0) { |
| 9 | return seed; |
| 10 | } |
| 11 | std::random_device rd; |
| 12 | return (static_cast<uint64_t>(rd()) << 32U) ^ static_cast<uint64_t>(rd()); |
| 13 | } |
| 14 | |
| 15 | std::vector<float> read_f32_tensor( |
| 16 | const engine::assets::TensorSource & source, |
no outgoing calls
no test coverage detected