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

Method InvokerInitializer

csrc/adam/cpu_adam_impl.cpp:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected