CachingEmbeddingGenerator<TInput,TEmbedding>.GetCacheKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算指定值的快取鍵。
protected:
abstract System::String ^ GetCacheKey(ReadOnlySpan<System::Object ^> values);
protected abstract string GetCacheKey(scoped ReadOnlySpan<object?> values);
abstract member GetCacheKey : ReadOnlySpan<obj> -> string
Protected MustOverride Function GetCacheKey (values As ReadOnlySpan(Of Object)) As String
參數
- values
- ReadOnlySpan<Object>
這些數值用來決定鍵。
傳回
計算出的金鑰。