Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator unit tests broken #106

Closed
winston-zillow opened this issue Jan 17, 2020 · 0 comments
Closed

Operator unit tests broken #106

winston-zillow opened this issue Jan 17, 2020 · 0 comments

Comments

@winston-zillow
Copy link

Many unit tests seem to be broken for me on the develop branch.

In particular, the hard-coding of output var type is problematic:

    def append_input_output(self, block, op_proto, np_list, persistable_list, is_input):
        ...
        def create_var(block, name, np_list, var_proto):
            ...
            return block.create_var(
                dtype='float32',
                shape=shape,
                persistable=persistable,
                lod_level=lod_level,
                name=name)

However, making the type from np_val will fix some tests but break many others.

Zeref996 pushed a commit to Zeref996/Paddle2ONNX that referenced this issue Aug 24, 2021
* add broadcast

* add broadcast

Co-authored-by: liuhuanling <34302448+Pcjmmc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants