MCPcopy Create free account
hub / github.com/MotrixLab/ADHMR / sigmoid

Function sigmoid

ADHMR/lib/utils/diff_utils.py:6–7  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

4
5def get_beta_schedule(beta_schedule, *, beta_start, beta_end, num_diffusion_timesteps):
6 def sigmoid(x):
7 return 1 / (np.exp(-x) + 1)
8
9 if beta_schedule == "quad":
10 betas = (

Callers 1

get_beta_scheduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected