Example #1
0
 public static Offset <tflite.L2NormOptions> CreateL2NormOptions(FlatBufferBuilder builder,
                                                                 tflite.ActivationFunctionType fused_activation_function = tflite.ActivationFunctionType.NONE)
 {
     builder.StartTable(1);
     L2NormOptions.AddFusedActivationFunction(builder, fused_activation_function);
     return(L2NormOptions.EndL2NormOptions(builder));
 }
Example #2
0
 public static L2NormOptions GetRootAsL2NormOptions(ByteBuffer _bb, L2NormOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }