Example #1
0
 public static Offset <ppx.LogNormal> CreateLogNormal(FlatBufferBuilder builder,
                                                      Offset <ppx.Tensor> locOffset   = default(Offset <ppx.Tensor>),
                                                      Offset <ppx.Tensor> scaleOffset = default(Offset <ppx.Tensor>))
 {
     builder.StartTable(2);
     LogNormal.AddScale(builder, scaleOffset);
     LogNormal.AddLoc(builder, locOffset);
     return(LogNormal.EndLogNormal(builder));
 }
Example #2
0
 public static Offset <LogNormal> CreateLogNormal(FlatBufferBuilder builder,
                                                  Offset <Tensor> meanOffset   = default(Offset <Tensor>),
                                                  Offset <Tensor> stddevOffset = default(Offset <Tensor>))
 {
     builder.StartObject(2);
     LogNormal.AddStddev(builder, stddevOffset);
     LogNormal.AddMean(builder, meanOffset);
     return(LogNormal.EndLogNormal(builder));
 }
Example #3
0
 public static LogNormal GetRootAsLogNormal(ByteBuffer _bb, LogNormal obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }