        }
        for name in custom_features.keys():
            example_features[name] = custom_features[name].raw_feature_type

        # Native example parsing
        example = tf.parse_single_example(serialized=raw_record, features=example_features)
