# C3M2\_Assignment \_, \_, issue

**URL:** <https://community.deeplearning.ai/t/c3m2-assignment-issue/884304>\
**Category:** PyTorch: Advanced Architectures and Deployment\
**Tags:** week-module-3, coursera-platform\
**Created:** [December 1, 2025, 7:09pm UTC](https://community.deeplearning.ai/t/c3m2-assignment-issue/884304 "2025-12-01T19:09:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChaseMcCain](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chasemccain/32/121364_2.png) [@ChaseMcCain](https://community.deeplearning.ai/u/ChaseMcCain)\
**Post date:** [December 1, 2025, 7:09pm UTC](https://community.deeplearning.ai/t/c3m2-assignment-issue/884304/1 "2025-12-01T19:09:48Z")

</div>

**I am using exact code from hint, but it gives error**

```auto
def save_fmap(_, _, output):
                     ^
SyntaxError: duplicate argument '_' in function definition

```

Maybe you shouldn’t confuse users?

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [December 1, 2025, 11:34pm UTC](https://community.deeplearning.ai/t/c3m2-assignment-issue/884304/3 "2025-12-01T23:34:35Z")

</div>

Ok, sorry, it looks like the hint is incorrect. But they literally gave you the actual code in the template and it is different than in the hint: the second argument is `__` (two underscores, not one). Are you sure that you didn’t modify the prewritten code? I have not actually gotten to this assignment yet, but in general you only need to modify the `None` values in the template code. Or at least it looks that way in this instance.

Please give it a try with `__` as the second argument and let us know if that helps.

I will file a bug about the incorrect hint.

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [December 2, 2025, 4:35am UTC](https://community.deeplearning.ai/t/c3m2-assignment-issue/884304/4 "2025-12-02T04:35:18Z")

</div>

Looking through that assignment, the same `_, __` syntax exists earlier in the `grab()` function that they also wrote out for you. Did you encounter a similar problem there?

---

<div class="post-metadata">

**Author:** ![ChaseMcCain](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chasemccain/32/121364_2.png) [@ChaseMcCain](https://community.deeplearning.ai/u/ChaseMcCain)\
**Post date:** [December 2, 2025, 7:35am UTC](https://community.deeplearning.ai/t/c3m2-assignment-issue/884304/5 "2025-12-02T07:35:03Z")

</div>

Yes, this issue is simply resolved by changing one of argument to any fake variable which you will not use anywhere: def save\_fmap(fake, \_, output): and it works fine. Just providing hint which you need “to debug” maybe no so good idea. We do not learn python here but pytorch 😉

---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [December 2, 2025, 12:03pm UTC](https://community.deeplearning.ai/t/c3m2-assignment-issue/884304/6 "2025-12-02T12:03:51Z")

</div>

Thank you for pointing this out! I have noted this and will address this soon to avoid confusion.
