Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
core.ExecutionStep Class Reference
Inheritance diagram for core.ExecutionStep:

Public Member Functions

def __init__ (self, name, nets=None, num_iter=None)
 
def get_net (self, name)
 
def Name (self)
 
def __str__ (self)
 
def Proto (self)
 
def HasNets (self)
 
def HasSubsteps (self)
 
def Nets (self)
 
def Substeps (self)
 
def SetIter (self, num_iter)
 
def SetOnlyOnce (self, only_once)
 
def SetShouldStopBlob (self, should_stop_blob)
 
def RunEveryMillis (self, interval)
 
def SetReportNet (self, report_net, report_interval)
 
def AddSubstep (self, substep)
 
def SetConcurrentSubsteps (self, concurrent_substeps)
 
def AddNet (self, net)
 
def get_all_attributes (self, name)
 

Detailed Description

Definition at line 1800 of file core.py.

Member Function Documentation

◆ get_all_attributes()

def core.ExecutionStep.get_all_attributes (   self,
  name 
)
Return the list of all attributes under the given `name`, present in
all of the nets used in this execution step and its children.

Definition at line 1921 of file core.py.

◆ RunEveryMillis()

def core.ExecutionStep.RunEveryMillis (   self,
  interval 
)
Run this step every interval millisecods, as long as its
siblings are still running. It is guaranteed that, after all
siblings finish, this step will run at least one.

This property is ignored for top-level ExecutionSteps.

Definition at line 1875 of file core.py.

◆ SetReportNet()

def core.ExecutionStep.SetReportNet (   self,
  report_net,
  report_interval 
)
DEPRECATED. Use RunEveryMillis instead. 

Definition at line 1885 of file core.py.


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