Package 

Class SGD


  • 
    public final class SGD
    
                        

    Kotlin wrapper for ExecuTorch SGD Optimizer.

    Warning: These APIs are experimental and subject to change without notice

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SGD.Companion
    • Method Summary

      Modifier and Type Method Description
      final Unit step(Map<String, Tensor> namedGradients) Performs a single optimization step using the provided gradients.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • step

         final Unit step(Map<String, Tensor> namedGradients)

        Performs a single optimization step using the provided gradients.

        Parameters:
        namedGradients - Map of parameter names to gradient tensors