Beispiel #1
0
 public static Offset <tflite.DivOptions> CreateDivOptions(FlatBufferBuilder builder,
                                                           tflite.ActivationFunctionType fused_activation_function = tflite.ActivationFunctionType.NONE)
 {
     builder.StartTable(1);
     DivOptions.AddFusedActivationFunction(builder, fused_activation_function);
     return(DivOptions.EndDivOptions(builder));
 }
Beispiel #2
0
 public static DivOptions GetRootAsDivOptions(ByteBuffer _bb, DivOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }