Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Aug 5, 2021
1 parent de7825c commit 2bdc204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flash/core/data/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def attach_data_pipeline_state(self, data_pipeline_state: 'flash.core.data.data_


class Deserializer(Properties):
""""""
"""Deserializer"""

def deserialize(self, sample: Any) -> Any: # TODO: Output must be a tensor???
raise NotImplementedError
Expand All @@ -592,7 +592,7 @@ def __call__(self, sample: Any) -> Any:

class DeserializerMapping(Deserializer):
# TODO: This is essentially a duplicate of SerializerMapping, should be abstracted away somewhere
""""""
"""Deserializer Mapping"""

def __init__(self, deserializers: Mapping[str, Deserializer]):
super().__init__()
Expand Down
2 changes: 1 addition & 1 deletion flash/core/serve/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def fn_outputs_to_keyed_map(serialize_fn_out_keys, fn_output) -> Dict[str, Any]:
""""convert outputs of a function to a dict of `{result_name: values}`
"""convert outputs of a function to a dict of `{result_name: values}`
accepts function outputs which are sequence, dict, or object.
"""
Expand Down

0 comments on commit 2bdc204

Please sign in to comment.