The View is responsible for rendering scripts and since the view knows when to render the partial view, it knows when to render the scripts for it.
In your layout you might find this:
@RenderSection("scripts", required: false)
The view can load scripts there like this:
@section Scripts
{
@Scripts.Render("~/bundles/SomeBundle")
}
This allows the calling view to render scripts.
What is not possible is to render scripts from a partial view or a sub-view.
You might find some workarounds on how to render scripts from a partial view, but in general is the responsibility of the view to know which scripts to load.
edit
Some of the workarounds I've seen are here.