C# 클래스 VW.Serializer.VowpalWabbitMarshalContext

Context containing state during example marshalling.
상속: IDisposable
파일 보기 프로젝트 열기: NativoPlatform/vowpal_wabbit 1 사용 예제들

공개 메소드들

메소드 설명
AppendStringExample ( bool dictify, string format ) : void

Formats args based on format to the string example buffer.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

VowpalWabbitMarshalContext ( IVowpalWabbitExamplePool vwPool, string>.Dictionary dictionary = null, string>.Dictionary fastDictionary = null ) : System

Initializes a new instance of the VowpalWabbitMarshalContext class.

VowpalWabbitMarshalContext ( VowpalWabbit vw, VowpalWabbitExampleBuilder exampleBuilder, string>.Dictionary dictionary = null, string>.Dictionary fastDictionary = null ) : System

Initializes a new instance of the VowpalWabbitMarshalContext class.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

AppendStringExample() 공개 메소드

Formats args based on format to the string example buffer.
public AppendStringExample ( bool dictify, string format ) : void
dictify bool If true, performs dictionarization on the serialized string and inserts a surrogate.
format string The string format used to serialize .
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

VowpalWabbitMarshalContext() 공개 메소드

Initializes a new instance of the VowpalWabbitMarshalContext class.
public VowpalWabbitMarshalContext ( IVowpalWabbitExamplePool vwPool, string>.Dictionary dictionary = null, string>.Dictionary fastDictionary = null ) : System
vwPool IVowpalWabbitExamplePool
dictionary string>.Dictionary Dictionary used for dictify operation.
fastDictionary string>.Dictionary Dictionary used for dictify operation.
리턴 System

VowpalWabbitMarshalContext() 공개 메소드

Initializes a new instance of the VowpalWabbitMarshalContext class.
public VowpalWabbitMarshalContext ( VowpalWabbit vw, VowpalWabbitExampleBuilder exampleBuilder, string>.Dictionary dictionary = null, string>.Dictionary fastDictionary = null ) : System
vw VowpalWabbit The VW instance the example will be imported to.
exampleBuilder VowpalWabbitExampleBuilder A shared example builder.
dictionary string>.Dictionary Dictionary used for dictify operation.
fastDictionary string>.Dictionary Dictionary used for dictify operation.
리턴 System