Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
c29bec48
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "c33f6046c3dab8f41bedf893404e6469dea3bce8"
Unverified
Commit
c29bec48
authored
Jan 06, 2023
by
Ceyda Cinarel
Committed by
GitHub
Jan 06, 2023
Browse files
fix parameter name in docstring (#21032)
parent
61e068e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/pipelines/feature_extraction.py
src/transformers/pipelines/feature_extraction.py
+1
-1
No files found.
src/transformers/pipelines/feature_extraction.py
View file @
c29bec48
...
@@ -44,7 +44,7 @@ class FeatureExtractionPipeline(Pipeline):
...
@@ -44,7 +44,7 @@ class FeatureExtractionPipeline(Pipeline):
If no framework is specified, will default to the one currently installed. If no framework is specified and
If no framework is specified, will default to the one currently installed. If no framework is specified and
both frameworks are installed, will default to the framework of the `model`, or to PyTorch if no model is
both frameworks are installed, will default to the framework of the `model`, or to PyTorch if no model is
provided.
provided.
return_tensor (`bool`, *optional*):
return_tensor
s
(`bool`, *optional*):
If `True`, returns a tensor according to the specified framework, otherwise returns a list.
If `True`, returns a tensor according to the specified framework, otherwise returns a list.
task (`str`, defaults to `""`):
task (`str`, defaults to `""`):
A task-identifier for the pipeline.
A task-identifier for the pipeline.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment