Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
caffe2.python.layers.feature_sparse_to_dense.FeatureSparseToDense Class Reference
Inheritance diagram for caffe2.python.layers.feature_sparse_to_dense.FeatureSparseToDense:

Public Member Functions

def __init__ (self, model, input_record, input_specs, name='feature_sparse_to_dense', kwargs)
 
def add_ops (self, net)
 
def get_metadata (self)
 

Public Attributes

 input_specs
 
 output_schema
 
 zero
 
 zero_range
 

Detailed Description

Definition at line 15 of file feature_sparse_to_dense.py.

Constructor & Destructor Documentation

def caffe2.python.layers.feature_sparse_to_dense.FeatureSparseToDense.__init__ (   self,
  model,
  input_record,
  input_specs,
  name = 'feature_sparse_to_dense',
  kwargs 
)
`input_specs` follows the format of FeatureSpec from schema. To be more
precise it's a namedtuple that should have:
    'feature_type', 'feature_names', 'feature_ids'

Definition at line 18 of file feature_sparse_to_dense.py.


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