Main Content

사용자 지정 훈련 루프

시퀀스 및 테이블 형식 데이터를 위한 딥러닝 훈련 루프 및 손실 함수 사용자 지정

trainingOptions 함수가 작업에 필요한 훈련 옵션을 제공하지 않거나 사용자 지정한 출력 계층이 필요한 손실 함수를 지원하지 않을 경우에는 사용자 지정 훈련 루프를 정의할 수 있습니다. 계층 그래프를 사용하여 만들 수 없는 신경망의 경우 사용자 지정 신경망을 함수로 정의할 수 있습니다. 자세한 내용은 사용자 지정 훈련 루프, 손실 함수 및 신경망 정의 항목을 참조하십시오.

함수

모두 확장

dlnetworkDeep learning network for custom training loops
trainingProgressMonitorMonitor and plot training progress for deep learning custom training loops
minibatchqueueCreate mini-batches for deep learning
padsequencesPad or truncate sequence data to same length
dlarray사용자 지정을 위한 딥러닝 배열
dlgradientCompute gradients for custom training loops using automatic differentiation
dlfevalEvaluate deep learning model for custom training loops
crossentropyCross-entropy loss for classification tasks
l1lossL1 loss for regression tasks
l2lossL2 loss for regression tasks
huberHuber loss for regression tasks
mseHalf mean squared error
ctcConnectionist temporal classification (CTC) loss for unaligned sequence classification
dlconvDeep learning convolution
dltranspconvDeep learning transposed convolution
lstm장단기 기억
gruGated recurrent unit
attentionDot-product attention
embedEmbed discrete data
fullyconnectSum all weighted input data and apply a bias
dlode45Deep learning solution of nonstiff ordinary differential equation (ODE)
batchnormNormalize data across all observations for each channel independently
crosschannelnormCross channel square-normalize using local responses
groupnormNormalize data across grouped subsets of channels for each observation independently
instancenormNormalize across each channel for each observation independently
layernormNormalize data across all channels for each observation independently
avgpoolPool data to average values over spatial dimensions
maxpoolPool data to maximum value
maxunpoolUnpool the output of a maximum pooling operation
reluReLU(Rectified Linear Unit) 활성화 적용
leakyreluApply leaky rectified linear unit activation
geluApply Gaussian error linear unit (GELU) activation
softmaxApply softmax activation to channel dimension
sigmoid시그모이드 활성화 적용

도움말 항목

사용자 지정 훈련 루프

자동 미분