PetaVision
Alpha
Main Page
Data Structures
PtwiseQuotientLayer.hpp
1
/*
2
* PtwiseQuotientLayer.hpp
3
*
4
* created by gkenyon, 06/2016g
5
* based on PtwiseProductLayer Created on: Apr 25, 2011
6
* Author: peteschultz
7
*/
8
9
#ifndef PTWISEQUOTIENTLAYER_HPP_
10
#define PTWISEQUOTIENTLAYER_HPP_
11
12
#include "ANNLayer.hpp"
13
14
namespace
PV
{
15
23
class
PtwiseQuotientLayer
:
public
ANNLayer
{
24
public
:
25
PtwiseQuotientLayer
(
const
char
*name,
HyPerCol
*hc);
26
virtual
~
PtwiseQuotientLayer
();
27
28
virtual
Response::Status allocateDataStructures()
override
;
29
virtual
Response::Status updateState(
double
timef,
double
dt)
override
;
30
31
protected
:
32
PtwiseQuotientLayer
();
33
int
initialize(
const
char
*name,
HyPerCol
*hc);
34
35
/* static */
void
doUpdateState(
36
double
timef,
37
double
dt,
38
const
PVLayerLoc
*loc,
39
float
*A,
40
float
*V,
41
int
num_channels,
42
float
*gSynHead);
43
44
private
:
45
int
initialize_base();
46
};
// end class PtwiseQuotientLayer
47
48
}
// end namespace PV
49
50
#endif
/* PTWISEQUOTIENTLAYER_HPP_ */
PV::HyPerCol
Definition:
HyPerCol.hpp:41
PV::PtwiseQuotientLayer
Definition:
PtwiseQuotientLayer.hpp:23
PVLayerLoc_
Definition:
PVLayerLoc.h:21
PV::ANNLayer
Definition:
ANNLayer.hpp:19
PV
Definition:
CheckpointableFileStream.cpp:3
OpenPV
src
layers
PtwiseQuotientLayer.hpp
Generated by
1.8.11