# Chapter. Gradient ### Register custom gradient function TF.NET is extensible which can be added custom gradient function. ```csharp // define gradient function ops.RegisterGradientFunction("ConcatV2", (oper, out_grads) => { var grad = grads[0]; return new Tensor[]{ }; }); ```
tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。