BinaryEmbedding(BitArray) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the BinaryEmbedding class with the embedding vector.
public:
BinaryEmbedding(System::Collections::BitArray ^ vector);
public BinaryEmbedding(System.Collections.BitArray vector);
new Microsoft.Extensions.AI.BinaryEmbedding : System.Collections.BitArray -> Microsoft.Extensions.AI.BinaryEmbedding
Public Sub New (vector As BitArray)
Parameters
- vector
- BitArray
The embedding vector this embedding represents.
Exceptions
vector
is null
.