MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.layers.gpt.ICustomTokenInput Interface Reference

The ICustomTokenInput interface specifies the interface that all custom token inputs implement. More...

Public Member Functions

List< Tuple< DateTime, int[], int[]> > LoadAllEncoderTokens (CancelEvent evtCancel, Log log, Phase phase, out int nVocabSize)
 Load all encoder tokens and their associated date/time. evtCancel Specifies the cancel event. log Specifies the output log. phase Specifies the phase where the call is running. nVocabSize Specifies the source vocabulary size. More...
 
List< Tuple< DateTime, int[], int[]> > LoadAllDecoderTokens (CancelEvent evtCancel, Log log, Phase phase, out int nVocabSize)
 Load all decoder tokens and their associated date/time. evtCancel Specifies the cancel event. log Specifies the output log. phase Specifies the phase where the call is running. nVocabSize Specifies the target vocabulary size. More...
 

Detailed Description

The ICustomTokenInput interface specifies the interface that all custom token inputs implement.

Definition at line 87 of file Interfaces.cs.

Member Function Documentation

◆ LoadAllDecoderTokens()

List< Tuple< DateTime, int[], int[]> > MyCaffe.layers.gpt.ICustomTokenInput.LoadAllDecoderTokens ( CancelEvent  evtCancel,
Log  log,
Phase  phase,
out int  nVocabSize 
)

Load all decoder tokens and their associated date/time. evtCancel Specifies the cancel event. log Specifies the output log. phase Specifies the phase where the call is running. nVocabSize Specifies the target vocabulary size.

Returns
A tuple containing the decoder source, target and their date/time values is returned.

◆ LoadAllEncoderTokens()

List< Tuple< DateTime, int[], int[]> > MyCaffe.layers.gpt.ICustomTokenInput.LoadAllEncoderTokens ( CancelEvent  evtCancel,
Log  log,
Phase  phase,
out int  nVocabSize 
)

Load all encoder tokens and their associated date/time. evtCancel Specifies the cancel event. log Specifies the output log. phase Specifies the phase where the call is running. nVocabSize Specifies the source vocabulary size.

Returns
A tuple containing the encoder source, target and their date/time values is returned.

The documentation for this interface was generated from the following file: