コード例 #1
0
    class Config(IntentSlotModel.Config):
        class ModelInput(IntentSlotModel.Config.ModelInput):

            seq_tokens: Optional[
                SeqTokenTensorizer.Config] = SeqTokenTensorizer.Config()

        inputs: ModelInput = ModelInput()
        seq_embedding: Optional[WordEmbedding.Config] = WordEmbedding.Config()
        representation: ContextualIntentSlotRepresentation.Config = ContextualIntentSlotRepresentation.Config(
        )
コード例 #2
0
 class Config(JointModel.Config):
     representation: ContextualIntentSlotRepresentation.Config = ContextualIntentSlotRepresentation.Config(
     )