Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/insactor
/ encode
Method
encode
diffplanner/models/architectures/vae_architecture.py:48–50 ·
view source on GitHub ↗
(self, motion)
Source
from the content-addressed store, hash-verified
46
return
latent_code
47
48
def
encode(self, motion):
49
mu, logvar = self.encoder(motion)
50
return
mu
51
52
def
forward(self, **kwargs):
53
motion, motion_mask = kwargs[
'motion'
], kwargs[
'motion_mask'
]
Callers
1
collect_results_cpu
Function · 0.80
Calls
no outgoing calls
Tested by
1
collect_results_cpu
Function · 0.64