Fix bug in DenseScanner of DataProviderConverter.#1121
Merged
reyoung merged 1 commit intoPaddlePaddle:developfrom Jan 16, 2017
Merged
Fix bug in DenseScanner of DataProviderConverter.#1121reyoung merged 1 commit intoPaddlePaddle:developfrom
reyoung merged 1 commit intoPaddlePaddle:developfrom
Conversation
reyoung
commented
Jan 11, 2017
| def finish_scan(self, argument): | ||
| assert isinstance(argument, swig_paddle.Arguments) | ||
| assert isinstance(self.input_type, dp2.InputType) | ||
| if self.__mat__.dtype != numpy.float32: |
Collaborator
Author
There was a problem hiding this comment.
即使__mat__初始化成float32的类型,在numpy.append操作中,dtype还是有可能被修改成float64.
Closed
jacquesqiao
approved these changes
Jan 11, 2017
| def finish_scan(self, argument): | ||
| assert isinstance(argument, swig_paddle.Arguments) | ||
| assert isinstance(self.input_type, dp2.InputType) | ||
| if self.__mat__.dtype != numpy.float32: |
zhhsplendid
pushed a commit
to zhhsplendid/Paddle
that referenced
this pull request
Sep 25, 2019
* test=document_preview * 0823 update FluidDoc,test=document_preview * add two files
wangxicoding
pushed a commit
to wangxicoding/Paddle
that referenced
this pull request
Dec 9, 2021
lizexu123
pushed a commit
to lizexu123/Paddle
that referenced
this pull request
Feb 23, 2024
zhangyuqin1998
pushed a commit
to zhangyuqin1998/Paddle
that referenced
this pull request
Feb 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.