Skip to content

Instantly share code, notes, and snippets.

@hanneshapke
Created March 9, 2020 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanneshapke/0ce64b4f90207d299a57614ffb8fa80e to your computer and use it in GitHub Desktop.
Save hanneshapke/0ce64b4f90207d299a57614ffb8fa80e to your computer and use it in GitHub Desktop.
input_word_ids = tf.cast(inputs["input_word_ids"], dtype=tf.int32)
input_mask = tf.cast(inputs["input_mask"], dtype=tf.int32)
input_type_ids = tf.cast(inputs["input_type_ids"], dtype=tf.int32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment