Skip to content
Snippets Groups Projects
Commit 4444c3da authored by Ishtiaq Ahmad's avatar Ishtiaq Ahmad
Browse files

Upload New File

parent 51c58000
No related branches found
No related tags found
No related merge requests found
function action = select_action(actor, state)
raw_action = predict(actor,dlarray(state,'BC'));
action_probs = sigmoid(raw_action);
threshold = 0.5;
action = action_probs < threshold;
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment