public static Offset <tflite.SparsityParameters> CreateSparsityParameters(FlatBufferBuilder builder, VectorOffset traversal_orderOffset = default(VectorOffset), VectorOffset block_mapOffset = default(VectorOffset), VectorOffset dim_metadataOffset = default(VectorOffset)) { builder.StartTable(3); SparsityParameters.AddDimMetadata(builder, dim_metadataOffset); SparsityParameters.AddBlockMap(builder, block_mapOffset); SparsityParameters.AddTraversalOrder(builder, traversal_orderOffset); return(SparsityParameters.EndSparsityParameters(builder)); }
public static SparsityParameters GetRootAsSparsityParameters(ByteBuffer _bb, SparsityParameters obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }