Esempio n. 1
0
 public static Offset <tflite.RNNOptions> CreateRNNOptions(FlatBufferBuilder builder,
                                                           tflite.ActivationFunctionType fused_activation_function = tflite.ActivationFunctionType.NONE)
 {
     builder.StartTable(1);
     RNNOptions.AddFusedActivationFunction(builder, fused_activation_function);
     return(RNNOptions.EndRNNOptions(builder));
 }
Esempio n. 2
0
 public static RNNOptions GetRootAsRNNOptions(ByteBuffer _bb, RNNOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }