venture.lite.sp module

class venture.lite.sp.SP(requestPSP, outputPSP)

Bases: object

constructLatentDB()
constructSPAux()
description(name)
description_rst_format(name)
detachLatents(spaux, lsr, latentDB)
hasAEKernel()
show(_spaux)
simulateLatents(spaux, lsr, shouldRestore, latentDB)
venture_type()
class venture.lite.sp.SPAux

Bases: object

asVentureValue()
copy()
static fromVentureValue(_thing)
class venture.lite.sp.SPFamilies(families=None)

Bases: object

containsFamily(id)
copy()
getFamily(id)
registerFamily(id, esrParent)
unregisterFamily(id)
class venture.lite.sp.SPType(args_types, return_type, variadic=False, min_req_args=None)

Bases: venture.lite.types.VentureType

An object representing a Venture function type. It knows the types expected for the arguments and the return, and thus knows how to wrap and unwrap individual values or Args objects. This is used in the implementation of TypedPSP and TypedLKernel.

asPython(vthing)
asVentureValue(thing)
distribution(_base, **_kwargs)
gradient_type()
name()

A default name for when there is only room for one name.

name_rst_format(name)
names()

One name for each possible arity of this procedure.

unwrap_arg_list(lst)
unwrap_args(args)
unwrap_return(value)
wrap_arg_list(lst)
wrap_return(value)
class venture.lite.sp.UnwrappingArgs(f_type, args)

Bases: object

esrNodes()
esrValues()
madeSPAux()
operandValues()
requestValue()
spaux()
class venture.lite.sp.VentureSPRecord(sp, spAux=None, spFamilies=None)

Bases: venture.lite.value.VentureValue

asStackDict(_trace=None)
show()

This Page