source/MXNetEnv/training/training_src/networks/utils.py [16:26]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    '''    
    food_state = state[:, :, 0]
    self_state = state[:, :, snake_id]

    other_states = []
    for i in range(1, state.shape[2]):
        if i == snake_id:
            continue
        other_states.append(state[:, :, i])
        
    other_states = np.stack(other_states, axis=2)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/RLlibEnv/training/training_src/utils.py [14:24]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    '''    
    food_state = state[:, :, 0]
    self_state = state[:, :, snake_id]

    other_states = []
    for i in range(1, state.shape[2]):
        if i == snake_id:
            continue
        other_states.append(state[:, :, i])
        
    other_states = np.stack(other_states, axis=2)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



