[go: nahoru, domu]

Skip to content

Commit

Permalink
Removed print and updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarr committed May 24, 2022
1 parent 766a1fe commit 6220840
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def create_from_options(cls,
`AudioClassifierOptions` such as missing the model.
RuntimeError: If other types of error occurred.
"""
print(options.base_options.to_pb2())
classifier = _CppAudioClassifier.create_from_options(
options.base_options.to_pb2(), options.classification_options.to_pb2())
return cls(options, classifier)
Expand Down
6 changes: 1 addition & 5 deletions tensorflow_lite_support/python/task/core/base_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@

@dataclasses.dataclass
class BaseOptions:
"""Base options for python task libraries.
This contains a subset of the C++ base options that are useful in Python.
See C++ base options at:
https://github.com/tensorflow/tflite-support/blob/master/tensorflow_lite_support/cc/task/core/proto/base_options.proto
"""Base options for TensorFlow Lite Task Library's Python APIs.
Represents external files used by the Task APIs (e.g. TF Lite FlatBuffer or
plain-text labels file). The files can be specified by one of the following
Expand Down

0 comments on commit 6220840

Please sign in to comment.