Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/2019ChenGong/Offline_RL_Poisoner
/ functions
Functions
1,427 in github.com/2019ChenGong/Offline_RL_Poisoner
⨍
Functions
1,427
◇
Types & classes
176
↳
Endpoints
37
↓ 1 callers
Method
__init__
( self, observation_shape: Sequence[int], action_size: int, actor_learning_rat
d3rlpy/algos/torch/plas_impl.py:40
↓ 1 callers
Method
__init__
(self, encoder: EncoderWithAction)
d3rlpy/models/torch/dynamics.py:63
↓ 1 callers
Method
__init__
(self, encoder: Encoder, action_size: int, n_quantiles: int)
d3rlpy/models/torch/q_functions/qr_q_function.py:28
↓ 1 callers
Method
__init__
( self, encoder: Encoder, action_size: int, n_quantiles: int, n_greedy
d3rlpy/models/torch/q_functions/iqn_q_function.py:59
↓ 1 callers
Method
__init__
( self, encoder: Encoder, action_size: int, n_quantiles: int, embed_si
d3rlpy/models/torch/q_functions/fqf_q_function.py:47
↓ 1 callers
Method
__init__
(self, encoder: Encoder, action_size: int)
d3rlpy/models/torch/q_functions/mean_q_function.py:17
↓ 1 callers
Method
__init__
( self, maxlen: int, env: Optional[gym.Env] = None, episodes: Optional[List[Ep
d3rlpy/online/buffers.py:24
↓ 1 callers
Method
_add_last_step
(self)
d3rlpy/online/buffers.py:317
↓ 1 callers
Function
_apply_spectral_norm_recursively
(model: nn.Module)
d3rlpy/models/torch/dynamics.py:28
↓ 1 callers
Method
_build_actor
(self)
d3rlpy/algos/torch/sac_impl.py:271
↓ 1 callers
Method
_build_actor
(self)
d3rlpy/algos/torch/ddpg_impl.py:129
↓ 1 callers
Method
_build_actor
(self)
d3rlpy/algos/torch/plas_impl.py:99
↓ 1 callers
Method
_build_actor_optim
(self)
d3rlpy/algos/torch/sac_impl.py:278
↓ 1 callers
Method
_build_actor_optim
(self)
d3rlpy/algos/torch/ddpg_impl.py:132
↓ 1 callers
Method
_build_alpha
(self)
d3rlpy/algos/torch/cql_impl.py:100
↓ 1 callers
Method
_build_alpha
(self)
d3rlpy/algos/torch/bear_impl.py:160
↓ 1 callers
Method
_build_alpha_optim
(self)
d3rlpy/algos/torch/cql_impl.py:104
↓ 1 callers
Method
_build_alpha_optim
(self)
d3rlpy/algos/torch/bear_impl.py:164
↓ 1 callers
Method
_build_critic
(self)
d3rlpy/algos/torch/sac_impl.py:256
↓ 1 callers
Method
_build_critic
(self)
d3rlpy/algos/torch/ddpg_impl.py:113
↓ 1 callers
Method
_build_critic_optim
(self)
d3rlpy/algos/torch/sac_impl.py:265
↓ 1 callers
Method
_build_critic_optim
(self)
d3rlpy/algos/torch/ddpg_impl.py:122
↓ 1 callers
Method
_build_dynamics
(self)
d3rlpy/dynamics/torch/probabilistic_ensemble_dynamics_impl.py:72
↓ 1 callers
Method
_build_imitator
(self)
d3rlpy/algos/torch/bcq_impl.py:115
↓ 1 callers
Method
_build_imitator
(self)
d3rlpy/algos/torch/plas_impl.py:106
↓ 1 callers
Method
_build_imitator
(self)
d3rlpy/algos/torch/bear_impl.py:143
↓ 1 callers
Method
_build_imitator_optim
(self)
d3rlpy/algos/torch/bcq_impl.py:126
↓ 1 callers
Method
_build_imitator_optim
(self)
d3rlpy/algos/torch/plas_impl.py:117
↓ 1 callers
Method
_build_imitator_optim
(self)
d3rlpy/algos/torch/bear_impl.py:154
↓ 1 callers
Method
_build_network
(self)
d3rlpy/ope/torch/fqe_impl.py:92
↓ 1 callers
Method
_build_network
(self)
d3rlpy/algos/torch/bc_impl.py:77
↓ 1 callers
Method
_build_network
(self)
d3rlpy/algos/torch/dqn_impl.py:82
↓ 1 callers
Method
_build_optim
(self)
d3rlpy/ope/torch/fqe_impl.py:95
↓ 1 callers
Method
_build_optim
(self)
d3rlpy/algos/torch/bc_impl.py:80
↓ 1 callers
Method
_build_optim
(self)
d3rlpy/algos/torch/dqn_impl.py:91
↓ 1 callers
Method
_build_optim
(self)
d3rlpy/dynamics/torch/probabilistic_ensemble_dynamics_impl.py:81
↓ 1 callers
Method
_build_temperature
(self)
d3rlpy/algos/torch/sac_impl.py:104
↓ 1 callers
Method
_build_temperature
(self)
d3rlpy/algos/torch/sac_impl.py:284
↓ 1 callers
Method
_build_temperature_optim
(self)
d3rlpy/algos/torch/sac_impl.py:108
↓ 1 callers
Method
_build_temperature_optim
(self)
d3rlpy/algos/torch/sac_impl.py:288
↓ 1 callers
Method
_build_value_func
(self)
d3rlpy/algos/torch/iql_impl.py:96
↓ 1 callers
Method
_build_value_optim
(self)
d3rlpy/algos/torch/iql_impl.py:101
↓ 1 callers
Method
_compute_advantage
( self, obs_t: torch.Tensor, act_t: torch.Tensor )
d3rlpy/algos/torch/crr_impl.py:108
↓ 1 callers
Method
_compute_conservative_loss
( self, obs_t: torch.Tensor, act_t: torch.Tensor )
d3rlpy/algos/torch/cql_impl.py:290
↓ 1 callers
Method
_compute_deterministic_target
( self, batch: TorchMiniBatch )
d3rlpy/algos/torch/cql_impl.py:232
↓ 1 callers
Method
_compute_mmd
(self, x: torch.Tensor)
d3rlpy/algos/torch/bear_impl.py:233
↓ 1 callers
Method
_compute_proposal_loss
( self, h: torch.Tensor, actions: torch.Tensor, taus: torch.Tensor, ta
d3rlpy/models/torch/q_functions/fqf_q_function.py:127
↓ 1 callers
Method
_compute_proposal_loss
( self, h: torch.Tensor, taus: torch.Tensor, taus_prime: torch.Tensor )
d3rlpy/models/torch/q_functions/fqf_q_function.py:251
↓ 1 callers
Method
_compute_weight
(self, batch: TorchMiniBatch)
d3rlpy/algos/torch/iql_impl.py:140
↓ 1 callers
Method
_compute_weight
( self, obs_t: torch.Tensor, act_t: torch.Tensor )
d3rlpy/algos/torch/crr_impl.py:98
↓ 1 callers
Method
_compute_weights
( self, obs_t: torch.Tensor, act_t: torch.Tensor )
d3rlpy/algos/torch/awac_impl.py:119
↓ 1 callers
Method
_create_impl
( self, observation_shape: Sequence[int], action_size: int )
d3rlpy/base.py:696
↓ 1 callers
Function
_deseriealize_params
(params: Dict[str, Any])
d3rlpy/base.py:101
↓ 1 callers
Method
_evaluate
( self, episodes: List[Episode], scorers: Dict[str, Callable[[Any, List[Episode]], flo
d3rlpy/base.py:793
↓ 1 callers
Method
_get_linear_input_size
(self)
d3rlpy/models/torch/encoders.py:226
↓ 1 callers
Method
_get_rollout_horizon
(self)
d3rlpy/algos/utility.py:86
↓ 1 callers
Method
_has_finished
(self)
d3rlpy/iterators/base.py:81
↓ 1 callers
Method
_is_generating_new_data
(self)
d3rlpy/algos/utility.py:74
↓ 1 callers
Method
_mutate_transition
( self, observations: np.ndarray, rewards: np.ndarray, variances: np.ndarray,
d3rlpy/algos/utility.py:89
↓ 1 callers
Method
_next
(self)
d3rlpy/iterators/base.py:77
↓ 1 callers
Method
_predict
( self, x: torch.Tensor, action: torch.Tensor, indices: Optional[torch.Tensor]
d3rlpy/dynamics/torch/base.py:69
↓ 1 callers
Method
_predict_best_action
(self, x: torch.Tensor)
d3rlpy/algos/torch/bcq_impl.py:203
↓ 1 callers
Method
_predict_best_action
(self, x: torch.Tensor)
d3rlpy/algos/torch/ddpg_impl.py:192
↓ 1 callers
Method
_predict_best_action
(self, x: torch.Tensor)
d3rlpy/algos/torch/plas_impl.py:146
↓ 1 callers
Method
_predict_best_action
(self, x: torch.Tensor)
d3rlpy/algos/torch/plas_impl.py:264
↓ 1 callers
Method
_prepare_logger
( self, save_metrics: bool, experiment_name: Optional[str], with_timestamp: bo
d3rlpy/base.py:770
↓ 1 callers
Method
_reset
(self)
d3rlpy/iterators/base.py:73
↓ 1 callers
Method
_sample_action
(self, x: torch.Tensor)
d3rlpy/algos/torch/base.py:83
↓ 1 callers
Method
_sample_generated_transitions
( self, batch_size: int )
d3rlpy/iterators/base.py:92
↓ 1 callers
Method
_sample_initial_transitions
( self, transitions: List[Transition] )
d3rlpy/algos/utility.py:77
↓ 1 callers
Method
_save_stats
(self)
d3rlpy/envs/wrappers.py:354
↓ 1 callers
Method
_save_video
(self)
d3rlpy/envs/wrappers.py:343
↓ 1 callers
Function
_serialize_params
(params: Dict[str, Any])
d3rlpy/base.py:78
↓ 1 callers
Method
_update
(self, batch: TransitionMiniBatch)
d3rlpy/base.py:751
↓ 1 callers
Method
add_params
(self, params: Dict[str, Any])
d3rlpy/logger.py:88
↓ 1 callers
Method
append
Stack new image. Args: image (numpy.ndarray): image observation.
d3rlpy/preprocessing/stack.py:103
↓ 1 callers
Function
average_value_estimation_scorer
r"""Returns average value estimation. This metrics suggests the scale for estimation of Q functions. If average value estimation is too large
d3rlpy/metrics/scorer.py:175
↓ 1 callers
Method
best_action
(self, x: torch.Tensor)
d3rlpy/models/torch/policies.py:77
↓ 1 callers
Method
best_action
(self, x: torch.Tensor)
d3rlpy/models/torch/policies.py:234
↓ 1 callers
Method
best_action
(self, x: torch.Tensor)
d3rlpy/models/torch/policies.py:299
↓ 1 callers
Method
best_residual_action
( self, x: torch.Tensor, action: torch.Tensor )
d3rlpy/models/torch/policies.py:101
↓ 1 callers
Method
build
(self)
d3rlpy/algos/torch/plas_impl.py:93
↓ 1 callers
Method
build
(self)
d3rlpy/algos/torch/bear_impl.py:136
↓ 1 callers
Method
build_with_dataset
Instantiate implementation object with MDPDataset object. Args: dataset: dataset.
d3rlpy/base.py:701
↓ 1 callers
Method
build_with_env
(self, env: gym.Env)
d3rlpy/online/iterators.py:21
↓ 1 callers
Function
carla
()
carla/carla_perturbation.py:12
↓ 1 callers
Function
carla_activation_clustering
()
carla/backdoor_detection.py:23
↓ 1 callers
Method
clear
Clear stacked observation by filling 0.
d3rlpy/preprocessing/stack.py:124
↓ 1 callers
Method
clip_episode
(self)
d3rlpy/online/buffers.py:310
↓ 1 callers
Function
collect
Collects data via interaction with environment. Args: algo: algorithm object. env: gym-like environment. buffer : replay
d3rlpy/online/iterators.py:289
↓ 1 callers
Function
compare_continuous_action_diff
r"""Returns scorer function of action difference between algorithms. This metrics suggests how different the two algorithms are in continuous
d3rlpy/metrics/comparer.py:9
↓ 1 callers
Function
compare_discrete_action_match
r"""Returns scorer function of action matches between algorithms. This metrics suggests how different the two algorithms are in discrete acti
d3rlpy/metrics/comparer.py:59
↓ 1 callers
Method
compute_actor_loss
(self, batch: TorchMiniBatch)
d3rlpy/algos/torch/sac_impl.py:358
↓ 1 callers
Method
compute_actor_loss
(self, batch: TorchMiniBatch)
d3rlpy/algos/torch/ddpg_impl.py:185
↓ 1 callers
Method
compute_actor_loss
(self, batch: TorchMiniBatch)
d3rlpy/algos/torch/awac_impl.py:102
↓ 1 callers
Method
compute_critic_loss
( self, batch: TorchMiniBatch, q_tpn: torch.Tensor, )
d3rlpy/algos/torch/sac_impl.py:325
↓ 1 callers
Method
compute_critic_loss
( self, batch: TorchMiniBatch, q_tpn: torch.Tensor )
d3rlpy/algos/torch/ddpg_impl.py:153
↓ 1 callers
Method
compute_error
( self, x: torch.Tensor, action: torch.Tensor )
d3rlpy/models/torch/imitators.py:158
↓ 1 callers
Method
compute_error
( self, x: torch.Tensor, action: torch.Tensor )
d3rlpy/models/torch/imitators.py:180
↓ 1 callers
Method
compute_error
( self, x: torch.Tensor, action: torch.Tensor )
d3rlpy/models/torch/imitators.py:225
← previous
next →
301–400 of 1,427, ranked by callers