clab / clab/dynet

How to perform explicit broadcasting in dynet ?

Open
#1,324 1 comment 0 reactions 0 assignees View on GitHub
fix needs confirmation
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

I have a batched input Tensor of shape : T * d * b where b is the batched dimension. I need to divide this by another Tensor : d * b . Function **cdiv** needs either the same dimension or unmatched dimension on the right. How can I manipulate tensors to perform this functionality?

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are named. Start by locating DyNet's cdiv tensor operation and its shape and broadcasting rules; clarify whether the expected outcome is an existing tensor manipulation or a new explicit-broadcasting capability, then verify handling of the stated T*d*b divided by d*b shapes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.