18 #ifndef itkLayerBase_h 19 #define itkLayerBase_h 37 template<
typename TMeasurementVector,
typename TTargetVector>
52 typedef typename TMeasurementVector::ValueType
ValueType;
89 itkGetModifiableObjectMacro(InputWeightSet, WeightSetInterfaceType);
93 itkGetModifiableObjectMacro(OutputWeightSet, WeightSetInterfaceType);
96 itkGetModifiableObjectMacro(NodeInputFunction, InputFunctionInterfaceType);
99 itkGetModifiableObjectMacro(ActivationFunction, TransferFunctionInterfaceType);
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.
This is the itkLayerBase class.
This is the itkWeightSetBase class.
virtual ValueType GetInputErrorValue(unsigned int) const =0
virtual ValueType GetOutputValue(unsigned int) const =0
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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TTargetVector OutputVectorType
TMeasurementVector InputVectorType
unsigned int GetNumberOfNodes() const
void SetInputWeightSet(WeightSetInterfaceType *)
virtual ValuePointer GetInputErrorVector()=0
TMeasurementVector::ValueType ValueType
virtual void BackwardPropagate(InternalVectorType)
InputFunctionInterfaceType::Pointer m_NodeInputFunction
virtual void BackwardPropagate()
LayerTypeCode m_LayerTypeCode
virtual ValueType GetInputValue(unsigned int) const =0
virtual void ForwardPropagate()
const ValueType * ValueConstPointer
virtual ValueType GetOutputErrorValue(unsigned int) const =0
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...
Control indentation during Print() invocation.
Array< ValueType > InternalVectorType
InputFunctionBase< ValueType *, ValueType > InputFunctionInterfaceType
WeightSetBase< TMeasurementVector, TTargetVector > WeightSetInterfaceType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetInputErrorValue(ValueType, unsigned int)
TransferFunctionBase< ValueType > TransferFunctionInterfaceType
virtual LayerTypeCode GetLayerTypeCode() const
virtual ValuePointer GetOutputVector()=0
void SetOutputWeightSet(WeightSetInterfaceType *)