original_docstring: Return a dict of Tensors from a serialized tensorflow.Example.
docstring: Return a dict of Tensors from a serialized tensorflow.Example.
docstring_tokens: Return a dict of Tensors from a serialized tensorflow . Example .
code: def decode_example(serialized_example):
              """Return a dict of Tensors from a serialized tensorflow.Example."""
              decoded = tf.io.parse_example(
                  serialized=[serialized_example],
                  features={k: tf.VarLenFeature(tf.int64) for k in keys},
              )
              decoded = {k: v.values for k, v in decoded.items()}
              return decoded["content"], decoded["target"]
code_tokens: def decode_example ( serialized_example ) : decoded = tf . io . parse_example ( serialized = [ serialized_example ] , features = { k : tf . VarLenFeature ( tf . int64 ) for k in keys } , ) decoded = { k : v . values for k , v in decoded . items ( ) } return decoded [ "content" ] , decoded [ "target" ]
short_docstring: Return a dict of Tensors from a serialized tensorflow.Example.
short_docstring_tokens: Return a dict of Tensors from a serialized tensorflow . Example .
comment: """Return a dict of Tensors from a serialized tensorflow.Example."""