MCPcopy Create free account
hub / github.com/NVlabs/tiny-cuda-nn / initialize_params

Method initialize_params

include/tiny-cuda-nn/encoding.h:65–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 // By default, an encoding has no parameters
64 void set_params_impl(T* params, T* inference_params, T* gradients) override { }
65 void initialize_params(pcg32& rnd, float* params_full_precision, float scale = 1) override { }
66 size_t n_params() const override { return 0; }
67
68 std::vector<std::pair<uint32_t, uint32_t>> layer_sizes() const override { return {}; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected