Exemple #1
0
 public static Offset <TensorDim> CreateTensorDim(FlatBufferBuilder builder,
                                                  long size = 0,
                                                  StringOffset nameOffset = default(StringOffset))
 {
     builder.StartObject(2);
     TensorDim.AddSize(builder, size);
     TensorDim.AddName(builder, nameOffset);
     return(TensorDim.EndTensorDim(builder));
 }
Exemple #2
0
 public static TensorDim GetRootAsTensorDim(ByteBuffer _bb, TensorDim obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }