MCPcopy
hub / github.com/shenweichen/DeepCTR-Torch / DenseFeat

Class DenseFeat

deepctr_torch/inputs.py:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79
80class DenseFeat(namedtuple('DenseFeat', ['name', 'dimension', 'dtype'])):
81 __slots__ = ()
82
83 def __new__(cls, name, dimension=1, dtype="float32"):
84 return super(DenseFeat, cls).__new__(cls, name, dimension, dtype)
85
86 def __hash__(self):
87 return self.name.__hash__()
88
89
90def get_feature_names(feature_columns):

Callers 8

get_test_dataFunction · 0.90
get_mtl_test_dataFunction · 0.90
get_xy_fdFunction · 0.90
get_xy_fdFunction · 0.90
get_xy_fdFunction · 0.90
get_xy_fdFunction · 0.90

Calls

no outgoing calls

Tested by 2

get_xy_fdFunction · 0.72
get_xy_fdFunction · 0.72