MCPcopy Create free account
hub / github.com/ReinFlow/ReinFlow / loss

Method loss

model/diffusion/diffusion_vpg.py:487–526  ·  view source on GitHub ↗

REINFORCE loss. Not used right now. Args: cond: dict with key state/rgb; more recent obs at the end state: (B, To, Do) rgb: (B, To, C, H, W) chains: (B, K+1, Ta, Da) reward (to go): (b,)

(self, cond, chains, reward)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

get_logprobsMethod · 0.95

Tested by

no test coverage detected