Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
caffe2.python.core.ExecutionStep Class Reference
Inheritance diagram for caffe2.python.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 SetCreateWorkspace (self, create_workspace)
 
def SetNumConcurrentInstances (self, num_concurrent_instances)
 
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)
 
def create_from_proto (cls, step_proto, net_obj_dict, net_proto_dict)
 

Detailed Description

Definition at line 2404 of file core.py.

Member Function Documentation

def caffe2.python.core.ExecutionStep.create_from_proto (   cls,
  step_proto,
  net_obj_dict,
  net_proto_dict 
)
Create ExecutionStep from ExecutionStep protobuf recursively

Definition at line 2545 of file core.py.

def caffe2.python.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 2533 of file core.py.

def caffe2.python.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 2487 of file core.py.

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

Definition at line 2497 of file core.py.


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