Save a set of input examples to a file
(examples: List['InputExample'], path: str)
| 104 | |
| 105 | @staticmethod |
| 106 | def save_examples(examples: List['InputExample'], path: str) -> None: |
| 107 | """Save a set of input examples to a file""" |
| 108 | with open(path, 'wb') as fh: |
| 109 | pickle.dump(examples, fh) |
| 110 | |
| 111 | |
| 112 | class InputFeatures(object): |
nothing calls this directly
no outgoing calls
no test coverage detected