MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / generate_torch_cuda_randn

Function generate_torch_cuda_randn

src/framework/sampling/torch_random.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176 output[index] = value;
177 }
178}
179
180std::vector<float> generate_torch_cuda_randn(
181 size_t count,
182 uint64_t seed,
183 TorchRandnPrecision precision,
184 uint64_t start_index) {
185 std::vector<float> output(count);
186 fill_torch_cuda_randn(output.data(), output.size(), seed, precision, start_index);
187 return output;
188}

Callers 13

make_sine_sourceFunction · 0.85
generate_patchMethod · 0.85
gaussian_noiseFunction · 0.85
encodeMethod · 0.85
next_diffusion_noiseFunction · 0.85
make_gaussian_full_noiseFunction · 0.85

Calls 3

fill_torch_cuda_randnFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45