cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Public Member Functions | Public Attributes | List of all members
policy.policy Class Reference
Inheritance diagram for policy.policy:

Public Member Functions

def __init__ (self)
 
def forward (self, x)
 
def __init__ (self)
 
def forward (self, x)
 

Public Attributes

 affine1
 
 linear
 

Detailed Description

implements a policy model

Definition at line 5 of file policy.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def policy.policy.__init__ (   self)

Definition at line 9 of file policy.py.

◆ __init__() [2/2]

def policy.policy.__init__ (   self)

Definition at line 9 of file policy.py.

Member Function Documentation

◆ forward() [1/2]

def policy.policy.forward (   self,
  x 
)
forward 

Definition at line 13 of file policy.py.

◆ forward() [2/2]

def policy.policy.forward (   self,
  x 
)
forward 

Definition at line 13 of file policy.py.

Member Data Documentation

◆ affine1

policy.policy.affine1

Definition at line 11 of file policy.py.

◆ linear

policy.policy.linear

Definition at line 12 of file policy.py.


The documentation for this class was generated from the following file: