public static Offset <tflite.ConcatEmbeddingsOptions> CreateConcatEmbeddingsOptions(FlatBufferBuilder builder, int num_channels = 0, VectorOffset num_columns_per_channelOffset = default(VectorOffset), VectorOffset embedding_dim_per_channelOffset = default(VectorOffset)) { builder.StartTable(3); ConcatEmbeddingsOptions.AddEmbeddingDimPerChannel(builder, embedding_dim_per_channelOffset); ConcatEmbeddingsOptions.AddNumColumnsPerChannel(builder, num_columns_per_channelOffset); ConcatEmbeddingsOptions.AddNumChannels(builder, num_channels); return(ConcatEmbeddingsOptions.EndConcatEmbeddingsOptions(builder)); }
public static ConcatEmbeddingsOptions GetRootAsConcatEmbeddingsOptions(ByteBuffer _bb, ConcatEmbeddingsOptions obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }