lossFunction property
GPUTensor<Scalar> Function(GPUTensor<OutputType> , GPUTensor<OutputType> , CommandBuffer, {GPUTensor<Scalar> ? outTensor})?
lossFunction
getter/setter pair
The function used to calculate the loss between the network's output and the target.
Implementation
GPUTensor<Scalar> Function(
GPUTensor<OutputType>, GPUTensor<OutputType>, CommandBuffer,
{GPUTensor<Scalar>? outTensor})? lossFunction;