12 #include "ANNLayer.hpp" 13 #include "probes/AdaptiveTimeScaleProbe.hpp" 22 virtual int requireChannel(
int channelNeeded,
int *numChannelsResult)
override;
26 int initialize(
const char *name,
HyPerCol *hc);
27 virtual Response::Status allocateDataStructures()
override;
54 virtual Response::Status updateState(
double time,
double dt)
override;
57 virtual Response::Status updateStateGpu(
double time,
double dt)
override;
60 virtual float getChannelTimeConst(
enum ChannelType channel_type)
override {
61 return timeConstantTau;
65 virtual int allocateUpdateKernel()
override;
72 int initialize_base();
74 PVCuda::CudaBuffer *d_dtAdapt;
79 float timeConstantTau;
81 char *mAdaptiveTimeScaleProbeName =
nullptr;
83 std::vector<double> mDeltaTimes;
virtual void ioParam_timeConstantTau(enum ParamsIOFlag ioFlag)
virtual void ioParam_selfInteract(enum ParamsIOFlag ioFlag)
virtual void ioParam_adaptiveTimeScaleProbe(enum ParamsIOFlag ioFlag)
adaptiveTimeScaleProbe: If using adaptive timesteps, the name of the AdaptiveTimeScaleProbe that will...
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
virtual double getDeltaUpdateTime() override