Skip to content

How bcast works #6190

Answered by slaren
hipudding asked this question in Q&A
Discussion options

You must be logged in to vote

It repeats the second tensor to match the dimension of the first. Eg. ggml_add(a, b) is equivalent to ggml_add(a, ggml_repeat(b, a)).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hipudding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants