示例#1
0
 public static Offset <tflite.OneHotOptions> CreateOneHotOptions(FlatBufferBuilder builder,
                                                                 int axis = 0)
 {
     builder.StartTable(1);
     OneHotOptions.AddAxis(builder, axis);
     return(OneHotOptions.EndOneHotOptions(builder));
 }
示例#2
0
 public static OneHotOptions GetRootAsOneHotOptions(ByteBuffer _bb, OneHotOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }