コード例 #1
0
 public static Offset <tflite.UnpackOptions> CreateUnpackOptions(FlatBufferBuilder builder,
                                                                 int num  = 0,
                                                                 int axis = 0)
 {
     builder.StartTable(2);
     UnpackOptions.AddAxis(builder, axis);
     UnpackOptions.AddNum(builder, num);
     return(UnpackOptions.EndUnpackOptions(builder));
 }
コード例 #2
0
 public static UnpackOptions GetRootAsUnpackOptions(ByteBuffer _bb, UnpackOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }