View source on GitHub |
Creates a mapping from feature name to keras.Input
.
tfl.premade_lib.build_input_layer(
feature_configs, dtype, ragged=False
)
Args | |
---|---|
feature_configs
|
A list of tfl.configs.FeatureConfig instances that
specify configurations for each feature.
|
dtype
|
dtype |
ragged
|
If the inputs are ragged tensors. |
Returns | |
---|---|
Mapping from feature name to keras.Input for the inputs specified by
feature_configs .
|