Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Approx{1,2}_{v2,uniform}, af_gemm#234

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
9prady9 merged 2 commits intoarrayfire:masterfromsyurkevi:approx_complex
Aug 20, 2020

Conversation

syurkevi
Copy link
Contributor

This PR adds approx functions from upstream 3.7. Writing to existing array is supported by the trailingoutput= kargs.

This PR also adds support for af_gemm. Adding a af_c{float,double}_t ctypes class was necessary as complex types aren't natively supported by ctypes (afaik).

TODO: Not sure how to best implement fp16 type

raise TypeError("unsupported input type")


safe_call(backend.get().af_gemm(c_pointer(out.arr),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Unrelated to this PR: I am curious if we have to dobackend.get() for every such call. Is this cost negligible ?

@9prady99prady9 merged commita914b02 intoarrayfire:masterAug 20, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@9prady99prady99prady9 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@syurkevi@9prady9

[8]ページ先頭

©2009-2025 Movatter.jp