Created
March 20, 2020 18:56
-
-
Save hanneshapke/7160e086a69861af28db67acb2b1408c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feature_spec = tf_transform_output.transformed_feature_spec() | |
feature_spec.pop(_LABEL_KEY) | |
inputs = { | |
key: tf.keras.layers.Input( | |
shape=(max_seq_length), | |
name=key, | |
dtype=tf.int32) | |
for key in feature_spec.keys() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment