MLP

class MLP<T : DType, V>(modules: Module<T, V>, val name: String = "FeedForwardNetwork") : Module<T, V> , ModuleParameters<T, V> (source)

Constructors

Link copied to clipboard
constructor(vararg modules: Module<T, V>, name: String = "FeedForwardNetwork")

Properties

Link copied to clipboard
open override val modules: List<Module<T, V>>
Link copied to clipboard
open override val name: String

Human-readable name of the node, typically the module's name.

Link copied to clipboard
open override val params: List<ModuleParameter<T, V>>

Parameters owned by this node (weights, biases, etc.).

Functions

Link copied to clipboard
open override fun forward(input: Tensor<T, V>, ctx: ExecutionContext): Tensor<T, V>