Esempio n. 1
0
 public static Offset <tflite.LeakyReluOptions> CreateLeakyReluOptions(FlatBufferBuilder builder,
                                                                       float alpha = 0.0f)
 {
     builder.StartTable(1);
     LeakyReluOptions.AddAlpha(builder, alpha);
     return(LeakyReluOptions.EndLeakyReluOptions(builder));
 }
Esempio n. 2
0
 public static LeakyReluOptions GetRootAsLeakyReluOptions(ByteBuffer _bb, LeakyReluOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }