WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

the EncoderProcessorDecoder forward types #57

@marjanfamili

Description

@marjanfamili

The encoder outputs the type of TensorBMStarL :

    def encode(self, x: Batch) -> TensorBMStarL:
        return self.encoder_decoder.encoder(x)

The forwards pass of the EncoderProcessorDecoder is :

    def forward(self, batch: Batch) -> TensorBTSPlusC:
        return self.decode(self.processor(self.encode(batch)))

however the processor should expect EncodedBatch, Is this all correct ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions