modeld: remove redundant pred_mu assignment (#33152)

remove redundant pred_mu assignment
old-commit-hash: 2cd9975e4f
pull/33302/head
Dean Lee 9 months ago committed by GitHub
parent 7adc4219f0
commit 74a9e64c2c
  1. 1
      selfdrive/modeld/parse_model_outputs.py

@ -42,7 +42,6 @@ class Parser:
raw = outs[name]
raw = raw.reshape((raw.shape[0], max(in_N, 1), -1))
pred_mu = raw[:,:,:(raw.shape[2] - out_N)//2]
n_values = (raw.shape[2] - out_N)//2
pred_mu = raw[:,:,:n_values]
pred_std = np.exp(raw[:,:,n_values: 2*n_values])

Loading…
Cancel
Save