rindow
  • Projects
    Neural Networks Mathematics Framework
  • Blog
  • About

Rindow Neural Networks

Neural networks library for PHP

  1. Rindow Neural Networks
  2. API reference
  3. Dropout

Dropout

  • namespace: Rindow\NeuralNetworks\Layer
  • classname: Dropout

Dropout layer.

Applies Dropout to the input.

Methods

constructor

$builer->Dropout(
    float $rate,
    string $name=null,
)

You can create a Dropout layer instances with the Layer Builder.

Arguments

  • rate: Fraction of the input units to drop.
    • Float between 0 and 1.

Examples

$model->add($nn->layers()->Dropout(0.15));
  • Previous
  • Up
  • Next
Max
BatchNormalization

Search

Contents

  • Home
    • Overview
    • Why do deep learning with PHP?
    • Requirements
    • Note
  • Getting started
  • Installation
  • Tutorials
    • Basic image clasification on PHP
    • Convolutional Neural Network(CNN) on PHP
    • Learning to add numbers with seq2seq on PHP
    • Neural machine translation with attention on PHP
    • Neural machine translation with transformer on PHP
  • How to guide
    • Builders
      • Root Builder
      • Subclass Builders
    • How to use Sequential model
      • Sequential model
      • Specifying the input shape
      • Compilation
      • Training
      • Survey
      • Prediction
    • How to create a custom model
      • Custom model
      • Compilation
      • Training
      • Survey
      • Prediction
    • Automatic Differentiation
      • Automatic Differentiation and Gradients
      • Variables
      • Functions
      • Gradient Calculation
      • Model training
      • Compiling the computational graph
  • API reference

rindow™(2025) All rights reserved.

  • About