mlp
Structs
Struct: MLP
Fields
-
weights
:List[Array]
-
biases
:List[Array]
-
hidden_dims
:List[Int]
-
num_layers
:Int
-
compute_backward
:Bool
Methods
__init__(out self, hidden_dims: List[Int], compute_backward: Bool = False)
forward(self, x: Array) -> Array
params(self) -> List[Array]
__str__(self) -> String
Functions
mlp
mlp(args: List[Array]) -> Array
Last updated on