Caffe2 - Python API
A deep learning, cross platform ML framework
Classes | Functions
dataset Namespace Reference

Module caffe2.python.dataset. More...

Classes

class  _DatasetRandomReader
 
class  _DatasetReader
 
class  _DatasetWriter
 
class  Dataset
 

Functions

def Const (net, value, dtype=None, name=None)
 
def execution_step_with_progress (name, init_net, substeps, rows_read)
 

Detailed Description

Module caffe2.python.dataset.

Function Documentation

◆ Const()

def dataset.Const (   net,
  value,
  dtype = None,
  name = None 
)
Create a 'constant' by first creating an external input in the given
net, and then feeding the corresponding blob with its provided value
in the current workspace. The name is automatically generated in order
to avoid clashes with existing blob names.

Definition at line 148 of file dataset.py.