PLearn 0.1
|
#include <UnaryVariable.h>
Inherits PLearn::Variable.
Inherited by PLearn::AbsVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::BernoulliSampleVariable, PLearn::ColumnSumVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DiagVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::NoBpropVariable, PLearn::NonDiagVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::RunICPVariable, PLearn::SaltPepperNoiseVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TraceVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnarySampleVariable, PLearn::UnequalConstantVariable, and PLearn::VecElementVariable.
Public Member Functions | |
UnaryVariable () | |
Default constructor for persistence. | |
UnaryVariable (Variable *v, int thelength, int thewidth, bool call_build_=true) | |
Convenience constructor. | |
virtual string | classname () const |
virtual OptionList & | getOptionList () const |
virtual OptionMap & | getOptionMap () const |
virtual RemoteMethodMap & | getRemoteMethodMap () const |
virtual UnaryVariable * | deepCopy (CopiesMap &copies) const |
virtual void | build () |
Post-constructor. | |
void | setInput (Var the_input) |
Set this Variable's input (simply call build after setting the new input). | |
virtual void | setParents (const VarArray &parents) |
set this Variable's parents. To use with default constructor. | |
virtual void | makeDeepCopyFromShallowCopy (CopiesMap &copies) |
Does the necessary operations to transform a shallow copy (this) into a deep copy by deep-copying all the members that need to be. | |
virtual bool | markPath () |
Sets the marked flag of all the sVariable that are to be in the fprop path. | |
virtual void | buildPath (VarArray &proppath) |
Finally buildPath is to be called from the output Variable of interest (this will build the proppath at the same time as erasing the marks) | |
virtual VarArray | sources () |
if not marked, find all constant sources that influence this Variable. | |
virtual VarArray | random_sources () |
return ancestors which compute a non-deterministic function of their parents | |
virtual VarArray | ancestors () |
if not marked, find all Variables that influence this Variable. | |
virtual void | unmarkAncestors () |
undo any marking done by a call to sources() or ancestors() | |
virtual void | fprop () |
Nothing to do by default. | |
virtual void | bprop () |
Nothing to do by default. | |
virtual VarArray | parents () |
returns all the direct parents of this Var that are not marked (the call doesn't change any mark) | |
void | printInfo (bool print_gradient) |
virtual void | resizeRValue () |
void | checkContiguity () const |
will issue a PLERROR if any of the input or current value or gradient matrices are not contiguous. | |
Static Public Member Functions | |
static string | _classname_ () |
static OptionList & | _getOptionList_ () |
static RemoteMethodMap & | _getRemoteMethodMap_ () |
static Object * | _new_instance_for_typemap_ () |
static bool | _isa_ (const Object *o) |
static void | _static_initialize_ () |
static const PPath & | declaringFile () |
Static Public Attributes | |
static StaticInitializer | _static_initializer_ |
Static Protected Member Functions | |
static void | declareOptions (OptionList &ol) |
Declare options (data fields) for the class. | |
Protected Attributes | |
Var | input |
Private Types | |
typedef Variable | inherited |
Private Member Functions | |
void | build_ () |
Object-specific post-constructor. |
Definition at line 52 of file UnaryVariable.h.
typedef Variable PLearn::UnaryVariable::inherited [private] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 54 of file UnaryVariable.h.
PLearn::UnaryVariable::UnaryVariable | ( | ) | [inline] |
string PLearn::UnaryVariable::_classname_ | ( | ) | [static] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
OptionList & PLearn::UnaryVariable::_getOptionList_ | ( | ) | [static] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
RemoteMethodMap & PLearn::UnaryVariable::_getRemoteMethodMap_ | ( | ) | [static] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
Object * PLearn::UnaryVariable::_new_instance_for_typemap_ | ( | ) | [static] |
Reimplemented from PLearn::Object.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
StaticInitializer UnaryVariable::_static_initializer_ & PLearn::UnaryVariable::_static_initialize_ | ( | ) | [static] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
VarArray PLearn::UnaryVariable::ancestors | ( | ) | [virtual] |
if not marked, find all Variables that influence this Variable.
Implements PLearn::Variable.
Definition at line 169 of file UnaryVariable.cc.
References input, PLearn::Variable::marked, and PLearn::Variable::Var.
virtual void PLearn::UnaryVariable::bprop | ( | ) | [inline, virtual] |
Nothing to do by default.
Implements PLearn::Variable.
Reimplemented in PLearn::UnarySampleVariable, PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 87 of file UnaryVariable.h.
void PLearn::UnaryVariable::build | ( | ) | [virtual] |
Post-constructor.
The normal implementation should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object.
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::DeterminantVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::MatRowVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::PDistributionVariable, PLearn::PlusConstantVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::SoftplusVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::ThresholdBpropVariable, PLearn::UnaryHardSlopeVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 69 of file UnaryVariable.cc.
References PLearn::Variable::build(), and build_().
Referenced by PLearn::VecElementVariable::build(), PLearn::UnaryHardSlopeVariable::build(), PLearn::TraceVariable::build(), PLearn::ThresholdBpropVariable::build(), PLearn::SumEntropyOfCategoricals::build(), PLearn::SumEntropyOfBernoullis::build(), PLearn::SubsampleVariable::build(), PLearn::SubMatVariable::build(), PLearn::SubMatTransposeVariable::build(), PLearn::SquareVariable::build(), PLearn::SoftplusVariable::build(), PLearn::SaltPepperNoiseVariable::build(), PLearn::RunICPVariable::build(), PLearn::RowSumSquareVariable::build(), PLearn::RowOfVariable::build(), PLearn::RightPseudoInverseVariable::build(), PLearn::ReshapeVariable::build(), PLearn::RandomForcedValuesVariable::build(), PLearn::ProbabilityPairsVariable::build(), PLearn::ProbabilityPairsInverseVariable::build(), PLearn::PlusConstantVariable::build(), PLearn::PDistributionVariable::build(), PLearn::OneHotVariable::build(), PLearn::NonDiagVariable::build(), PLearn::NoBpropVariable::build(), PLearn::NegateElementsVariable::build(), PLearn::MultiSampleVariable::build(), PLearn::MultiMaxVariable::build(), PLearn::MatRowVariable::build(), PLearn::LogSoftmaxVariable::build(), PLearn::LeftPseudoInverseVariable::build(), PLearn::IsMissingVariable::build(), PLearn::InterValuesVariable::build(), PLearn::InsertZerosVariable::build(), PLearn::ExtractVariable::build(), PLearn::ExtendedVariable::build(), PLearn::DuplicateScalarVariable::build(), PLearn::DuplicateRowVariable::build(), PLearn::DuplicateColumnVariable::build(), PLearn::DiagVariable::build(), PLearn::DeterminantVariable::build(), PLearn::Cov2CorrVariable::build(), PLearn::ConstrainVariable::build(), PLearn::BernoulliSampleVariable::build(), PLearn::AdditiveGaussianNoiseVariable::build(), and setInput().
{ inherited::build(); build_(); }
void PLearn::UnaryVariable::build_ | ( | ) | [private] |
Object-specific post-constructor.
This method should be redefined in subclasses and do the actual building of the object according to previously set option fields. Constructors can just set option fields, and then call build_. This method is NOT virtual, and will typically be called only from three places: a constructor, the public virtual build()
method, and possibly the public virtual read method (which calls its parent's read). build_()
can assume that its parent's build_()
has already been called.
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::DeterminantVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::MatRowVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::PDistributionVariable, PLearn::PlusConstantVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::SoftplusVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::ThresholdBpropVariable, PLearn::UnaryHardSlopeVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 78 of file UnaryVariable.cc.
Referenced by build(), and UnaryVariable().
{
// Nothing to do here.
}
void PLearn::UnaryVariable::buildPath | ( | VarArray & | proppath | ) | [virtual] |
Finally buildPath is to be called from the output Variable of interest (this will build the proppath at the same time as erasing the marks)
Implements PLearn::Variable.
Definition at line 132 of file UnaryVariable.cc.
References PLearn::TVec< T >::append(), PLearn::Variable::clearMark(), input, PLearn::Variable::marked, and PLearn::Variable::Var.
{ if(marked) { input->buildPath(proppath); //cout<<"add :"<<this->getName()<<endl; proppath.append(Var(this)); clearMark(); } }
void PLearn::UnaryVariable::checkContiguity | ( | ) | const |
will issue a PLERROR if any of the input or current value or gradient matrices are not contiguous.
Definition at line 143 of file UnaryVariable.cc.
References input, PLearn::TMat< T >::isNotContiguous(), PLearn::Variable::matGradient, PLearn::Variable::matValue, and PLERROR.
Referenced by PLearn::AdditiveGaussianNoiseVariable::fprop(), PLearn::BernoulliSampleVariable::fprop(), PLearn::SaltPepperNoiseVariable::fprop(), and PLearn::RandomForcedValuesVariable::fprop().
{ if(matValue.isNotContiguous() || input->matValue.isNotContiguous() || matGradient.isNotContiguous() || input->matGradient.isNotContiguous()) PLERROR("operation not currently implemented for non-contiguous matrix data"); }
string PLearn::UnaryVariable::classname | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Reimplemented in PLearn::UnarySampleVariable, PLearn::MultinomialSampleVariable, PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
void PLearn::UnaryVariable::declareOptions | ( | OptionList & | ol | ) | [static, protected] |
Declare options (data fields) for the class.
Redefine this in subclasses: call declareOption
(...) for each option, and then call inherited::declareOptions(options)
. Please call the inherited
method AT THE END to get the options listed in a consistent order (from most recently defined to least recently defined).
static void MyDerivedClass::declareOptions(OptionList& ol) { declareOption(ol, "inputsize", &MyObject::inputsize_, OptionBase::buildoption, "The size of the input; it must be provided"); declareOption(ol, "weights", &MyObject::weights, OptionBase::learntoption, "The learned model weights"); inherited::declareOptions(ol); }
ol | List of options that is progressively being constructed for the current class. |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AffineTransformWeightPenalty, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::Cov2CorrVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::ExtendedVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::MatRowVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::PDistributionVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RowOfVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 101 of file UnaryVariable.cc.
References PLearn::OptionBase::buildoption, PLearn::declareOption(), PLearn::Variable::declareOptions(), and input.
Referenced by PLearn::VecElementVariable::declareOptions(), PLearn::UnequalConstantVariable::declareOptions(), PLearn::UnaryHardSlopeVariable::declareOptions(), PLearn::TimesConstantVariable::declareOptions(), PLearn::ThresholdBpropVariable::declareOptions(), PLearn::SumEntropyOfCategoricals::declareOptions(), PLearn::SumEntropyOfBernoullis::declareOptions(), PLearn::SubsampleVariable::declareOptions(), PLearn::SubMatVariable::declareOptions(), PLearn::SubMatTransposeVariable::declareOptions(), PLearn::SaltPepperNoiseVariable::declareOptions(), PLearn::RunICPVariable::declareOptions(), PLearn::RowOfVariable::declareOptions(), PLearn::ReshapeVariable::declareOptions(), PLearn::RandomForcedValuesVariable::declareOptions(), PLearn::ProbabilityPairsVariable::declareOptions(), PLearn::ProbabilityPairsInverseVariable::declareOptions(), PLearn::PowVariable::declareOptions(), PLearn::PlusConstantVariable::declareOptions(), PLearn::PDistributionVariable::declareOptions(), PLearn::OneHotVariable::declareOptions(), PLearn::NoBpropVariable::declareOptions(), PLearn::MultiSampleVariable::declareOptions(), PLearn::MultiMaxVariable::declareOptions(), PLearn::MatRowVariable::declareOptions(), PLearn::IsMissingVariable::declareOptions(), PLearn::IsAboveThresholdVariable::declareOptions(), PLearn::ExtendedVariable::declareOptions(), PLearn::EqualConstantVariable::declareOptions(), PLearn::DuplicateScalarVariable::declareOptions(), PLearn::DuplicateRowVariable::declareOptions(), PLearn::DuplicateColumnVariable::declareOptions(), PLearn::CutBelowThresholdVariable::declareOptions(), PLearn::CutAboveThresholdVariable::declareOptions(), PLearn::Cov2CorrVariable::declareOptions(), PLearn::BernoulliSampleVariable::declareOptions(), and PLearn::AdditiveGaussianNoiseVariable::declareOptions().
{ declareOption(ol, "input", &UnaryVariable::input, OptionBase::buildoption, "The parent variable that this one depends on\n"); inherited::declareOptions(ol); }
static const PPath& PLearn::UnaryVariable::declaringFile | ( | ) | [inline, static] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 69 of file UnaryVariable.h.
{}
UnaryVariable * PLearn::UnaryVariable::deepCopy | ( | CopiesMap & | copies | ) | const [virtual] |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::MultinomialSampleVariable, PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
virtual void PLearn::UnaryVariable::fprop | ( | ) | [inline, virtual] |
Nothing to do by default.
Implements PLearn::Variable.
Reimplemented in PLearn::MultinomialSampleVariable, PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 86 of file UnaryVariable.h.
OptionList & PLearn::UnaryVariable::getOptionList | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
OptionMap & PLearn::UnaryVariable::getOptionMap | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
RemoteMethodMap & PLearn::UnaryVariable::getRemoteMethodMap | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, PLearn::NoBpropVariable, and PLearn::RunICPVariable.
Definition at line 52 of file UnaryVariable.cc.
void PLearn::UnaryVariable::makeDeepCopyFromShallowCopy | ( | CopiesMap & | copies | ) | [virtual] |
Does the necessary operations to transform a shallow copy (this) into a deep copy by deep-copying all the members that need to be.
This needs to be overridden by every class that adds "complex" data members to the class, such as Vec
, Mat
, PP<Something>
, etc. Typical implementation:
void CLASS_OF_THIS::makeDeepCopyFromShallowCopy(CopiesMap& copies) { inherited::makeDeepCopyFromShallowCopy(copies); deepCopyField(complex_data_member1, copies); deepCopyField(complex_data_member2, copies); ... }
copies | A map used by the deep-copy mechanism to keep track of already-copied objects. |
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::InsertZerosVariable, PLearn::IsMissingVariable, PLearn::LogSumVariable, PLearn::MatRowVariable, PLearn::PDistributionVariable, PLearn::RowOfVariable, PLearn::VecElementVariable, and PLearn::RunICPVariable.
Definition at line 117 of file UnaryVariable.cc.
References input, PLearn::Variable::makeDeepCopyFromShallowCopy(), and PLearn::varDeepCopyField().
Referenced by PLearn::MultinomialSampleVariable::deepCopy(), PLearn::VecElementVariable::makeDeepCopyFromShallowCopy(), PLearn::SumEntropyOfCategoricals::makeDeepCopyFromShallowCopy(), PLearn::SumEntropyOfBernoullis::makeDeepCopyFromShallowCopy(), PLearn::SaltPepperNoiseVariable::makeDeepCopyFromShallowCopy(), PLearn::RunICPVariable::makeDeepCopyFromShallowCopy(), PLearn::RowOfVariable::makeDeepCopyFromShallowCopy(), PLearn::RandomForcedValuesVariable::makeDeepCopyFromShallowCopy(), PLearn::ProbabilityPairsVariable::makeDeepCopyFromShallowCopy(), PLearn::ProbabilityPairsInverseVariable::makeDeepCopyFromShallowCopy(), PLearn::PDistributionVariable::makeDeepCopyFromShallowCopy(), PLearn::MultiSampleVariable::makeDeepCopyFromShallowCopy(), PLearn::MultiMaxVariable::makeDeepCopyFromShallowCopy(), PLearn::MatRowVariable::makeDeepCopyFromShallowCopy(), PLearn::LogSumVariable::makeDeepCopyFromShallowCopy(), PLearn::IsMissingVariable::makeDeepCopyFromShallowCopy(), PLearn::InsertZerosVariable::makeDeepCopyFromShallowCopy(), PLearn::BernoulliSampleVariable::makeDeepCopyFromShallowCopy(), and PLearn::AdditiveGaussianNoiseVariable::makeDeepCopyFromShallowCopy().
{ inherited::makeDeepCopyFromShallowCopy(copies); //deepCopyField(input, copies); varDeepCopyField(input, copies); // a cause d'une bug du compilateur }
bool PLearn::UnaryVariable::markPath | ( | ) | [virtual] |
Sets the marked flag of all the sVariable that are to be in the fprop path.
The input sVariable that are of interest are to be marked first. Then markPath is to be called from the output Variable of interest
Implements PLearn::Variable.
Definition at line 124 of file UnaryVariable.cc.
References input, and PLearn::Variable::marked.
VarArray PLearn::UnaryVariable::parents | ( | ) | [virtual] |
returns all the direct parents of this Var that are not marked (the call doesn't change any mark)
Implements PLearn::Variable.
Definition at line 188 of file UnaryVariable.cc.
References input.
void PLearn::UnaryVariable::printInfo | ( | bool | print_gradient | ) | [inline, virtual] |
Implements PLearn::Variable.
Definition at line 89 of file UnaryVariable.h.
References PLearn::endl(), and PLearn::pout.
{ pout << getName() << "[" << (void*)this << "] " << *this << " (" << (void*)input << ") = " << value; if (print_gradient) pout << " gradient=" << gradient; pout << endl; }
VarArray PLearn::UnaryVariable::random_sources | ( | ) | [virtual] |
return ancestors which compute a non-deterministic function of their parents
Implements PLearn::Variable.
Reimplemented in PLearn::UnarySampleVariable.
Definition at line 160 of file UnaryVariable.cc.
References input, and PLearn::Variable::marked.
void PLearn::UnaryVariable::resizeRValue | ( | ) | [virtual] |
Reimplemented from PLearn::Variable.
Definition at line 197 of file UnaryVariable.cc.
References input, and PLearn::Variable::resizeRValue().
Referenced by PLearn::SquareRootVariable::bprop(), PLearn::ExtendedVariable::rfprop(), PLearn::SubMatVariable::rfprop(), PLearn::LogVariable::rfprop(), PLearn::SigmoidVariable::rfprop(), PLearn::TimesConstantVariable::rfprop(), PLearn::NegateElementsVariable::rfprop(), PLearn::SubMatTransposeVariable::rfprop(), PLearn::AbsVariable::rfprop(), PLearn::InvertElementsVariable::rfprop(), PLearn::OneHotVariable::rfprop(), PLearn::SumVariable::rfprop(), PLearn::ExpVariable::rfprop(), PLearn::IsAboveThresholdVariable::rfprop(), PLearn::PlusConstantVariable::rfprop(), PLearn::SquareVariable::rfprop(), PLearn::SoftmaxVariable::rfprop(), and PLearn::TanhVariable::rfprop().
{ inherited::resizeRValue(); if (!input->rvaluedata) input->resizeRValue(); }
void PLearn::UnaryVariable::setInput | ( | Var | the_input | ) |
Set this Variable's input (simply call build after setting the new input).
Reimplemented in PLearn::IdentityVariable, and PLearn::InsertZerosVariable.
Definition at line 206 of file UnaryVariable.cc.
References build(), and input.
void PLearn::UnaryVariable::setParents | ( | const VarArray & | parents | ) | [virtual] |
set this Variable's parents. To use with default constructor.
Reimplemented from PLearn::Variable.
Definition at line 87 of file UnaryVariable.cc.
References input, PLearn::TVec< T >::length(), PLERROR, and PLearn::Variable::sizeprop().
{ if(parents.length() != 1) PLERROR("In UnaryVariable::setParents VarArray length must be 1;" " you are trying to set %d parents for this BinaryVariable...", parents.length()); input= parents[0]; // int dummy_l, dummy_w; //recomputeSize(dummy_l, dummy_w); sizeprop(); }
VarArray PLearn::UnaryVariable::sources | ( | ) | [virtual] |
if not marked, find all constant sources that influence this Variable.
A constant source is normally a SourceVariable.
Implements PLearn::Variable.
Definition at line 152 of file UnaryVariable.cc.
References input, and PLearn::Variable::marked.
void PLearn::UnaryVariable::unmarkAncestors | ( | ) | [virtual] |
undo any marking done by a call to sources() or ancestors()
Implements PLearn::Variable.
Definition at line 178 of file UnaryVariable.cc.
References input, and PLearn::Variable::marked.
Reimplemented from PLearn::Variable.
Reimplemented in PLearn::AbsVariable, PLearn::AffineTransformWeightPenalty, PLearn::ArgmaxVariable, PLearn::ArgminVariable, PLearn::ColumnSumVariable, PLearn::CutAboveThresholdVariable, PLearn::CutBelowThresholdVariable, PLearn::DeterminantVariable, PLearn::DilogarithmVariable, PLearn::DuplicateColumnVariable, PLearn::DuplicateRowVariable, PLearn::DuplicateScalarVariable, PLearn::EqualConstantVariable, PLearn::ErfVariable, PLearn::AdditiveGaussianNoiseVariable, PLearn::BernoulliSampleVariable, PLearn::ConstrainVariable, PLearn::Cov2CorrVariable, PLearn::DiagVariable, PLearn::MultiMaxVariable, PLearn::MultiSampleVariable, PLearn::NonDiagVariable, PLearn::ProbabilityPairsInverseVariable, PLearn::ProbabilityPairsVariable, PLearn::RandomForcedValuesVariable, PLearn::SaltPepperNoiseVariable, PLearn::SumEntropyOfBernoullis, PLearn::SumEntropyOfCategoricals, PLearn::TraceVariable, PLearn::ExpVariable, PLearn::ExtendedVariable, PLearn::ExtractVariable, PLearn::IdentityVariable, PLearn::InsertZerosVariable, PLearn::InterValuesVariable, PLearn::InvertElementsVariable, PLearn::IsAboveThresholdVariable, PLearn::IsMissingVariable, PLearn::LeftPseudoInverseVariable, PLearn::LogSoftmaxVariable, PLearn::LogSumVariable, PLearn::LogVariable, PLearn::MatrixInverseVariable, PLearn::MatrixSoftmaxVariable, PLearn::MatRowVariable, PLearn::MaxVariable, PLearn::MinVariable, PLearn::NegateElementsVariable, PLearn::NoBpropVariable, PLearn::OneHotVariable, PLearn::OutputVariable, PLearn::PDistributionVariable, PLearn::PLogPVariable, PLearn::PlusConstantVariable, PLearn::PowVariable, PLearn::ReshapeVariable, PLearn::RightPseudoInverseVariable, PLearn::RowOfVariable, PLearn::RowSumSquareVariable, PLearn::RowSumVariable, PLearn::SigmoidVariable, PLearn::SignVariable, PLearn::SoftmaxVariable, PLearn::SoftplusVariable, PLearn::SquareRootVariable, PLearn::SquareVariable, PLearn::SubMatTransposeVariable, PLearn::SubMatVariable, PLearn::SubsampleVariable, PLearn::SumAbsVariable, PLearn::SumSquareVariable, PLearn::SumVariable, PLearn::SVDVariable, PLearn::TanhVariable, PLearn::ThresholdBpropVariable, PLearn::TimesConstantVariable, PLearn::TransposeVariable, PLearn::UnaryHardSlopeVariable, PLearn::UnequalConstantVariable, PLearn::VecElementVariable, and PLearn::RunICPVariable.
Definition at line 69 of file UnaryVariable.h.
Var PLearn::UnaryVariable::input [protected] |
Definition at line 58 of file UnaryVariable.h.
Referenced by ancestors(), PLearn::TanhVariable::bbprop(), PLearn::SubMatVariable::bbprop(), PLearn::SquareVariable::bbprop(), PLearn::SigmoidVariable::bbprop(), PLearn::NegateElementsVariable::bbprop(), PLearn::UnaryHardSlopeVariable::bprop(), PLearn::TransposeVariable::bprop(), PLearn::TraceVariable::bprop(), PLearn::TimesConstantVariable::bprop(), PLearn::ThresholdBpropVariable::bprop(), PLearn::TanhVariable::bprop(), PLearn::SumVariable::bprop(), PLearn::SumSquareVariable::bprop(), PLearn::SumEntropyOfCategoricals::bprop(), PLearn::SumEntropyOfBernoullis::bprop(), PLearn::SumAbsVariable::bprop(), PLearn::SubsampleVariable::bprop(), PLearn::SubMatVariable::bprop(), PLearn::SubMatTransposeVariable::bprop(), PLearn::SquareVariable::bprop(), PLearn::SquareRootVariable::bprop(), PLearn::SoftplusVariable::bprop(), PLearn::SoftmaxVariable::bprop(), PLearn::SigmoidVariable::bprop(), PLearn::SaltPepperNoiseVariable::bprop(), PLearn::RowSumVariable::bprop(), PLearn::RowSumSquareVariable::bprop(), PLearn::ReshapeVariable::bprop(), PLearn::RandomForcedValuesVariable::bprop(), PLearn::ProbabilityPairsVariable::bprop(), PLearn::ProbabilityPairsInverseVariable::bprop(), PLearn::PowVariable::bprop(), PLearn::PlusConstantVariable::bprop(), PLearn::PLogPVariable::bprop(), PLearn::OutputVariable::bprop(), PLearn::NonDiagVariable::bprop(), PLearn::NoBpropVariable::bprop(), PLearn::NegateElementsVariable::bprop(), PLearn::MultiMaxVariable::bprop(), PLearn::MinVariable::bprop(), PLearn::MaxVariable::bprop(), PLearn::MatrixSoftmaxVariable::bprop(), PLearn::LogVariable::bprop(), PLearn::LogSumVariable::bprop(), PLearn::LogSoftmaxVariable::bprop(), PLearn::InvertElementsVariable::bprop(), PLearn::InterValuesVariable::bprop(), PLearn::InsertZerosVariable::bprop(), PLearn::IdentityVariable::bprop(), PLearn::ExtractVariable::bprop(), PLearn::ExtendedVariable::bprop(), PLearn::ExpVariable::bprop(), PLearn::ErfVariable::bprop(), PLearn::DuplicateScalarVariable::bprop(), PLearn::DuplicateRowVariable::bprop(), PLearn::DuplicateColumnVariable::bprop(), PLearn::DilogarithmVariable::bprop(), PLearn::DiagVariable::bprop(), PLearn::CutBelowThresholdVariable::bprop(), PLearn::CutAboveThresholdVariable::bprop(), PLearn::Cov2CorrVariable::bprop(), PLearn::ConstrainVariable::bprop(), PLearn::ColumnSumVariable::bprop(), PLearn::AbsVariable::bprop(), PLearn::VecElementVariable::build_(), PLearn::SubsampleVariable::build_(), PLearn::SubMatVariable::build_(), PLearn::SubMatTransposeVariable::build_(), PLearn::RightPseudoInverseVariable::build_(), PLearn::ReshapeVariable::build_(), PLearn::OneHotVariable::build_(), PLearn::MultiSampleVariable::build_(), PLearn::MultiMaxVariable::build_(), PLearn::MatRowVariable::build_(), PLearn::LeftPseudoInverseVariable::build_(), PLearn::IsMissingVariable::build_(), PLearn::InterValuesVariable::build_(), PLearn::InsertZerosVariable::build_(), PLearn::ExtractVariable::build_(), PLearn::DuplicateScalarVariable::build_(), PLearn::DuplicateRowVariable::build_(), PLearn::DuplicateColumnVariable::build_(), PLearn::DeterminantVariable::build_(), buildPath(), checkContiguity(), declareOptions(), PLearn::VecElementVariable::fprop(), PLearn::UnequalConstantVariable::fprop(), PLearn::UnaryHardSlopeVariable::fprop(), PLearn::TransposeVariable::fprop(), PLearn::TraceVariable::fprop(), PLearn::TimesConstantVariable::fprop(), PLearn::ThresholdBpropVariable::fprop(), PLearn::TanhVariable::fprop(), PLearn::SVDVariable::fprop(), PLearn::SumVariable::fprop(), PLearn::SumSquareVariable::fprop(), PLearn::SumEntropyOfCategoricals::fprop(), PLearn::SumEntropyOfBernoullis::fprop(), PLearn::SumAbsVariable::fprop(), PLearn::SubsampleVariable::fprop(), PLearn::SubMatVariable::fprop(), PLearn::SubMatTransposeVariable::fprop(), PLearn::SquareVariable::fprop(), PLearn::SquareRootVariable::fprop(), PLearn::SoftplusVariable::fprop(), PLearn::SoftmaxVariable::fprop(), PLearn::SignVariable::fprop(), PLearn::SigmoidVariable::fprop(), PLearn::MultinomialSampleVariable::fprop(), PLearn::SaltPepperNoiseVariable::fprop(), PLearn::RunICPVariable::fprop(), PLearn::RowSumVariable::fprop(), PLearn::RowSumSquareVariable::fprop(), PLearn::RowOfVariable::fprop(), PLearn::RightPseudoInverseVariable::fprop(), PLearn::ReshapeVariable::fprop(), PLearn::RandomForcedValuesVariable::fprop(), PLearn::ProbabilityPairsVariable::fprop(), PLearn::ProbabilityPairsInverseVariable::fprop(), PLearn::PowVariable::fprop(), PLearn::PlusConstantVariable::fprop(), PLearn::PLogPVariable::fprop(), PLearn::OutputVariable::fprop(), PLearn::OneHotVariable::fprop(), PLearn::NonDiagVariable::fprop(), PLearn::NoBpropVariable::fprop(), PLearn::NegateElementsVariable::fprop(), PLearn::MultiSampleVariable::fprop(), PLearn::MultiMaxVariable::fprop(), PLearn::MinVariable::fprop(), PLearn::MaxVariable::fprop(), PLearn::MatRowVariable::fprop(), PLearn::MatrixSoftmaxVariable::fprop(), PLearn::MatrixInverseVariable::fprop(), PLearn::LogVariable::fprop(), PLearn::LogSumVariable::fprop(), PLearn::LogSoftmaxVariable::fprop(), PLearn::LeftPseudoInverseVariable::fprop(), PLearn::IsMissingVariable::fprop(), PLearn::IsAboveThresholdVariable::fprop(), PLearn::InvertElementsVariable::fprop(), PLearn::InterValuesVariable::fprop(), PLearn::InsertZerosVariable::fprop(), PLearn::IdentityVariable::fprop(), PLearn::ExtractVariable::fprop(), PLearn::ExtendedVariable::fprop(), PLearn::ExpVariable::fprop(), PLearn::ErfVariable::fprop(), PLearn::EqualConstantVariable::fprop(), PLearn::DuplicateScalarVariable::fprop(), PLearn::DuplicateRowVariable::fprop(), PLearn::DuplicateColumnVariable::fprop(), PLearn::DilogarithmVariable::fprop(), PLearn::DiagVariable::fprop(), PLearn::DeterminantVariable::fprop(), PLearn::CutBelowThresholdVariable::fprop(), PLearn::CutAboveThresholdVariable::fprop(), PLearn::Cov2CorrVariable::fprop(), PLearn::ConstrainVariable::fprop(), PLearn::ColumnSumVariable::fprop(), PLearn::BernoulliSampleVariable::fprop(), PLearn::ArgminVariable::fprop(), PLearn::ArgmaxVariable::fprop(), PLearn::AdditiveGaussianNoiseVariable::fprop(), PLearn::AbsVariable::fprop(), makeDeepCopyFromShallowCopy(), markPath(), parents(), random_sources(), PLearn::UnequalConstantVariable::recomputeSize(), PLearn::UnaryHardSlopeVariable::recomputeSize(), PLearn::TransposeVariable::recomputeSize(), PLearn::TimesConstantVariable::recomputeSize(), PLearn::ThresholdBpropVariable::recomputeSize(), PLearn::TanhVariable::recomputeSize(), PLearn::SVDVariable::recomputeSize(), PLearn::SubsampleVariable::recomputeSize(), PLearn::SquareVariable::recomputeSize(), PLearn::SquareRootVariable::recomputeSize(), PLearn::SoftplusVariable::recomputeSize(), PLearn::SoftmaxVariable::recomputeSize(), PLearn::SignVariable::recomputeSize(), PLearn::SigmoidVariable::recomputeSize(), PLearn::SaltPepperNoiseVariable::recomputeSize(), PLearn::RowSumVariable::recomputeSize(), PLearn::RowSumSquareVariable::recomputeSize(), PLearn::RowOfVariable::recomputeSize(), PLearn::RightPseudoInverseVariable::recomputeSize(), PLearn::RandomForcedValuesVariable::recomputeSize(), PLearn::ProbabilityPairsVariable::recomputeSize(), PLearn::ProbabilityPairsInverseVariable::recomputeSize(), PLearn::PowVariable::recomputeSize(), PLearn::PlusConstantVariable::recomputeSize(), PLearn::PLogPVariable::recomputeSize(), PLearn::PDistributionVariable::recomputeSize(), PLearn::OutputVariable::recomputeSize(), PLearn::NonDiagVariable::recomputeSize(), PLearn::NoBpropVariable::recomputeSize(), PLearn::NegateElementsVariable::recomputeSize(), PLearn::MultiSampleVariable::recomputeSize(), PLearn::MultiMaxVariable::recomputeSize(), PLearn::MatrixSoftmaxVariable::recomputeSize(), PLearn::MatrixInverseVariable::recomputeSize(), PLearn::LogVariable::recomputeSize(), PLearn::LogSoftmaxVariable::recomputeSize(), PLearn::LeftPseudoInverseVariable::recomputeSize(), PLearn::IsMissingVariable::recomputeSize(), PLearn::IsAboveThresholdVariable::recomputeSize(), PLearn::InvertElementsVariable::recomputeSize(), PLearn::InterValuesVariable::recomputeSize(), PLearn::InsertZerosVariable::recomputeSize(), PLearn::IdentityVariable::recomputeSize(), PLearn::ExtendedVariable::recomputeSize(), PLearn::ExpVariable::recomputeSize(), PLearn::ErfVariable::recomputeSize(), PLearn::EqualConstantVariable::recomputeSize(), PLearn::DuplicateRowVariable::recomputeSize(), PLearn::DuplicateColumnVariable::recomputeSize(), PLearn::DilogarithmVariable::recomputeSize(), PLearn::DiagVariable::recomputeSize(), PLearn::CutBelowThresholdVariable::recomputeSize(), PLearn::CutAboveThresholdVariable::recomputeSize(), PLearn::Cov2CorrVariable::recomputeSize(), PLearn::ConstrainVariable::recomputeSize(), PLearn::ColumnSumVariable::recomputeSize(), PLearn::BernoulliSampleVariable::recomputeSize(), PLearn::ArgminVariable::recomputeSize(), PLearn::ArgmaxVariable::recomputeSize(), PLearn::AdditiveGaussianNoiseVariable::recomputeSize(), PLearn::AbsVariable::recomputeSize(), resizeRValue(), PLearn::TimesConstantVariable::rfprop(), PLearn::TanhVariable::rfprop(), PLearn::SumVariable::rfprop(), PLearn::SubMatVariable::rfprop(), PLearn::SubMatTransposeVariable::rfprop(), PLearn::SquareVariable::rfprop(), PLearn::SoftmaxVariable::rfprop(), PLearn::SigmoidVariable::rfprop(), PLearn::PlusConstantVariable::rfprop(), PLearn::NegateElementsVariable::rfprop(), PLearn::LogVariable::rfprop(), PLearn::InvertElementsVariable::rfprop(), PLearn::ExtendedVariable::rfprop(), PLearn::ExpVariable::rfprop(), PLearn::AbsVariable::rfprop(), setInput(), setParents(), sources(), PLearn::TimesConstantVariable::symbolicBprop(), PLearn::TanhVariable::symbolicBprop(), PLearn::SumVariable::symbolicBprop(), PLearn::SumSquareVariable::symbolicBprop(), PLearn::SumAbsVariable::symbolicBprop(), PLearn::SubMatVariable::symbolicBprop(), PLearn::SubMatTransposeVariable::symbolicBprop(), PLearn::SquareVariable::symbolicBprop(), PLearn::SoftplusVariable::symbolicBprop(), PLearn::SigmoidVariable::symbolicBprop(), PLearn::RowSumVariable::symbolicBprop(), PLearn::ReshapeVariable::symbolicBprop(), PLearn::PowVariable::symbolicBprop(), PLearn::PlusConstantVariable::symbolicBprop(), PLearn::PLogPVariable::symbolicBprop(), PLearn::NegateElementsVariable::symbolicBprop(), PLearn::MinVariable::symbolicBprop(), PLearn::MaxVariable::symbolicBprop(), PLearn::LogVariable::symbolicBprop(), PLearn::LogSumVariable::symbolicBprop(), PLearn::InvertElementsVariable::symbolicBprop(), PLearn::InterValuesVariable::symbolicBprop(), PLearn::ExtendedVariable::symbolicBprop(), PLearn::ExpVariable::symbolicBprop(), PLearn::ErfVariable::symbolicBprop(), PLearn::DuplicateScalarVariable::symbolicBprop(), PLearn::DuplicateRowVariable::symbolicBprop(), PLearn::DuplicateColumnVariable::symbolicBprop(), PLearn::CutBelowThresholdVariable::symbolicBprop(), PLearn::CutAboveThresholdVariable::symbolicBprop(), PLearn::ColumnSumVariable::symbolicBprop(), PLearn::AbsVariable::symbolicBprop(), and unmarkAncestors().