FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

TensorFlow.NET/docs/source/Gradient.md at master · MSavameri/TensorFlow.NET · GitHub

Latest commit

 

History

History
15 lines (11 loc) · 296 Bytes

File metadata and controls

15 lines (11 loc) · 296 Bytes

Chapter. Gradient

Register custom gradient function

TF.NET is extensible which can be added custom gradient function.

// define gradient function
ops.RegisterGradientFunction("ConcatV2", (oper, out_grads) => 
{
    var grad = grads[0];
    return new Tensor[]{ };    
});

Back | FazBrowse Home | New Git URL