$allocate static method
Implementation
static ffi.Pointer<MpEmbedding> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Float> float_embedding,
required ffi.Pointer<ffi.Char> quantized_embedding,
required int values_count,
required int head_index,
required ffi.Pointer<ffi.Char> head_name,
}) => $allocator<MpEmbedding>()
..ref.float_embedding = float_embedding
..ref.quantized_embedding = quantized_embedding
..ref.values_count = values_count
..ref.head_index = head_index
..ref.head_name = head_name;