MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / InvokerInitializer

Method InvokerInitializer

csrc/adam/cpu_adam_impl.cpp:217–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216struct InvokerInitializer {
217 InvokerInitializer()
218 {
219 create_invoker<c10::Half, float>();
220 create_invoker<c10::Half, c10::Half>();
221 create_invoker<c10::BFloat16, float>();
222 create_invoker<c10::BFloat16, c10::BFloat16>();
223 create_invoker<float, float>();
224 }
225} _invoker_initializer;
226
227void invoke(std::shared_ptr<Adam_Optimizer> opt,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected