Module Assign NameStore Str ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore TupleLoad Num Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Return Call NameLoad NameLoad orelse Return BinOpAdd NameLoad Num decorator_list Return Call AttributeLoad Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore TupleLoad Num Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Return Call NameLoad NameLoad orelse Return Num decorator_list Return Call AttributeLoad Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpDiv Num BinOpAdd Num Call NameLoad UnaryOpUSub NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return BinOpMult NameLoad BinOpSub Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return BinOpSub Num BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad keyword Lambda arguments args NameParam NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad keyword Lambda arguments args NameParam NameParam defaults Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return Call NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Return Call NameLoad NameLoad orelse Return BinOpAdd Call NameLoad BinOpAdd NameLoad Num Num decorator_list TryExcept body Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Return Call NameLoad NameLoad orelse Return BinOpDiv Num BinOpAdd NameLoad Num decorator_list TryExcept body Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assert BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareEq Call NameLoad NameLoad Call NameLoad NameLoad CompareEq AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpMult Num Call NameLoad Call NameLoad BinOpSub NameLoad NameLoad Call NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore BinOpMult BinOpMult BinOpDiv Num Call NameLoad BinOpMult Num NameLoad BinOpDiv Call NameLoad NameLoad Num BinOpDiv Num Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return BinOpDiv Call NameLoad BinOpMult Num Call NameLoad NameLoad NameLoad BinOpMult Call NameLoad BinOpMult Num NameLoad BinOpDiv NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad Call NameLoad BinOpMult NameLoad BinOpSub NameLoad Num If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return BinOpMult Call NameLoad NameLoad BinOpAdd BinOpSub Num BinOpDiv Num BinOpMult Num NameLoad BinOpDiv Num BinOpMult Num BinOpPow NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad BinOpMult Num Call NameLoad NameLoad Num Return BinOpDiv BinOpAdd NameLoad AttributeLoad NameLoad attr Num decorator_list
N/A N/A __author__ Tom Schaul, tom@idsia.ch scipy array exp tanh clip log dot sqrt power pi tan diag rand real_if_close scipy.linalg inv det svd logm expm2 semilinear N/A N/A x N/A N/A N/A  This function ensures that the values of the array are always positive. It is
        x+1 for x=>0 and exp(x) for x<0.  N/A N/A N/A shape N/A x shape N/A N/A N/A x flatten N/A x N/A N/A x tolist N/A N/A N/A AttributeError N/A N/A shape N/A 1 N/A len x f N/A N/A val N/A N/A N/A N/A val 0 N/A N/A N/A safeExp val N/A N/A N/A val 1.0 N/A N/A N/A N/A N/A array N/A list N/A map f x reshape shape N/A semilinearPrime N/A N/A x N/A N/A N/A  This function is the first derivative of the semilinear function (above).
        It is needed for the backward pass of the module.  N/A N/A N/A shape N/A x shape N/A N/A N/A x flatten N/A x N/A N/A x tolist N/A N/A N/A AttributeError N/A N/A shape N/A 1 N/A len x f N/A N/A val N/A N/A N/A N/A val 0 N/A N/A N/A safeExp val N/A N/A 1.0 N/A N/A N/A N/A N/A array N/A list N/A map f x reshape shape N/A safeExp N/A N/A x N/A N/A N/A  Bounded range for the exponential function (won't produce inf or NaN).  N/A N/A exp N/A clip x -500 500 N/A sigmoid N/A N/A x N/A N/A N/A  Logistic sigmoid function.  N/A N/A 1.0 N/A 1.0 N/A safeExp N/A x N/A sigmoidPrime N/A N/A x N/A N/A N/A  Derivative of logistic sigmoid.  N/A tmp N/A sigmoid x N/A N/A tmp N/A 1 tmp N/A tanhPrime N/A N/A x N/A N/A N/A  Derivative of tanh.  N/A tmp N/A tanh x N/A N/A 1 N/A tmp tmp N/A ranking N/A N/A R N/A N/A N/A  Produces a linear ranking of the values in R.  N/A l N/A sorted N/A list N/A enumerate R cmp N/A N/A N/A a b N/A N/A cmp N/A a N/A 1 N/A b N/A 1 N/A l N/A sorted N/A list N/A enumerate l cmp N/A N/A N/A a b N/A N/A cmp N/A a N/A 1 N/A b N/A 1 N/A N/A array N/A N/A kv N/A 0 N/A kv l N/A expln N/A N/A x N/A N/A N/A  This continuous function ensures that the values of the array are always positive.
        It is ln(x+1)+1 for x >= 0 and exp(x) for x < 0.  f N/A N/A val N/A N/A N/A N/A val 0 N/A N/A N/A exp val N/A N/A N/A N/A log N/A val 1.0 1 N/A N/A N/A N/A result N/A array N/A list N/A map f x N/A N/A N/A TypeError N/A N/A result N/A array N/A f x N/A result N/A explnPrime N/A N/A x N/A N/A N/A  This function is the first derivative of the expln function (above).
        It is needed for the backward pass of the module.  f N/A N/A val N/A N/A N/A N/A val 0 N/A N/A N/A exp val N/A N/A N/A 1.0 N/A val 1.0 N/A N/A N/A N/A result N/A array N/A list N/A map f x N/A N/A N/A TypeError N/A N/A result N/A array N/A f x N/A result N/A multivariateNormalPdf N/A N/A z x sigma N/A N/A N/A  The pdf of a multivariate normal distribution (not in scipy).
    The sample z and the mean x should be 1-dim-arrays, and sigma a square 2-dim-array.  N/A N/A N/A N/A len N/A z shape 1 N/A N/A len N/A x shape 1 N/A N/A len x N/A len z N/A N/A sigma shape N/A N/A len x N/A len z N/A tmp N/A -0.5 N/A dot N/A dot N/A z x N/A inv sigma N/A z x N/A res N/A N/A N/A 1.0 N/A power N/A 2.0 pi N/A N/A len z 2.0 N/A 1.0 N/A sqrt N/A det sigma N/A exp tmp N/A res N/A simpleMultivariateNormalPdf N/A N/A z detFactorSigma N/A N/A N/A  Assuming z has been transformed to a mean of zero and an identity matrix of covariances.
    Needs to provide the determinant of the factorized (real) covariance matrix.  N/A dim N/A len z N/A N/A N/A exp N/A -0.5 N/A dot z z N/A N/A power N/A 2.0 pi N/A dim 2.0 detFactorSigma N/A multivariateCauchy N/A N/A mu sigma onlyDiagonal N/A True N/A N/A  Generates a sample according to a given multivariate Cauchy distribution.  N/A N/A onlyDiagonal N/A N/A N/A u s d N/A svd sigma N/A coeffs N/A sqrt s N/A N/A coeffs N/A diag sigma N/A r N/A rand N/A len mu N/A res N/A coeffs N/A tan N/A pi N/A r 0.5 N/A N/A onlyDiagonal N/A N/A res N/A dot d N/A dot res u N/A N/A res mu N/A approxChiFunction N/A N/A dim N/A N/A N/A  Returns Chi (expectation of the length of a normal random vector)
    approximation according to: Ostermeier 1997.  N/A dim N/A float dim N/A N/A N/A sqrt dim N/A N/A 1 N/A 1 N/A 4 dim N/A 1 N/A 21 N/A dim 2 N/A sqrtm N/A N/A M N/A N/A N/A  Returns the symmetric semi-definite positive square root of a matrix.  N/A r N/A real_if_close N/A expm2 N/A 0.5 N/A logm M 1e-08 N/A N/A N/A r N/A r T 2 N/A