Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vincentzyx/Douzero_Resnet
/ functions
Functions
168 in github.com/Vincentzyx/Douzero_Resnet
⨍
Functions
168
◇
Types & classes
25
Method
__init__
(self)
douzero/dmc/models.py:48
Method
__init__
(self)
douzero/dmc/models.py:83
Method
__init__
(self)
douzero/dmc/models.py:118
Method
__init__
(self)
douzero/dmc/models.py:153
Method
__init__
(self, in_planes, planes, stride=1)
douzero/dmc/models.py:226
Method
__init__
(self)
douzero/dmc/models.py:253
Method
__init__
(self)
douzero/dmc/models.py:304
Method
__init__
(self, device=0)
douzero/dmc/models.py:361
Method
__init__
(self, device=0)
douzero/dmc/models.py:401
Method
__setstate__
(self, state)
douzero/radam/radam.py:113
Method
__setstate__
(self, state)
douzero/radam/radam.py:189
Method
_acting_player_position
The player that is active. It can be landlord, landlod_down, or landlord_up.
douzero/env/env.py:326
Method
_game_bomb_num
The number of bombs played so far. This is used as a feature of the neural network and is also used to calculate ADP.
douzero/env/env.py:311
Method
_game_infoset
Here, inforset is defined as all the information in the current situation, incuding the hand cards of all the players, all th
douzero/env/env.py:299
Method
_game_over
Returns a Boolean
douzero/env/env.py:334
Method
_game_winner
A string of landlord/peasants
douzero/env/env.py:320
Function
_get_obs_for_bid_legacy
(player_id, bid_info, hand_cards)
douzero/env/env.py:1157
Function
_get_obs_for_multiply
(position, bid_info, hand_cards, landlord_cards)
douzero/env/env.py:1301
Function
_get_obs_general1
(infoset, position)
douzero/env/env.py:887
Function
_get_obs_landlord_withbid
Obttain the landlord features. See Table 4 in https://arxiv.org/pdf/2106.06135.pdf
douzero/env/env.py:802
Function
act
(i, device, batch_queues, model, flags)
douzero/dmc/utils.py:74
Method
act
(self, infoset)
douzero/evaluation/deep_agent.py:35
Method
act
(self, infoset)
douzero/evaluation/random_agent.py:8
Method
act
(self, infoset)
douzero/evaluation/rlcard_agent.py:22
Function
batch_and_learn
Thread target for the learning process.
douzero/dmc/dmc.py:150
Method
close
(self)
douzero/dmc/env_utils.py:88
Method
eval
(self)
douzero/dmc/models.py:381
Method
eval
(self)
douzero/dmc/models.py:418
Function
filter_type_10_serial_triple
(moves, rival_move)
douzero/env/move_selector.py:56
Function
filter_type_11_serial_3_1
(moves, rival_move)
douzero/env/move_selector.py:59
Function
filter_type_12_serial_3_2
(moves, rival_move)
douzero/env/move_selector.py:70
Function
filter_type_13_4_2
(moves, rival_move)
douzero/env/move_selector.py:81
Function
filter_type_14_4_22
(moves, rival_move)
douzero/env/move_selector.py:92
Function
filter_type_1_single
(moves, rival_move)
douzero/env/move_selector.py:11
Function
filter_type_2_pair
(moves, rival_move)
douzero/env/move_selector.py:15
Function
filter_type_3_triple
(moves, rival_move)
douzero/env/move_selector.py:19
Function
filter_type_4_bomb
(moves, rival_move)
douzero/env/move_selector.py:23
Function
filter_type_6_3_1
(moves, rival_move)
douzero/env/move_selector.py:28
Function
filter_type_7_3_2
(moves, rival_move)
douzero/env/move_selector.py:39
Function
filter_type_8_serial_single
(moves, rival_move)
douzero/env/move_selector.py:50
Function
filter_type_9_serial_pair
(moves, rival_move)
douzero/env/move_selector.py:53
Method
forward
(self, input)
BidModel.py:44
Method
forward
(self, z, x, return_value=False, flags=None)
douzero/dmc/models.py:23
Method
forward
(self, z, x, return_value=False, flags=None)
douzero/dmc/models.py:58
Method
forward
(self, z, x, return_value=False, flags=None)
douzero/dmc/models.py:93
Method
forward
(self, z, x, return_value=False, flags=None)
douzero/dmc/models.py:128
Method
forward
(self, z, x, return_value=False, flags=None, debug=False)
douzero/dmc/models.py:188
Method
forward
(self, x)
douzero/dmc/models.py:244
Method
forward
(self, z, x, return_value=False, flags=None, debug=False)
douzero/dmc/models.py:279
Method
forward
(self, z, x, return_value=False, flags=None, debug=False)
douzero/dmc/models.py:314
Method
forward
(self, position, z, x, training=False, flags=None, debug=False)
douzero/dmc/models.py:371
Method
forward
(self, position, z, x, training=False, flags=None)
douzero/dmc/models.py:409
Method
get_model
(self, position)
douzero/dmc/models.py:390
Method
get_model
(self, position)
douzero/dmc/models.py:426
Method
get_models
(self)
douzero/dmc/models.py:393
Method
get_models
(self)
douzero/dmc/models.py:429
Function
get_move_type
(move)
douzero/env/move_detector.py:14
Function
mp_simulate
(card_play_data_list, card_play_model_path_dict, q, output, bid_output, title)
douzero/evaluation/simulation.py:25
Method
parameters
(self, position)
douzero/dmc/models.py:387
Method
parameters
(self, position)
douzero/dmc/models.py:423
Function
predict
(cards)
BidModel.py:66
Function
predict_env
(cards)
BidModel.py:74
Method
share_memory
(self)
douzero/dmc/models.py:375
Method
share_memory
(self)
douzero/dmc/models.py:413
Method
step
Step function takes as input the action, which is a list of integers, and output the next obervation, reward, and a Boolean v
douzero/env/env.py:228
Method
step
(self, closure=None)
douzero/radam/radam.py:28
Method
step
(self, closure=None)
douzero/radam/radam.py:116
Method
step
(self, closure=None)
douzero/radam/radam.py:192
← previous
101–168 of 168, ranked by callers