-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
2,037 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// <auto-generated> | ||
// automatically generated by the FlatBuffers compiler, do not modify | ||
// </auto-generated> | ||
|
||
namespace ppx | ||
{ | ||
|
||
using global::System; | ||
using global::System.Collections.Generic; | ||
using global::FlatBuffers; | ||
|
||
public struct Binomial : IFlatbufferObject | ||
{ | ||
private Table __p; | ||
public ByteBuffer ByteBuffer { get { return __p.bb; } } | ||
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_1_12_0(); } | ||
public static Binomial GetRootAsBinomial(ByteBuffer _bb) { return GetRootAsBinomial(_bb, new Binomial()); } | ||
public static Binomial GetRootAsBinomial(ByteBuffer _bb, Binomial obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } | ||
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } | ||
public Binomial __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } | ||
|
||
public ppx.Tensor? TotalCount { get { int o = __p.__offset(4); return o != 0 ? (ppx.Tensor?)(new ppx.Tensor()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } | ||
public ppx.Tensor? Probs { get { int o = __p.__offset(6); return o != 0 ? (ppx.Tensor?)(new ppx.Tensor()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } | ||
|
||
public static Offset<ppx.Binomial> CreateBinomial(FlatBufferBuilder builder, | ||
Offset<ppx.Tensor> total_countOffset = default(Offset<ppx.Tensor>), | ||
Offset<ppx.Tensor> probsOffset = default(Offset<ppx.Tensor>)) { | ||
builder.StartTable(2); | ||
Binomial.AddProbs(builder, probsOffset); | ||
Binomial.AddTotalCount(builder, total_countOffset); | ||
return Binomial.EndBinomial(builder); | ||
} | ||
|
||
public static void StartBinomial(FlatBufferBuilder builder) { builder.StartTable(2); } | ||
public static void AddTotalCount(FlatBufferBuilder builder, Offset<ppx.Tensor> totalCountOffset) { builder.AddOffset(0, totalCountOffset.Value, 0); } | ||
public static void AddProbs(FlatBufferBuilder builder, Offset<ppx.Tensor> probsOffset) { builder.AddOffset(1, probsOffset.Value, 0); } | ||
public static Offset<ppx.Binomial> EndBinomial(FlatBufferBuilder builder) { | ||
int o = builder.EndTable(); | ||
return new Offset<ppx.Binomial>(o); | ||
} | ||
}; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// <auto-generated> | ||
// automatically generated by the FlatBuffers compiler, do not modify | ||
// </auto-generated> | ||
|
||
namespace ppx | ||
{ | ||
|
||
using global::System; | ||
using global::System.Collections.Generic; | ||
using global::FlatBuffers; | ||
|
||
public struct Weibull : IFlatbufferObject | ||
{ | ||
private Table __p; | ||
public ByteBuffer ByteBuffer { get { return __p.bb; } } | ||
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_1_12_0(); } | ||
public static Weibull GetRootAsWeibull(ByteBuffer _bb) { return GetRootAsWeibull(_bb, new Weibull()); } | ||
public static Weibull GetRootAsWeibull(ByteBuffer _bb, Weibull obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } | ||
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } | ||
public Weibull __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } | ||
|
||
public ppx.Tensor? Scale { get { int o = __p.__offset(4); return o != 0 ? (ppx.Tensor?)(new ppx.Tensor()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } | ||
public ppx.Tensor? Concentration { get { int o = __p.__offset(6); return o != 0 ? (ppx.Tensor?)(new ppx.Tensor()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } | ||
|
||
public static Offset<ppx.Weibull> CreateWeibull(FlatBufferBuilder builder, | ||
Offset<ppx.Tensor> scaleOffset = default(Offset<ppx.Tensor>), | ||
Offset<ppx.Tensor> concentrationOffset = default(Offset<ppx.Tensor>)) { | ||
builder.StartTable(2); | ||
Weibull.AddConcentration(builder, concentrationOffset); | ||
Weibull.AddScale(builder, scaleOffset); | ||
return Weibull.EndWeibull(builder); | ||
} | ||
|
||
public static void StartWeibull(FlatBufferBuilder builder) { builder.StartTable(2); } | ||
public static void AddScale(FlatBufferBuilder builder, Offset<ppx.Tensor> scaleOffset) { builder.AddOffset(0, scaleOffset.Value, 0); } | ||
public static void AddConcentration(FlatBufferBuilder builder, Offset<ppx.Tensor> concentrationOffset) { builder.AddOffset(1, concentrationOffset.Value, 0); } | ||
public static Offset<ppx.Weibull> EndWeibull(FlatBufferBuilder builder) { | ||
int o = builder.EndTable(); | ||
return new Offset<ppx.Weibull>(o); | ||
} | ||
}; | ||
|
||
|
||
} |
Oops, something went wrong.