18 #ifndef itkLayerBase_h
19 #define itkLayerBase_h
37 template<
typename TMeasurementVector,
typename TTargetVector>
52 typedef typename TMeasurementVector::ValueType
ValueType;
108 #ifdef __USE_OLD_INTERFACE
112 void SetLayerType(
const unsigned int value)
134 itkSetMacro(LayerId,
unsigned int);
135 itkGetConstReferenceMacro(LayerId,
unsigned int);
145 virtual void PrintSelf( std::ostream& os, Indent indent )
const ITK_OVERRIDE;
162 #ifndef ITK_MANUAL_INSTANTIATION
163 #include "itkLayerBase.hxx"
virtual ValueType Activation(ValueType)=0
Array class with size defined at construction time.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
This is the itkLayerBase class.
This is the itkWeightSetBase class.
This is the itkTransferFunctionBase class.
TransferFunctionInterfaceType::Pointer m_ActivationFunction
WeightSetInterfaceType::Pointer m_OutputWeightSet
virtual void SetNumberOfNodes(unsigned int)
void SetTransferFunction(TransferFunctionInterfaceType *f)
virtual void SetOutputErrorValues(TTargetVector)
unsigned int m_NumberOfNodes
LayerBase LayerInterfaceType
SmartPointer< Self > Pointer
TTargetVector OutputVectorType
TMeasurementVector InputVectorType
unsigned int GetNumberOfNodes() const
virtual ValueType GetInputValue(unsigned int) const =0
virtual ValueType GetInputErrorValue(unsigned int) const =0
void SetInputWeightSet(WeightSetInterfaceType *)
virtual ValuePointer GetInputErrorVector()=0
TMeasurementVector::ValueType ValueType
virtual ValueType GetOutputErrorValue(unsigned int) const =0
virtual void BackwardPropagate(InternalVectorType)
InputFunctionInterfaceType::Pointer m_NodeInputFunction
virtual void BackwardPropagate()
LayerTypeCode m_LayerTypeCode
virtual ValueType GetOutputValue(unsigned int) const =0
virtual void ForwardPropagate()
const ValueType * ValueConstPointer
SmartPointer< const Self > ConstPointer
virtual void ForwardPropagate(TMeasurementVector)
WeightSetBase< TMeasurementVector, TTargetVector > WeightSetType
void SetNodeInputFunction(InputFunctionInterfaceType *f)
WeightSetInterfaceType::Pointer m_InputWeightSet
vnl_vector< ValueType > NodeVectorType
LightProcessObject Superclass
virtual void SetLayerTypeCode(const LayerTypeCode _arg)
virtual ValueType DActivation(ValueType)=0
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Array< ValueType > InternalVectorType
InputFunctionBase< ValueType *, ValueType > InputFunctionInterfaceType
WeightSetBase< TMeasurementVector, TTargetVector > WeightSetInterfaceType
virtual void SetInputErrorValue(ValueType, unsigned int)
TransferFunctionBase< ValueType > TransferFunctionInterfaceType
virtual LayerTypeCode GetLayerTypeCode() const
virtual ValuePointer GetOutputVector()=0
void SetOutputWeightSet(WeightSetInterfaceType *)