MLGruCellOptions constructor

MLGruCellOptions({
  1. MLOperand? bias,
  2. MLOperand? recurrentBias,
  3. bool? resetAfter,
  4. MLRecurrentNetworkWeightLayout? layout,
  5. Iterable<MLOperator>? activations,
})

Implementation

factory MLGruCellOptions(
        {MLOperand? bias,
        MLOperand? recurrentBias,
        bool? resetAfter,
        MLRecurrentNetworkWeightLayout? layout,
        Iterable<MLOperator>? activations}) =>
    MLGruCellOptions._(
        bias: bias ?? undefined,
        recurrentBias: recurrentBias ?? undefined,
        resetAfter: resetAfter ?? true,
        layout: layout?.value ?? MLRecurrentNetworkWeightLayout.zrn.value,
        activations: activations ?? undefined);