Foreign SP helpers: module venture.lite.sp_help

Helpers for creating SP objects.

class venture.lite.sp_help.FunctionPSP(f, descr=None, sim_grad=None)

Bases: venture.lite.psp.DeterministicPSP

description(name)
gradientOfSimulate(args, _value, direction)
simulate(args)
venture.lite.sp_help.binaryNum(f, sim_grad=None, descr=None)
venture.lite.sp_help.binaryNumS(output)
venture.lite.sp_help.binaryPred(f, descr=None)
venture.lite.sp_help.deterministic(f, descr=None, sim_grad=None)
venture.lite.sp_help.deterministic_psp(f, descr=None, sim_grad=None)
venture.lite.sp_help.deterministic_typed(f, args_types, return_type, descr=None, sim_grad=None, **kwargs)
venture.lite.sp_help.deterministic_typed_psp(f, args_types, return_type, descr=None, sim_grad=None, **kwargs)
venture.lite.sp_help.dispatching_psp(types, psps)
venture.lite.sp_help.esr_output(request)
venture.lite.sp_help.naryNum(f, sim_grad=None, descr=None)
venture.lite.sp_help.no_request(output)
venture.lite.sp_help.type_test(tp)
venture.lite.sp_help.typed_func(*args, **kwargs)
venture.lite.sp_help.typed_func_psp(f, args_types, return_type, descr=None, sim_grad=None, **kwargs)
venture.lite.sp_help.typed_nr(output, args_types, return_type, **kwargs)
venture.lite.sp_help.unaryNum(f, sim_grad=None, descr=None)
venture.lite.sp_help.unaryNumS(f)
venture.lite.sp_help.zero_gradient(args, _direction)

Previous topic

Primitive Stochastic Procedure Interface: module venture.lite.psp

Next topic

Type annotations for foreign procedures: module venture.lite.types

This Page