hxtorch.perceptron.nn.Layer

class hxtorch.perceptron.nn.Layer(mock: bool = False)

Bases: object

Base class of all layers in hxtorch.nn.

__init__(mock: bool = False)
Parameters

mock – Enable mock mode.

Methods

__init__([mock])

param mock

Enable mock mode.