示例#1
0
 public static Offset <tflite.SoftmaxOptions> CreateSoftmaxOptions(FlatBufferBuilder builder,
                                                                   float beta = 0.0f)
 {
     builder.StartTable(1);
     SoftmaxOptions.AddBeta(builder, beta);
     return(SoftmaxOptions.EndSoftmaxOptions(builder));
 }
示例#2
0
 public static SoftmaxOptions GetRootAsSoftmaxOptions(ByteBuffer _bb, SoftmaxOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }