Home
last modified time | relevance | path

Searched refs:fanIn (Results 1 – 25 of 41) sorted by relevance

12

/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/src/NeuralNet/Initializers/
H A DXavier2.php30 * @param int $fanIn
34 public function initialize(int $fanIn, int $fanOut) : Matrix argument
36 return Matrix::uniform($fanOut, $fanIn)
37 ->multiply((6.0 / ($fanOut + $fanIn)) ** 0.25);
H A DLeCun.php29 * @param int $fanIn
33 public function initialize(int $fanIn, int $fanOut) : Matrix argument
35 return Matrix::uniform($fanOut, $fanIn)
36 ->multiply(sqrt(3 / $fanIn));
H A DXavier1.php30 * @param int $fanIn
34 public function initialize(int $fanIn, int $fanOut) : Matrix argument
36 return Matrix::uniform($fanOut, $fanIn)
37 ->multiply(sqrt(6.0 / ($fanOut + $fanIn)));
H A DHe.php37 * @param int $fanIn
41 public function initialize(int $fanIn, int $fanOut) : Matrix argument
43 return Matrix::uniform($fanOut, $fanIn)
44 ->multiply((6.0 / ($fanOut + $fanIn)) ** self::ETA);
H A DConstant.php45 * @param int $fanIn
49 public function initialize(int $fanIn, int $fanOut) : Matrix argument
51 return Matrix::fill($this->value, $fanOut, $fanIn);
H A DNormal.php46 * @param int $fanIn
50 public function initialize(int $fanIn, int $fanOut) : Matrix argument
52 return Matrix::gaussian($fanOut, $fanIn)->multiply($this->stdDev);
H A DUniform.php46 * @param int $fanIn
50 public function initialize(int $fanIn, int $fanOut) : Matrix argument
52 return Matrix::uniform($fanOut, $fanIn)->multiply($this->beta);
H A DInitializer.php22 * @param int $fanIn
26 public function initialize(int $fanIn, int $fanOut) : Matrix; argument
/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/src/NeuralNet/Layers/
H A DContinuous.php62 * @param int $fanIn
66 public function initialize(int $fanIn) : int argument
68 if ($fanIn !== 1) {
70 . " equal to 1, $fanIn given.");
H A DBinary.php100 * @param int $fanIn
104 public function initialize(int $fanIn) : int argument
106 if ($fanIn !== 1) {
108 . " equal to 1, $fanIn given.");
H A DMulticlass.php101 * @param int $fanIn
105 public function initialize(int $fanIn) : int argument
109 if ($fanIn !== $fanOut) {
112 . " $fanIn given.");
H A DNoise.php79 * @param int $fanIn
82 public function initialize(int $fanIn) : int argument
84 $fanOut = $fanIn;
H A DDropout.php95 * @param int $fanIn
98 public function initialize(int $fanIn) : int argument
100 $fanOut = $fanIn;
H A DActivation.php82 * @param int $fanIn
85 public function initialize(int $fanIn) : int argument
87 $fanOut = $fanIn;
H A DLayer.php24 * @param int $fanIn
27 public function initialize(int $fanIn) : int; argument
/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/tests/NeuralNet/Layers/
H A DNoiseTest.php24 protected $fanIn; variable in Rubix\\ML\\Tests\\NeuralNet\\Layers\\NoiseTest
51 $this->fanIn = 3;
89 $this->layer->initialize($this->fanIn);
91 $this->assertEquals($this->fanIn, $this->layer->width());
H A DDropoutTest.php24 protected $fanIn; variable in Rubix\\ML\\Tests\\NeuralNet\\Layers\\DropoutTest
51 $this->fanIn = 3;
89 $this->layer->initialize($this->fanIn);
91 $this->assertEquals($this->fanIn, $this->layer->width());
H A DActivationTest.php23 protected $fanIn; variable in Rubix\\ML\\Tests\\NeuralNet\\Layers\\ActivationTest
50 $this->fanIn = 3;
86 $this->layer->initialize($this->fanIn);
88 $this->assertEquals($this->fanIn, $this->layer->width());
H A DPReLUTest.php26 protected $fanIn; variable in Rubix\\ML\\Tests\\NeuralNet\\Layers\\PReLUTest
53 $this->fanIn = 3;
92 $this->layer->initialize($this->fanIn);
94 $this->assertEquals($this->fanIn, $this->layer->width());
H A DBatchNormTest.php24 protected $fanIn; variable in Rubix\\ML\\Tests\\NeuralNet\\Layers\\BatchNormTest
51 $this->fanIn = 3;
88 $this->layer->initialize($this->fanIn);
90 $this->assertEquals($this->fanIn, $this->layer->width());
H A DDenseTest.php27 protected $fanIn; variable in Rubix\\ML\\Tests\\NeuralNet\\Layers\\DenseTest
54 $this->fanIn = 3;
92 $this->layer->initialize($this->fanIn);
/dports/misc/mnn/MNN-1.2.0/tools/train/source/nn/
H A DInitializer.cpp81 int fanIn = count / dims[0]; in onExecute() local
83 float n = fanIn; // default: FANIN in onExecute()
85 n = (fanIn + fanOut) / 2.0f; in onExecute()
134 int fanIn = count / dims[0]; in onExecute() local
136 float n = fanIn; // default: FANIN in onExecute()
138 n = (fanIn + fanOut) / 2.0f; in onExecute()
/dports/misc/mnn/MNN-1.2.0/tools/train/source/parameters/
H A DInitializer.cpp81 int fanIn = count / dims[0]; in onExecute() local
83 float n = fanIn; // default: FANIN in onExecute()
85 n = (fanIn + fanOut) / 2.0f; in onExecute()
134 int fanIn = count / dims[0]; in onExecute() local
136 float n = fanIn; // default: FANIN in onExecute()
138 n = (fanIn + fanOut) / 2.0f; in onExecute()
/dports/editors/libreoffice/libreoffice-7.2.6.2/slideshow/source/engine/transitions/
H A Dfanwipe.hxx32 FanWipe( bool center, bool single = true, bool fanIn = false ) in FanWipe() argument
33 : m_center(center), m_single(single), m_fanIn(fanIn) {} in FanWipe()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/slideshow/source/engine/transitions/
H A Dfanwipe.hxx33 FanWipe( bool center, bool single = true, bool fanIn = false ) in FanWipe() argument
34 : m_center(center), m_single(single), m_fanIn(fanIn) {} in FanWipe()

12