ScalarQuantizationParameters Class
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.
Contains the parameters specific to Scalar Quantization.
public class ScalarQuantizationParameters
public class ScalarQuantizationParameters : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.ScalarQuantizationParameters>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.ScalarQuantizationParameters>
type ScalarQuantizationParameters = class
type ScalarQuantizationParameters = class
interface IJsonModel<ScalarQuantizationParameters>
interface IPersistableModel<ScalarQuantizationParameters>
Public Class ScalarQuantizationParameters
Public Class ScalarQuantizationParameters
Implements IJsonModel(Of ScalarQuantizationParameters), IPersistableModel(Of ScalarQuantizationParameters)
- Inheritance
-
ScalarQuantizationParameters
- Implements
Constructors
ScalarQuantizationParameters() |
Initializes a new instance of ScalarQuantizationParameters. |
Properties
QuantizedDataType |
The quantized data type of compressed vector values. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ScalarQuantizationParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ScalarQuantizationParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ScalarQuantizationParameters>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ScalarQuantizationParameters>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ScalarQuantizationParameters>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |