@sourceacademy/torch
    Preparing search index...

    Class Sequential

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    training: boolean = true

    Methods

    • Entry point for running the module. Equivalent to model(x) in Python. In the future, this is where forward hooks will be triggered. Call forward() directly to bypass hooks.

      Parameters

      Returns Tensor

    • Parameters

      • mode: boolean = true

      Returns this