Esempio n. 1
0
 public static Offset <tflite.IfOptions> CreateIfOptions(FlatBufferBuilder builder,
                                                         int then_subgraph_index = 0,
                                                         int else_subgraph_index = 0)
 {
     builder.StartTable(2);
     IfOptions.AddElseSubgraphIndex(builder, else_subgraph_index);
     IfOptions.AddThenSubgraphIndex(builder, then_subgraph_index);
     return(IfOptions.EndIfOptions(builder));
 }
Esempio n. 2
0
 public static IfOptions GetRootAsIfOptions(ByteBuffer _bb, IfOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }