Skip to content

Commit

Permalink
don't require tfrecord_features in preprocessor (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
pstjohn committed Apr 27, 2022
1 parent 82064e6 commit 4c1a6fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nfp/preprocessing/preprocessor.py
Expand Up @@ -225,9 +225,9 @@ def padding_values(self) -> Dict[str, tf.constant]:
pass

@property
@abstractmethod
def tfrecord_features(self) -> Dict[str, tf.io.FixedLenFeature]:
pass
"""Useful feature for storing preprocessed outputs in tfrecord files"""
raise NotImplementedError


class PreprocessorMultiGraph(Preprocessor, ABC):
Expand Down

0 comments on commit 4c1a6fc

Please sign in to comment.