MCPcopy Create free account

hub / github.com/ALRhub/X_IL / functions

Functions1,241 in github.com/ALRhub/X_IL

Methodstep
(self, action)
environments/wrappers/robosuite_wrapper.py:22
Methodstep
Updates the step count.
agents/models/beso/utils/ema.py:136
Methodstep
(self, val_loss: Optional[torch.FloatTensor] = None)
agents/models/beso/utils/lr_schedulers/warmup_lr_scheduler.py:70
Methodstep
(self, val_loss: Optional[torch.FloatTensor] = None)
agents/models/beso/utils/lr_schedulers/tri_stage_scheduler.py:130
Methodstep
(self, *args, **kwargs)
agents/models/beso/utils/lr_schedulers/lr_scheduler.py:38
Methodstore
Save the current parameters for restoring later. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
agents/models/beso/utils/ema.py:66
Methodstore_model_scaler
Store the model scaler inside the store path as model_scaler.pkl
agents/base_agent.py:207
Methodtest_agent
(self, agent: BaseAgent)
simulation/robocasa_pc_img_sim.py:100
Methodtest_agent
(self, agent: BaseAgent)
simulation/robocasa_sim.py:48
Methodtest_agent
(self, agent, agent_config, cpu_set=None, epoch=None)
simulation/libero_sim.py:187
Methodtest_agent
(self, agent: BaseAgent)
simulation/robocasa_pc_sim.py:100
Functiontest_backward
( f1, f2, inputs: tuple[torch.Tensor], mask: torch.Tensor | None = None, comp_func=torch.a
agents/backbones/xlstm/mlstm_kernels/utils/test/test_fwbw.py:33
Functiontest_forward
( f1, f2, inputs: tuple[torch.Tensor], comp_func=torch.allclose, comp_func_kwargs={},
agents/backbones/xlstm/mlstm_kernels/utils/test/test_fwbw.py:7
Functiontest_output_folder
()
agents/backbones/xlstm/mlstm_kernels/utils/test/fixtures.py:44
Functiontest_session_folder
()
agents/backbones/xlstm/mlstm_kernels/utils/test/fixtures.py:18
Functiontime_distributed
Apply function @op to all tensors in nested dictionary or list or tuple @inputs in both the batch (B) and time (T) dimension, where the tenso
agents/utils/tensor_util.py:933
Functiontimed
(*args, **kw)
agents/models/beso/utils/utils.py:18
Functiontimeit
(method)
agents/models/beso/utils/utils.py:17
Functionto_batch
Introduces a leading batch dimension of 1 for all torch tensors and numpy arrays in nested dictionary or list or tuple and returns a new nest
agents/utils/tensor_util.py:151
Functionto_list
Converts all torch tensors and numpy arrays in nested dictionary or list or tuple to a list, and returns a new nested structure. Useful for
agents/utils/tensor_util.py:330
Functionto_numpy
(tensor: torch.Tensor)
agents/backbones/xlstm/mlstm_kernels/torch/utils.py:63
Functionto_numpy
(tensor: jnp.ndarray)
agents/backbones/xlstm/mlstm_kernels/jax/utils.py:43
Functionto_numpy
Converts all torch tensors in nested dictionary or list or tuple to numpy (and leaves existing numpy arrays as-is), and returns a new nes
agents/utils/tensor_util.py:301
Functionto_one_hot
Convert all tensors in nested dictionary or list or tuple to one-hot representation, assuming a certain number of total class labels. Ar
agents/utils/tensor_util.py:432
Functionto_sequence
Introduces a time dimension of 1 at dimension 1 for all torch tensors and numpy arrays in nested dictionary or list or tuple and returns a ne
agents/utils/tensor_util.py:172
Methodto_string
(self, short_param_name: bool = True)
agents/backbones/xlstm/mlstm_kernels/utils/benchmark/param_handling.py:32
Functionto_torch
Converts all numpy arrays and torch tensors in nested dictionary or list or tuple to torch tensors on device @device and returns a new nested
agents/utils/tensor_util.py:401
Functionto_uint8
Converts all torch tensors and numpy arrays in nested dictionary or list or tuple to uint8 type entries, and returns a new nested structure.
agents/utils/tensor_util.py:380
Functiontorch_simple_gla
(q, k, v, g, chunk_size=64)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/simple_gla/naive.py:8
Functiontorch_simple_gla_recurrent
(q, k, v, g, chunk_size=64)
agents/backbones/xlstm/mlstm_kernels/baselines/flash_linear_attention/simple_gla/naive.py:29
Methodtraining_step
(self, batch, batch_idx)
agents/models/beso/utils/automatic_lang_annotator_mp.py:331
Methodtransformer_initializer
(m: nn.Module)
agents/models/beso/models/img_generation/masked_transformer_decoder.py:185
Methodtraversals
Plot traverse through all latent dimensions (prior or posterior) one by one and plots a grid of images where each row corresponds to a latent
agents/utils/visualizer.py:232
Methodupdate_pbar
()
simulation/libero_sim.py:221
Methodvalidation_step
(self, *args, **kwargs)
agents/models/beso/utils/automatic_lang_annotator_mp.py:334
Functionverify_output
( name: str, baseline: np.ndarray, target: np.ndarray, atol: float = 1e-4, rtol: float = 1
agents/backbones/xlstm/mlstm_kernels/utils/test/checks.py:98
Functionvisualize_pointcloud
(pointcloud, color:tuple=None)
utils/visualizer/visualizer/pointcloud.py:10
Methodvisualize_pointcloud_and_save
(self, pointcloud, color:tuple=None, save_path=None)
utils/visualizer/visualizer/pointcloud.py:124
Functionwrap_chunkwise__arbitrary_sequence_length
This function computes the last hidden state and matH outputs of the mLSTM, independently of the sequence length. For this it uses three kernels:
agents/backbones/xlstm/mlstm_kernels/torch/kernel_wrappers.py:12
Functionwrap_chunkwise__pad_zeros
( mlstm_chunkwise_kernel: Callable, q: torch.Tensor, # (B, NH, S, DHQK) k: torch.Tensor, # (B, N
agents/backbones/xlstm/mlstm_kernels/torch/kernel_wrappers.py:204
Functionwrapper
(ctx, *args, **kwargs)
agents/backbones/xlstm/mlstm_kernels/torch/utils.py:32
← previous1,201–1,241 of 1,241, ranked by callers