語言

MLP 類別

定義

MLP(多層感知器)層。

public class MLP : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
type MLP = class
    inherit torch.nn.Module<torch.Tensor, torch.Tensor>
Public Class MLP
Inherits torch.nn.Module(Of torch.Tensor, torch.Tensor)
繼承
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
MLP

建構函式

名稱 Description
MLP(Int32, Nullable<Int32>, Nullable<Int32>, Double)

初始化 MLP 類別的新執行個體。

方法

名稱 Description
Dispose(Boolean)

MLP(多層感知器)層。

forward(torch+Tensor)

MLP(多層感知器)層。

適用於