18 #ifndef itkBackPropagationLayer_h
19 #define itkBackPropagationLayer_h
36 template<
typename TMeasurementVector,
typename TTargetVector>
59 typedef typename Superclass::InputFunctionInterfaceType
61 typedef typename Superclass::TransferFunctionInterfaceType
64 virtual void SetNumberOfNodes(
unsigned int numNodes) ITK_OVERRIDE;
65 virtual ValueType GetInputValue(
unsigned int i)
const ITK_OVERRIDE;
66 virtual void SetInputValue(
unsigned int i,
ValueType value);
68 virtual ValueType GetOutputValue(
unsigned int)
const ITK_OVERRIDE;
69 virtual void SetOutputValue(
unsigned int,
ValueType);
71 virtual ValueType * GetOutputVector() ITK_OVERRIDE;
72 void SetOutputVector(TMeasurementVector value);
74 virtual
void ForwardPropagate() ITK_OVERRIDE;
75 virtual
void ForwardPropagate(TMeasurementVector input) ITK_OVERRIDE;
77 virtual
void BackwardPropagate() ITK_OVERRIDE;
80 virtual
void SetOutputErrorValues(TTargetVector) ITK_OVERRIDE;
81 virtual
ValueType GetOutputErrorValue(
unsigned int node_id) const ITK_OVERRIDE;
83 virtual
ValueType GetInputErrorValue(
unsigned int node_id) const ITK_OVERRIDE;
84 virtual
ValueType * GetInputErrorVector() ITK_OVERRIDE;
85 virtual
void SetInputErrorValue(
ValueType,
unsigned int node_id) ITK_OVERRIDE;
87 virtual ValueType Activation(ValueType) ITK_OVERRIDE;
88 virtual ValueType DActivation(ValueType) ITK_OVERRIDE;
91 itkSetMacro( Bias, ValueType );
92 itkGetConstReferenceMacro( Bias, ValueType );
98 virtual ~BackPropagationLayer() ITK_OVERRIDE;
101 virtual
void PrintSelf( std::ostream& os,
Indent indent ) const ITK_OVERRIDE;
115 #ifndef ITK_MANUAL_INSTANTIATION
116 #include "itkBackPropagationLayer.hxx"
This is the itkLayerBase class.
Light weight base class for most itk classes.
BackPropagationLayer Self
LayerBase< TMeasurementVector, TTargetVector > Superclass
Superclass::TransferFunctionInterfaceType TransferFunctionInterfaceType
Superclass::ValueType ValueType
TMeasurementVector::ValueType ValueType
This is the itkBackPropagationLayer class.
Superclass::LayerInterfaceType LayerInterfaceType
Superclass::InputFunctionInterfaceType InputFunctionInterfaceType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
CompletelyConnectedWeightSet< TMeasurementVector, TTargetVector > WeightSetType
This is the itkCompletelyConnectedWeightSet class.
Control indentation during Print() invocation.
Superclass::InternalVectorType InternalVectorType
Superclass::WeightSetInterfaceType WeightSetInterfaceType
Superclass::OutputVectorType OutputVectorType
vnl_vector< ValueType > NodeVectorType