MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / apply_schedule

Method apply_schedule

include/core/optimizer.h:132–134  ·  view source on GitHub ↗

Compute current learning rate according to the schedule */

Source from the content-addressed store, hash-verified

130
131 /** Compute current learning rate according to the schedule */
132 void apply_schedule(int batch_id, int num_batch) {
133 lr = init_lr * schedule(batch_id, num_batch);
134 }
135
136 /** Return information about the optimizer */
137 std::string info() const {

Callers 1

train_batchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected