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 | |
Definition at line 15 of file feature_sparse_to_dense.py.
| 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.
1.8.11