Models#
PyHealth models sit between the Processors (which turn raw patient data
into tensors) and the Trainer (which runs the training loop). Each
model takes a SampleDataset — the result of dataset.set_task() — as
its first constructor argument, and uses it to automatically build the right
embedding layers and output head for your task.
One thing worth knowing up front: the SampleDataset carries fitted
processor metadata that the model needs to configure itself. If you pass the
raw BaseDataset instead you’ll get an error, because it hasn’t been
processed into samples yet.
Choosing a Model#
The table below covers the most commonly used models and when each one fits
best. If your features are a mix of sequential codes and static numeric
vectors, MultimodalRNN is usually the easiest starting point because it
routes each feature type automatically.
Model |
Good fit when… |
Notes |
|---|---|---|
Your features are sequences of medical codes (diagnoses, procedures, drugs) across visits |
One RNN per feature, hidden states concatenated; |
|
You have longer code histories and want attention to capture long-range dependencies |
Self-attention across the sequence; tends to work well when visit order matters |
|
Features are static numeric vectors (aggregated lab values, demographics) |
Fully connected; no notion of sequence order |
|
|
Features mix sequential codes with static tensors or multi-hot encodings |
Auto-routes sequential features to RNN layers and non-sequential features to linear layers; good default for EHR |
You have time-stamped vital signs with irregular measurement intervals |
Requires |
|
Features include graph-structured data |
Works with |
|
You want to augment EHR codes with a medical knowledge graph |
Combines code sequences with a |
How BaseModel Works#
All PyHealth models inherit from BaseModel, which itself inherits from
PyTorch’s nn.Module. When you call MyModel(dataset=sample_ds), the
base class reads the dataset’s schemas and automatically sets:
self.feature_keys— the list of input field names frominput_schemaself.label_keys— the list of output field names fromoutput_schemaself.device— the compute device
It also provides three helper methods that take care of the boilerplate that varies by task type:
self.get_output_size()returns the output dimension from the fitted label processor, so you don’t have to hard-code it.self.get_loss_function()returns the right loss for the task: BCE for binary and multilabel tasks, cross-entropy for multiclass, MSE for regression.self.prepare_y_prob(logits)applies sigmoid, softmax, or identity to logits depending on the task, producing calibrated probabilities.
The forward() method is expected to return a dictionary with four keys:
loss, y_prob, y_true, and logit. The Trainer reads all four.
EmbeddingModel#
EmbeddingModel is a helper that routes each input
feature to the appropriate embedding layer based on how its processor works.
Features from token-based processors (SequenceProcessor,
NestedSequenceProcessor, and similar) get a learned nn.Embedding
lookup. Features from continuous processors (TensorProcessor,
TimeseriesProcessor, MultiHotProcessor) get a linear projection
instead. You end up with a uniform embedding shape across all features:
self.embedding_model = EmbeddingModel(dataset, embedding_dim=128)
embedded = self.embedding_model(inputs, masks=masks)
# embedded[key] has shape (batch_size, seq_len, embedding_dim)
Task Mode and Loss Functions#
PyHealth automatically selects the loss function and output activation based
on the label processor in your task’s output_schema:
Output schema value |
Loss function |
|
|---|---|---|
|
BCE with logits |
sigmoid → (batch, 1) |
|
Cross-entropy |
softmax → (batch, num_classes) |
|
BCE with logits |
sigmoid → (batch, num_labels) |
|
MSE |
identity → (batch, 1) |
Building a Custom Model#
If none of the built-in models fit your architecture, you can subclass
BaseModel directly. The skeleton below shows the typical structure: build
an EmbeddingModel in __init__, unpack processor schemas in
forward, pool or aggregate the embeddings, and return the four-key dict.
from pyhealth.models import BaseModel
from pyhealth.models.embedding import EmbeddingModel
import torch
import torch.nn as nn
class MyModel(BaseModel):
def __init__(self, dataset, embedding_dim=128):
super().__init__(dataset=dataset)
self.label_key = self.label_keys[0]
self.embedding_model = EmbeddingModel(dataset, embedding_dim)
self.fc = nn.Linear(embedding_dim * len(self.feature_keys),
self.get_output_size())
def forward(self, **kwargs):
inputs, masks = {}, {}
for key in self.feature_keys:
feature = kwargs[key]
if isinstance(feature, torch.Tensor):
feature = (feature,)
schema = self.dataset.input_processors[key].schema()
inputs[key] = feature[schema.index("value")]
if "mask" in schema:
masks[key] = feature[schema.index("mask")]
embedded = self.embedding_model(inputs, masks=masks)
pooled = [embedded[k].mean(dim=1) for k in self.feature_keys]
logits = self.fc(torch.cat(pooled, dim=1))
y_true = kwargs[self.label_key].to(self.device)
return {
"loss": self.get_loss_function()(logits, y_true),
"y_prob": self.prepare_y_prob(logits),
"y_true": y_true,
"logit": logits,
}
API Reference#
- pyhealth.models.BaseModel
BaseModelBaseModel.forward()BaseModel.deviceBaseModel.T_destinationBaseModel.add_module()BaseModel.apply()BaseModel.bfloat16()BaseModel.buffers()BaseModel.call_super_initBaseModel.children()BaseModel.compile()BaseModel.cpu()BaseModel.cuda()BaseModel.double()BaseModel.dump_patchesBaseModel.eval()BaseModel.extra_repr()BaseModel.float()BaseModel.get_buffer()BaseModel.get_extra_state()BaseModel.get_output_size()BaseModel.get_parameter()BaseModel.get_submodule()BaseModel.half()BaseModel.ipu()BaseModel.load_state_dict()BaseModel.modules()BaseModel.mtia()BaseModel.named_buffers()BaseModel.named_children()BaseModel.named_modules()BaseModel.named_parameters()BaseModel.parameters()BaseModel.register_backward_hook()BaseModel.register_buffer()BaseModel.register_forward_hook()BaseModel.register_forward_pre_hook()BaseModel.register_full_backward_hook()BaseModel.register_full_backward_pre_hook()BaseModel.register_load_state_dict_post_hook()BaseModel.register_load_state_dict_pre_hook()BaseModel.register_module()BaseModel.register_parameter()BaseModel.register_state_dict_post_hook()BaseModel.register_state_dict_pre_hook()BaseModel.requires_grad_()BaseModel.set_extra_state()BaseModel.set_submodule()BaseModel.share_memory()BaseModel.state_dict()BaseModel.to()BaseModel.to_empty()BaseModel.train()BaseModel.type()BaseModel.xpu()BaseModel.zero_grad()BaseModel.trainingBaseModel.get_loss_function()BaseModel.prepare_y_prob()
- pyhealth.models.LogisticRegression
LogisticRegressionLogisticRegression.mean_pooling()LogisticRegression.forward()LogisticRegression.T_destinationLogisticRegression.add_module()LogisticRegression.apply()LogisticRegression.bfloat16()LogisticRegression.buffers()LogisticRegression.call_super_initLogisticRegression.children()LogisticRegression.compile()LogisticRegression.cpu()LogisticRegression.cuda()LogisticRegression.deviceLogisticRegression.double()LogisticRegression.dump_patchesLogisticRegression.eval()LogisticRegression.extra_repr()LogisticRegression.float()LogisticRegression.get_buffer()LogisticRegression.get_extra_state()LogisticRegression.get_loss_function()LogisticRegression.get_output_size()LogisticRegression.get_parameter()LogisticRegression.get_submodule()LogisticRegression.half()LogisticRegression.ipu()LogisticRegression.load_state_dict()LogisticRegression.modules()LogisticRegression.mtia()LogisticRegression.named_buffers()LogisticRegression.named_children()LogisticRegression.named_modules()LogisticRegression.named_parameters()LogisticRegression.parameters()LogisticRegression.prepare_y_prob()LogisticRegression.register_backward_hook()LogisticRegression.register_buffer()LogisticRegression.register_forward_hook()LogisticRegression.register_forward_pre_hook()LogisticRegression.register_full_backward_hook()LogisticRegression.register_full_backward_pre_hook()LogisticRegression.register_load_state_dict_post_hook()LogisticRegression.register_load_state_dict_pre_hook()LogisticRegression.register_module()LogisticRegression.register_parameter()LogisticRegression.register_state_dict_post_hook()LogisticRegression.register_state_dict_pre_hook()LogisticRegression.requires_grad_()LogisticRegression.set_extra_state()LogisticRegression.set_submodule()LogisticRegression.share_memory()LogisticRegression.state_dict()LogisticRegression.to()LogisticRegression.to_empty()LogisticRegression.train()LogisticRegression.type()LogisticRegression.xpu()LogisticRegression.zero_grad()LogisticRegression.training
- pyhealth.models.MLP
MLPMLP.mean_pooling()MLP.sum_pooling()MLP.forward_from_embedding()MLP.forward()MLP.get_embedding_model()MLP.T_destinationMLP.add_module()MLP.apply()MLP.bfloat16()MLP.buffers()MLP.call_super_initMLP.children()MLP.compile()MLP.cpu()MLP.cuda()MLP.deviceMLP.double()MLP.dump_patchesMLP.eval()MLP.extra_repr()MLP.float()MLP.get_buffer()MLP.get_extra_state()MLP.get_loss_function()MLP.get_output_size()MLP.get_parameter()MLP.get_submodule()MLP.half()MLP.ipu()MLP.load_state_dict()MLP.modules()MLP.mtia()MLP.named_buffers()MLP.named_children()MLP.named_modules()MLP.named_parameters()MLP.parameters()MLP.prepare_y_prob()MLP.register_backward_hook()MLP.register_buffer()MLP.register_forward_hook()MLP.register_forward_pre_hook()MLP.register_full_backward_hook()MLP.register_full_backward_pre_hook()MLP.register_load_state_dict_post_hook()MLP.register_load_state_dict_pre_hook()MLP.register_module()MLP.register_parameter()MLP.register_state_dict_post_hook()MLP.register_state_dict_pre_hook()MLP.requires_grad_()MLP.set_extra_state()MLP.set_submodule()MLP.share_memory()MLP.state_dict()MLP.to()MLP.to_empty()MLP.train()MLP.type()MLP.xpu()MLP.zero_grad()MLP.training
- pyhealth.models.CNN
CNNLayerCNNLayer.forward()CNNLayer.T_destinationCNNLayer.add_module()CNNLayer.apply()CNNLayer.bfloat16()CNNLayer.buffers()CNNLayer.call_super_initCNNLayer.children()CNNLayer.compile()CNNLayer.cpu()CNNLayer.cuda()CNNLayer.double()CNNLayer.dump_patchesCNNLayer.eval()CNNLayer.extra_repr()CNNLayer.float()CNNLayer.get_buffer()CNNLayer.get_extra_state()CNNLayer.get_parameter()CNNLayer.get_submodule()CNNLayer.half()CNNLayer.ipu()CNNLayer.load_state_dict()CNNLayer.modules()CNNLayer.mtia()CNNLayer.named_buffers()CNNLayer.named_children()CNNLayer.named_modules()CNNLayer.named_parameters()CNNLayer.parameters()CNNLayer.register_backward_hook()CNNLayer.register_buffer()CNNLayer.register_forward_hook()CNNLayer.register_forward_pre_hook()CNNLayer.register_full_backward_hook()CNNLayer.register_full_backward_pre_hook()CNNLayer.register_load_state_dict_post_hook()CNNLayer.register_load_state_dict_pre_hook()CNNLayer.register_module()CNNLayer.register_parameter()CNNLayer.register_state_dict_post_hook()CNNLayer.register_state_dict_pre_hook()CNNLayer.requires_grad_()CNNLayer.set_extra_state()CNNLayer.set_submodule()CNNLayer.share_memory()CNNLayer.state_dict()CNNLayer.to()CNNLayer.to_empty()CNNLayer.train()CNNLayer.type()CNNLayer.xpu()CNNLayer.zero_grad()CNNLayer.training
CNNCNN.forward()CNN.T_destinationCNN.add_module()CNN.apply()CNN.bfloat16()CNN.buffers()CNN.call_super_initCNN.children()CNN.compile()CNN.cpu()CNN.cuda()CNN.deviceCNN.double()CNN.dump_patchesCNN.eval()CNN.extra_repr()CNN.float()CNN.get_buffer()CNN.get_extra_state()CNN.get_loss_function()CNN.get_output_size()CNN.get_parameter()CNN.get_submodule()CNN.half()CNN.ipu()CNN.load_state_dict()CNN.modules()CNN.mtia()CNN.named_buffers()CNN.named_children()CNN.named_modules()CNN.named_parameters()CNN.parameters()CNN.prepare_y_prob()CNN.register_backward_hook()CNN.register_buffer()CNN.register_forward_hook()CNN.register_forward_pre_hook()CNN.register_full_backward_hook()CNN.register_full_backward_pre_hook()CNN.register_load_state_dict_post_hook()CNN.register_load_state_dict_pre_hook()CNN.register_module()CNN.register_parameter()CNN.register_state_dict_post_hook()CNN.register_state_dict_pre_hook()CNN.requires_grad_()CNN.set_extra_state()CNN.set_submodule()CNN.share_memory()CNN.state_dict()CNN.to()CNN.to_empty()CNN.train()CNN.type()CNN.xpu()CNN.zero_grad()CNN.training
- pyhealth.models.RNN
RNNLayerRNNLayer.forward()RNNLayer.T_destinationRNNLayer.add_module()RNNLayer.apply()RNNLayer.bfloat16()RNNLayer.buffers()RNNLayer.call_super_initRNNLayer.children()RNNLayer.compile()RNNLayer.cpu()RNNLayer.cuda()RNNLayer.double()RNNLayer.dump_patchesRNNLayer.eval()RNNLayer.extra_repr()RNNLayer.float()RNNLayer.get_buffer()RNNLayer.get_extra_state()RNNLayer.get_parameter()RNNLayer.get_submodule()RNNLayer.half()RNNLayer.ipu()RNNLayer.load_state_dict()RNNLayer.modules()RNNLayer.mtia()RNNLayer.named_buffers()RNNLayer.named_children()RNNLayer.named_modules()RNNLayer.named_parameters()RNNLayer.parameters()RNNLayer.register_backward_hook()RNNLayer.register_buffer()RNNLayer.register_forward_hook()RNNLayer.register_forward_pre_hook()RNNLayer.register_full_backward_hook()RNNLayer.register_full_backward_pre_hook()RNNLayer.register_load_state_dict_post_hook()RNNLayer.register_load_state_dict_pre_hook()RNNLayer.register_module()RNNLayer.register_parameter()RNNLayer.register_state_dict_post_hook()RNNLayer.register_state_dict_pre_hook()RNNLayer.requires_grad_()RNNLayer.set_extra_state()RNNLayer.set_submodule()RNNLayer.share_memory()RNNLayer.state_dict()RNNLayer.to()RNNLayer.to_empty()RNNLayer.train()RNNLayer.type()RNNLayer.xpu()RNNLayer.zero_grad()RNNLayer.training
RNNRNN.forward()RNN.T_destinationRNN.add_module()RNN.apply()RNN.bfloat16()RNN.buffers()RNN.call_super_initRNN.children()RNN.compile()RNN.cpu()RNN.cuda()RNN.deviceRNN.double()RNN.dump_patchesRNN.eval()RNN.extra_repr()RNN.float()RNN.get_buffer()RNN.get_extra_state()RNN.get_loss_function()RNN.get_output_size()RNN.get_parameter()RNN.get_submodule()RNN.half()RNN.ipu()RNN.load_state_dict()RNN.modules()RNN.mtia()RNN.named_buffers()RNN.named_children()RNN.named_modules()RNN.named_parameters()RNN.parameters()RNN.prepare_y_prob()RNN.register_backward_hook()RNN.register_buffer()RNN.register_forward_hook()RNN.register_forward_pre_hook()RNN.register_full_backward_hook()RNN.register_full_backward_pre_hook()RNN.register_load_state_dict_post_hook()RNN.register_load_state_dict_pre_hook()RNN.register_module()RNN.register_parameter()RNN.register_state_dict_post_hook()RNN.register_state_dict_pre_hook()RNN.requires_grad_()RNN.set_extra_state()RNN.set_submodule()RNN.share_memory()RNN.state_dict()RNN.to()RNN.to_empty()RNN.train()RNN.type()RNN.xpu()RNN.zero_grad()RNN.training
MultimodalRNNMultimodalRNN.forward()MultimodalRNN.T_destinationMultimodalRNN.add_module()MultimodalRNN.apply()MultimodalRNN.bfloat16()MultimodalRNN.buffers()MultimodalRNN.call_super_initMultimodalRNN.children()MultimodalRNN.compile()MultimodalRNN.cpu()MultimodalRNN.cuda()MultimodalRNN.deviceMultimodalRNN.double()MultimodalRNN.dump_patchesMultimodalRNN.eval()MultimodalRNN.extra_repr()MultimodalRNN.float()MultimodalRNN.get_buffer()MultimodalRNN.get_extra_state()MultimodalRNN.get_loss_function()MultimodalRNN.get_output_size()MultimodalRNN.get_parameter()MultimodalRNN.get_submodule()MultimodalRNN.half()MultimodalRNN.ipu()MultimodalRNN.load_state_dict()MultimodalRNN.modules()MultimodalRNN.mtia()MultimodalRNN.named_buffers()MultimodalRNN.named_children()MultimodalRNN.named_modules()MultimodalRNN.named_parameters()MultimodalRNN.parameters()MultimodalRNN.prepare_y_prob()MultimodalRNN.register_backward_hook()MultimodalRNN.register_buffer()MultimodalRNN.register_forward_hook()MultimodalRNN.register_forward_pre_hook()MultimodalRNN.register_full_backward_hook()MultimodalRNN.register_full_backward_pre_hook()MultimodalRNN.register_load_state_dict_post_hook()MultimodalRNN.register_load_state_dict_pre_hook()MultimodalRNN.register_module()MultimodalRNN.register_parameter()MultimodalRNN.register_state_dict_post_hook()MultimodalRNN.register_state_dict_pre_hook()MultimodalRNN.requires_grad_()MultimodalRNN.set_extra_state()MultimodalRNN.set_submodule()MultimodalRNN.share_memory()MultimodalRNN.state_dict()MultimodalRNN.to()MultimodalRNN.to_empty()MultimodalRNN.train()MultimodalRNN.type()MultimodalRNN.xpu()MultimodalRNN.zero_grad()MultimodalRNN.training
- pyhealth.models.GNN
GATGAT.forward()GAT.T_destinationGAT.add_module()GAT.apply()GAT.bfloat16()GAT.buffers()GAT.call_super_initGAT.children()GAT.compile()GAT.cpu()GAT.cuda()GAT.deviceGAT.double()GAT.dump_patchesGAT.eval()GAT.extra_repr()GAT.float()GAT.get_buffer()GAT.get_extra_state()GAT.get_loss_function()GAT.get_output_size()GAT.get_parameter()GAT.get_submodule()GAT.half()GAT.ipu()GAT.load_state_dict()GAT.modules()GAT.mtia()GAT.named_buffers()GAT.named_children()GAT.named_modules()GAT.named_parameters()GAT.parameters()GAT.prepare_y_prob()GAT.register_backward_hook()GAT.register_buffer()GAT.register_forward_hook()GAT.register_forward_pre_hook()GAT.register_full_backward_hook()GAT.register_full_backward_pre_hook()GAT.register_load_state_dict_post_hook()GAT.register_load_state_dict_pre_hook()GAT.register_module()GAT.register_parameter()GAT.register_state_dict_post_hook()GAT.register_state_dict_pre_hook()GAT.requires_grad_()GAT.set_extra_state()GAT.set_submodule()GAT.share_memory()GAT.state_dict()GAT.to()GAT.to_empty()GAT.train()GAT.type()GAT.xpu()GAT.zero_grad()GAT.training
GCNGCN.forward()GCN.T_destinationGCN.add_module()GCN.apply()GCN.bfloat16()GCN.buffers()GCN.call_super_initGCN.children()GCN.compile()GCN.cpu()GCN.cuda()GCN.deviceGCN.double()GCN.dump_patchesGCN.eval()GCN.extra_repr()GCN.float()GCN.get_buffer()GCN.get_extra_state()GCN.get_loss_function()GCN.get_output_size()GCN.get_parameter()GCN.get_submodule()GCN.half()GCN.ipu()GCN.load_state_dict()GCN.modules()GCN.mtia()GCN.named_buffers()GCN.named_children()GCN.named_modules()GCN.named_parameters()GCN.parameters()GCN.prepare_y_prob()GCN.register_backward_hook()GCN.register_buffer()GCN.register_forward_hook()GCN.register_forward_pre_hook()GCN.register_full_backward_hook()GCN.register_full_backward_pre_hook()GCN.register_load_state_dict_post_hook()GCN.register_load_state_dict_pre_hook()GCN.register_module()GCN.register_parameter()GCN.register_state_dict_post_hook()GCN.register_state_dict_pre_hook()GCN.requires_grad_()GCN.set_extra_state()GCN.set_submodule()GCN.share_memory()GCN.state_dict()GCN.to()GCN.to_empty()GCN.train()GCN.type()GCN.xpu()GCN.zero_grad()GCN.training
- pyhealth.models.Transformer
TransformerLayerTransformerLayer.set_activation_hooks()TransformerLayer.forward()TransformerLayer.T_destinationTransformerLayer.add_module()TransformerLayer.apply()TransformerLayer.bfloat16()TransformerLayer.buffers()TransformerLayer.call_super_initTransformerLayer.children()TransformerLayer.compile()TransformerLayer.cpu()TransformerLayer.cuda()TransformerLayer.double()TransformerLayer.dump_patchesTransformerLayer.eval()TransformerLayer.extra_repr()TransformerLayer.float()TransformerLayer.get_buffer()TransformerLayer.get_extra_state()TransformerLayer.get_parameter()TransformerLayer.get_submodule()TransformerLayer.half()TransformerLayer.ipu()TransformerLayer.load_state_dict()TransformerLayer.modules()TransformerLayer.mtia()TransformerLayer.named_buffers()TransformerLayer.named_children()TransformerLayer.named_modules()TransformerLayer.named_parameters()TransformerLayer.parameters()TransformerLayer.register_backward_hook()TransformerLayer.register_buffer()TransformerLayer.register_forward_hook()TransformerLayer.register_forward_pre_hook()TransformerLayer.register_full_backward_hook()TransformerLayer.register_full_backward_pre_hook()TransformerLayer.register_load_state_dict_post_hook()TransformerLayer.register_load_state_dict_pre_hook()TransformerLayer.register_module()TransformerLayer.register_parameter()TransformerLayer.register_state_dict_post_hook()TransformerLayer.register_state_dict_pre_hook()TransformerLayer.requires_grad_()TransformerLayer.set_extra_state()TransformerLayer.set_submodule()TransformerLayer.share_memory()TransformerLayer.state_dict()TransformerLayer.to()TransformerLayer.to_empty()TransformerLayer.train()TransformerLayer.type()TransformerLayer.xpu()TransformerLayer.zero_grad()TransformerLayer.training
TransformerTransformer.forward_from_embedding()Transformer.forward()Transformer.get_embedding_model()Transformer.set_attention_hooks()Transformer.get_attention_layers()Transformer.get_relevance_tensor()Transformer.T_destinationTransformer.add_module()Transformer.apply()Transformer.bfloat16()Transformer.buffers()Transformer.call_super_initTransformer.children()Transformer.compile()Transformer.cpu()Transformer.cuda()Transformer.deviceTransformer.double()Transformer.dump_patchesTransformer.eval()Transformer.extra_repr()Transformer.float()Transformer.get_buffer()Transformer.get_extra_state()Transformer.get_loss_function()Transformer.get_output_size()Transformer.get_parameter()Transformer.get_submodule()Transformer.half()Transformer.ipu()Transformer.load_state_dict()Transformer.modules()Transformer.mtia()Transformer.named_buffers()Transformer.named_children()Transformer.named_modules()Transformer.named_parameters()Transformer.parameters()Transformer.prepare_y_prob()Transformer.register_backward_hook()Transformer.register_buffer()Transformer.register_forward_hook()Transformer.register_forward_pre_hook()Transformer.register_full_backward_hook()Transformer.register_full_backward_pre_hook()Transformer.register_load_state_dict_post_hook()Transformer.register_load_state_dict_pre_hook()Transformer.register_module()Transformer.register_parameter()Transformer.register_state_dict_post_hook()Transformer.register_state_dict_pre_hook()Transformer.requires_grad_()Transformer.set_extra_state()Transformer.set_submodule()Transformer.share_memory()Transformer.state_dict()Transformer.to()Transformer.to_empty()Transformer.train()Transformer.type()Transformer.xpu()Transformer.zero_grad()Transformer.training
- pyhealth.models.TransformersModel
TransformersModelTransformersModel.forward()TransformersModel.T_destinationTransformersModel.add_module()TransformersModel.apply()TransformersModel.bfloat16()TransformersModel.buffers()TransformersModel.call_super_initTransformersModel.children()TransformersModel.compile()TransformersModel.cpu()TransformersModel.cuda()TransformersModel.deviceTransformersModel.double()TransformersModel.dump_patchesTransformersModel.eval()TransformersModel.extra_repr()TransformersModel.float()TransformersModel.get_buffer()TransformersModel.get_extra_state()TransformersModel.get_loss_function()TransformersModel.get_output_size()TransformersModel.get_parameter()TransformersModel.get_submodule()TransformersModel.half()TransformersModel.ipu()TransformersModel.load_state_dict()TransformersModel.modules()TransformersModel.mtia()TransformersModel.named_buffers()TransformersModel.named_children()TransformersModel.named_modules()TransformersModel.named_parameters()TransformersModel.parameters()TransformersModel.prepare_y_prob()TransformersModel.register_backward_hook()TransformersModel.register_buffer()TransformersModel.register_forward_hook()TransformersModel.register_forward_pre_hook()TransformersModel.register_full_backward_hook()TransformersModel.register_full_backward_pre_hook()TransformersModel.register_load_state_dict_post_hook()TransformersModel.register_load_state_dict_pre_hook()TransformersModel.register_module()TransformersModel.register_parameter()TransformersModel.register_state_dict_post_hook()TransformersModel.register_state_dict_pre_hook()TransformersModel.requires_grad_()TransformersModel.set_extra_state()TransformersModel.set_submodule()TransformersModel.share_memory()TransformersModel.state_dict()TransformersModel.to()TransformersModel.to_empty()TransformersModel.train()TransformersModel.type()TransformersModel.xpu()TransformersModel.zero_grad()TransformersModel.training
- pyhealth.models.TransformerDeID
TransformerDeIDTransformerDeID.forward()TransformerDeID.deidentify()TransformerDeID.T_destinationTransformerDeID.add_module()TransformerDeID.apply()TransformerDeID.bfloat16()TransformerDeID.buffers()TransformerDeID.call_super_initTransformerDeID.children()TransformerDeID.compile()TransformerDeID.cpu()TransformerDeID.cuda()TransformerDeID.deviceTransformerDeID.double()TransformerDeID.dump_patchesTransformerDeID.eval()TransformerDeID.extra_repr()TransformerDeID.float()TransformerDeID.get_buffer()TransformerDeID.get_extra_state()TransformerDeID.get_loss_function()TransformerDeID.get_output_size()TransformerDeID.get_parameter()TransformerDeID.get_submodule()TransformerDeID.half()TransformerDeID.ipu()TransformerDeID.load_state_dict()TransformerDeID.modules()TransformerDeID.mtia()TransformerDeID.named_buffers()TransformerDeID.named_children()TransformerDeID.named_modules()TransformerDeID.named_parameters()TransformerDeID.parameters()TransformerDeID.prepare_y_prob()TransformerDeID.register_backward_hook()TransformerDeID.register_buffer()TransformerDeID.register_forward_hook()TransformerDeID.register_forward_pre_hook()TransformerDeID.register_full_backward_hook()TransformerDeID.register_full_backward_pre_hook()TransformerDeID.register_load_state_dict_post_hook()TransformerDeID.register_load_state_dict_pre_hook()TransformerDeID.register_module()TransformerDeID.register_parameter()TransformerDeID.register_state_dict_post_hook()TransformerDeID.register_state_dict_pre_hook()TransformerDeID.requires_grad_()TransformerDeID.set_extra_state()TransformerDeID.set_submodule()TransformerDeID.share_memory()TransformerDeID.state_dict()TransformerDeID.to()TransformerDeID.to_empty()TransformerDeID.train()TransformerDeID.type()TransformerDeID.xpu()TransformerDeID.zero_grad()TransformerDeID.training
- pyhealth.models.RETAIN
RETAINLayerRETAINLayer.reverse_x()RETAINLayer.compute_alpha()RETAINLayer.compute_beta()RETAINLayer.forward()RETAINLayer.T_destinationRETAINLayer.add_module()RETAINLayer.apply()RETAINLayer.bfloat16()RETAINLayer.buffers()RETAINLayer.call_super_initRETAINLayer.children()RETAINLayer.compile()RETAINLayer.cpu()RETAINLayer.cuda()RETAINLayer.double()RETAINLayer.dump_patchesRETAINLayer.eval()RETAINLayer.extra_repr()RETAINLayer.float()RETAINLayer.get_buffer()RETAINLayer.get_extra_state()RETAINLayer.get_parameter()RETAINLayer.get_submodule()RETAINLayer.half()RETAINLayer.ipu()RETAINLayer.load_state_dict()RETAINLayer.modules()RETAINLayer.mtia()RETAINLayer.named_buffers()RETAINLayer.named_children()RETAINLayer.named_modules()RETAINLayer.named_parameters()RETAINLayer.parameters()RETAINLayer.register_backward_hook()RETAINLayer.register_buffer()RETAINLayer.register_forward_hook()RETAINLayer.register_forward_pre_hook()RETAINLayer.register_full_backward_hook()RETAINLayer.register_full_backward_pre_hook()RETAINLayer.register_load_state_dict_post_hook()RETAINLayer.register_load_state_dict_pre_hook()RETAINLayer.register_module()RETAINLayer.register_parameter()RETAINLayer.register_state_dict_post_hook()RETAINLayer.register_state_dict_pre_hook()RETAINLayer.requires_grad_()RETAINLayer.set_extra_state()RETAINLayer.set_submodule()RETAINLayer.share_memory()RETAINLayer.state_dict()RETAINLayer.to()RETAINLayer.to_empty()RETAINLayer.train()RETAINLayer.type()RETAINLayer.xpu()RETAINLayer.zero_grad()RETAINLayer.training
RETAINRETAIN.forward()RETAIN.T_destinationRETAIN.add_module()RETAIN.apply()RETAIN.bfloat16()RETAIN.buffers()RETAIN.call_super_initRETAIN.children()RETAIN.compile()RETAIN.cpu()RETAIN.cuda()RETAIN.deviceRETAIN.double()RETAIN.dump_patchesRETAIN.eval()RETAIN.extra_repr()RETAIN.float()RETAIN.get_buffer()RETAIN.get_extra_state()RETAIN.get_loss_function()RETAIN.get_output_size()RETAIN.get_parameter()RETAIN.get_submodule()RETAIN.half()RETAIN.ipu()RETAIN.load_state_dict()RETAIN.modules()RETAIN.mtia()RETAIN.named_buffers()RETAIN.named_children()RETAIN.named_modules()RETAIN.named_parameters()RETAIN.parameters()RETAIN.prepare_y_prob()RETAIN.register_backward_hook()RETAIN.register_buffer()RETAIN.register_forward_hook()RETAIN.register_forward_pre_hook()RETAIN.register_full_backward_hook()RETAIN.register_full_backward_pre_hook()RETAIN.register_load_state_dict_post_hook()RETAIN.register_load_state_dict_pre_hook()RETAIN.register_module()RETAIN.register_parameter()RETAIN.register_state_dict_post_hook()RETAIN.register_state_dict_pre_hook()RETAIN.requires_grad_()RETAIN.set_extra_state()RETAIN.set_submodule()RETAIN.share_memory()RETAIN.state_dict()RETAIN.to()RETAIN.to_empty()RETAIN.train()RETAIN.type()RETAIN.xpu()RETAIN.zero_grad()RETAIN.training
MultimodalRETAINMultimodalRETAIN.forward()MultimodalRETAIN.T_destinationMultimodalRETAIN.add_module()MultimodalRETAIN.apply()MultimodalRETAIN.bfloat16()MultimodalRETAIN.buffers()MultimodalRETAIN.call_super_initMultimodalRETAIN.children()MultimodalRETAIN.compile()MultimodalRETAIN.cpu()MultimodalRETAIN.cuda()MultimodalRETAIN.deviceMultimodalRETAIN.double()MultimodalRETAIN.dump_patchesMultimodalRETAIN.eval()MultimodalRETAIN.extra_repr()MultimodalRETAIN.float()MultimodalRETAIN.get_buffer()MultimodalRETAIN.get_extra_state()MultimodalRETAIN.get_loss_function()MultimodalRETAIN.get_output_size()MultimodalRETAIN.get_parameter()MultimodalRETAIN.get_submodule()MultimodalRETAIN.half()MultimodalRETAIN.ipu()MultimodalRETAIN.load_state_dict()MultimodalRETAIN.modules()MultimodalRETAIN.mtia()MultimodalRETAIN.named_buffers()MultimodalRETAIN.named_children()MultimodalRETAIN.named_modules()MultimodalRETAIN.named_parameters()MultimodalRETAIN.parameters()MultimodalRETAIN.prepare_y_prob()MultimodalRETAIN.register_backward_hook()MultimodalRETAIN.register_buffer()MultimodalRETAIN.register_forward_hook()MultimodalRETAIN.register_forward_pre_hook()MultimodalRETAIN.register_full_backward_hook()MultimodalRETAIN.register_full_backward_pre_hook()MultimodalRETAIN.register_load_state_dict_post_hook()MultimodalRETAIN.register_load_state_dict_pre_hook()MultimodalRETAIN.register_module()MultimodalRETAIN.register_parameter()MultimodalRETAIN.register_state_dict_post_hook()MultimodalRETAIN.register_state_dict_pre_hook()MultimodalRETAIN.requires_grad_()MultimodalRETAIN.set_extra_state()MultimodalRETAIN.set_submodule()MultimodalRETAIN.share_memory()MultimodalRETAIN.state_dict()MultimodalRETAIN.to()MultimodalRETAIN.to_empty()MultimodalRETAIN.train()MultimodalRETAIN.type()MultimodalRETAIN.xpu()MultimodalRETAIN.zero_grad()MultimodalRETAIN.training
- pyhealth.models.GAMENet
GAMENetLayerGAMENetLayer.forward()GAMENetLayer.T_destinationGAMENetLayer.add_module()GAMENetLayer.apply()GAMENetLayer.bfloat16()GAMENetLayer.buffers()GAMENetLayer.call_super_initGAMENetLayer.children()GAMENetLayer.compile()GAMENetLayer.cpu()GAMENetLayer.cuda()GAMENetLayer.double()GAMENetLayer.dump_patchesGAMENetLayer.eval()GAMENetLayer.extra_repr()GAMENetLayer.float()GAMENetLayer.get_buffer()GAMENetLayer.get_extra_state()GAMENetLayer.get_parameter()GAMENetLayer.get_submodule()GAMENetLayer.half()GAMENetLayer.ipu()GAMENetLayer.load_state_dict()GAMENetLayer.modules()GAMENetLayer.mtia()GAMENetLayer.named_buffers()GAMENetLayer.named_children()GAMENetLayer.named_modules()GAMENetLayer.named_parameters()GAMENetLayer.parameters()GAMENetLayer.register_backward_hook()GAMENetLayer.register_buffer()GAMENetLayer.register_forward_hook()GAMENetLayer.register_forward_pre_hook()GAMENetLayer.register_full_backward_hook()GAMENetLayer.register_full_backward_pre_hook()GAMENetLayer.register_load_state_dict_post_hook()GAMENetLayer.register_load_state_dict_pre_hook()GAMENetLayer.register_module()GAMENetLayer.register_parameter()GAMENetLayer.register_state_dict_post_hook()GAMENetLayer.register_state_dict_pre_hook()GAMENetLayer.requires_grad_()GAMENetLayer.set_extra_state()GAMENetLayer.set_submodule()GAMENetLayer.share_memory()GAMENetLayer.state_dict()GAMENetLayer.to()GAMENetLayer.to_empty()GAMENetLayer.train()GAMENetLayer.type()GAMENetLayer.xpu()GAMENetLayer.zero_grad()GAMENetLayer.training
GAMENetGAMENet.generate_ehr_adj()GAMENet.generate_ddi_adj()GAMENet.forward()GAMENet.T_destinationGAMENet.add_module()GAMENet.apply()GAMENet.bfloat16()GAMENet.buffers()GAMENet.call_super_initGAMENet.children()GAMENet.compile()GAMENet.cpu()GAMENet.cuda()GAMENet.deviceGAMENet.double()GAMENet.dump_patchesGAMENet.eval()GAMENet.extra_repr()GAMENet.float()GAMENet.get_buffer()GAMENet.get_extra_state()GAMENet.get_loss_function()GAMENet.get_output_size()GAMENet.get_parameter()GAMENet.get_submodule()GAMENet.half()GAMENet.ipu()GAMENet.load_state_dict()GAMENet.modules()GAMENet.mtia()GAMENet.named_buffers()GAMENet.named_children()GAMENet.named_modules()GAMENet.named_parameters()GAMENet.parameters()GAMENet.prepare_y_prob()GAMENet.register_backward_hook()GAMENet.register_buffer()GAMENet.register_forward_hook()GAMENet.register_forward_pre_hook()GAMENet.register_full_backward_hook()GAMENet.register_full_backward_pre_hook()GAMENet.register_load_state_dict_post_hook()GAMENet.register_load_state_dict_pre_hook()GAMENet.register_module()GAMENet.register_parameter()GAMENet.register_state_dict_post_hook()GAMENet.register_state_dict_pre_hook()GAMENet.requires_grad_()GAMENet.set_extra_state()GAMENet.set_submodule()GAMENet.share_memory()GAMENet.state_dict()GAMENet.to()GAMENet.to_empty()GAMENet.train()GAMENet.type()GAMENet.xpu()GAMENet.zero_grad()GAMENet.training
- pyhealth.models.GraphCare
GraphCareGraphCare.forward()GraphCare.T_destinationGraphCare.add_module()GraphCare.apply()GraphCare.bfloat16()GraphCare.buffers()GraphCare.call_super_initGraphCare.children()GraphCare.compile()GraphCare.cpu()GraphCare.cuda()GraphCare.deviceGraphCare.double()GraphCare.dump_patchesGraphCare.eval()GraphCare.extra_repr()GraphCare.float()GraphCare.get_buffer()GraphCare.get_extra_state()GraphCare.get_loss_function()GraphCare.get_output_size()GraphCare.get_parameter()GraphCare.get_submodule()GraphCare.half()GraphCare.ipu()GraphCare.load_state_dict()GraphCare.modules()GraphCare.mtia()GraphCare.named_buffers()GraphCare.named_children()GraphCare.named_modules()GraphCare.named_parameters()GraphCare.parameters()GraphCare.prepare_y_prob()GraphCare.register_backward_hook()GraphCare.register_buffer()GraphCare.register_forward_hook()GraphCare.register_forward_pre_hook()GraphCare.register_full_backward_hook()GraphCare.register_full_backward_pre_hook()GraphCare.register_load_state_dict_post_hook()GraphCare.register_load_state_dict_pre_hook()GraphCare.register_module()GraphCare.register_parameter()GraphCare.register_state_dict_post_hook()GraphCare.register_state_dict_pre_hook()GraphCare.requires_grad_()GraphCare.set_extra_state()GraphCare.set_submodule()GraphCare.share_memory()GraphCare.state_dict()GraphCare.to()GraphCare.to_empty()GraphCare.train()GraphCare.type()GraphCare.xpu()GraphCare.zero_grad()GraphCare.training
- pyhealth.models.MICRON
MICRONLayerMICRONLayer.compute_reconstruction_loss()MICRONLayer.forward()MICRONLayer.T_destinationMICRONLayer.add_module()MICRONLayer.apply()MICRONLayer.bfloat16()MICRONLayer.buffers()MICRONLayer.call_super_initMICRONLayer.children()MICRONLayer.compile()MICRONLayer.cpu()MICRONLayer.cuda()MICRONLayer.double()MICRONLayer.dump_patchesMICRONLayer.eval()MICRONLayer.extra_repr()MICRONLayer.float()MICRONLayer.get_buffer()MICRONLayer.get_extra_state()MICRONLayer.get_parameter()MICRONLayer.get_submodule()MICRONLayer.half()MICRONLayer.ipu()MICRONLayer.load_state_dict()MICRONLayer.modules()MICRONLayer.mtia()MICRONLayer.named_buffers()MICRONLayer.named_children()MICRONLayer.named_modules()MICRONLayer.named_parameters()MICRONLayer.parameters()MICRONLayer.register_backward_hook()MICRONLayer.register_buffer()MICRONLayer.register_forward_hook()MICRONLayer.register_forward_pre_hook()MICRONLayer.register_full_backward_hook()MICRONLayer.register_full_backward_pre_hook()MICRONLayer.register_load_state_dict_post_hook()MICRONLayer.register_load_state_dict_pre_hook()MICRONLayer.register_module()MICRONLayer.register_parameter()MICRONLayer.register_state_dict_post_hook()MICRONLayer.register_state_dict_pre_hook()MICRONLayer.requires_grad_()MICRONLayer.set_extra_state()MICRONLayer.set_submodule()MICRONLayer.share_memory()MICRONLayer.state_dict()MICRONLayer.to()MICRONLayer.to_empty()MICRONLayer.train()MICRONLayer.type()MICRONLayer.xpu()MICRONLayer.zero_grad()MICRONLayer.training
MICRONMICRON.embedding_modelMICRON.feature_processorsMICRON.micronMICRON.forward()MICRON.T_destinationMICRON.add_module()MICRON.apply()MICRON.bfloat16()MICRON.buffers()MICRON.call_super_initMICRON.children()MICRON.compile()MICRON.cpu()MICRON.cuda()MICRON.deviceMICRON.double()MICRON.dump_patchesMICRON.eval()MICRON.extra_repr()MICRON.float()MICRON.generate_ddi_adj()MICRON.get_buffer()MICRON.get_extra_state()MICRON.get_loss_function()MICRON.get_output_size()MICRON.get_parameter()MICRON.get_submodule()MICRON.half()MICRON.ipu()MICRON.load_state_dict()MICRON.modules()MICRON.mtia()MICRON.named_buffers()MICRON.named_children()MICRON.named_modules()MICRON.named_parameters()MICRON.parameters()MICRON.prepare_y_prob()MICRON.register_backward_hook()MICRON.register_buffer()MICRON.register_forward_hook()MICRON.register_forward_pre_hook()MICRON.register_full_backward_hook()MICRON.register_full_backward_pre_hook()MICRON.register_load_state_dict_post_hook()MICRON.register_load_state_dict_pre_hook()MICRON.register_module()MICRON.register_parameter()MICRON.register_state_dict_post_hook()MICRON.register_state_dict_pre_hook()MICRON.requires_grad_()MICRON.set_extra_state()MICRON.set_submodule()MICRON.share_memory()MICRON.state_dict()MICRON.to()MICRON.to_empty()MICRON.train()MICRON.type()MICRON.xpu()MICRON.zero_grad()MICRON.training
- pyhealth.models.SafeDrug
SafeDrugLayerSafeDrugLayer.pad()SafeDrugLayer.calculate_loss()SafeDrugLayer.forward()SafeDrugLayer.T_destinationSafeDrugLayer.add_module()SafeDrugLayer.apply()SafeDrugLayer.bfloat16()SafeDrugLayer.buffers()SafeDrugLayer.call_super_initSafeDrugLayer.children()SafeDrugLayer.compile()SafeDrugLayer.cpu()SafeDrugLayer.cuda()SafeDrugLayer.double()SafeDrugLayer.dump_patchesSafeDrugLayer.eval()SafeDrugLayer.extra_repr()SafeDrugLayer.float()SafeDrugLayer.get_buffer()SafeDrugLayer.get_extra_state()SafeDrugLayer.get_parameter()SafeDrugLayer.get_submodule()SafeDrugLayer.half()SafeDrugLayer.ipu()SafeDrugLayer.load_state_dict()SafeDrugLayer.modules()SafeDrugLayer.mtia()SafeDrugLayer.named_buffers()SafeDrugLayer.named_children()SafeDrugLayer.named_modules()SafeDrugLayer.named_parameters()SafeDrugLayer.parameters()SafeDrugLayer.register_backward_hook()SafeDrugLayer.register_buffer()SafeDrugLayer.register_forward_hook()SafeDrugLayer.register_forward_pre_hook()SafeDrugLayer.register_full_backward_hook()SafeDrugLayer.register_full_backward_pre_hook()SafeDrugLayer.register_load_state_dict_post_hook()SafeDrugLayer.register_load_state_dict_pre_hook()SafeDrugLayer.register_module()SafeDrugLayer.register_parameter()SafeDrugLayer.register_state_dict_post_hook()SafeDrugLayer.register_state_dict_pre_hook()SafeDrugLayer.requires_grad_()SafeDrugLayer.set_extra_state()SafeDrugLayer.set_submodule()SafeDrugLayer.share_memory()SafeDrugLayer.state_dict()SafeDrugLayer.to()SafeDrugLayer.to_empty()SafeDrugLayer.train()SafeDrugLayer.type()SafeDrugLayer.xpu()SafeDrugLayer.zero_grad()SafeDrugLayer.training
SafeDrugSafeDrug.generate_ddi_adj()SafeDrug.generate_smiles_list()SafeDrug.generate_mask_H()SafeDrug.T_destinationSafeDrug.add_module()SafeDrug.apply()SafeDrug.bfloat16()SafeDrug.buffers()SafeDrug.call_super_initSafeDrug.children()SafeDrug.compile()SafeDrug.cpu()SafeDrug.cuda()SafeDrug.deviceSafeDrug.double()SafeDrug.dump_patchesSafeDrug.eval()SafeDrug.extra_repr()SafeDrug.float()SafeDrug.generate_molecule_info()SafeDrug.get_buffer()SafeDrug.get_extra_state()SafeDrug.get_loss_function()SafeDrug.get_output_size()SafeDrug.get_parameter()SafeDrug.get_submodule()SafeDrug.half()SafeDrug.ipu()SafeDrug.load_state_dict()SafeDrug.modules()SafeDrug.mtia()SafeDrug.named_buffers()SafeDrug.named_children()SafeDrug.named_modules()SafeDrug.named_parameters()SafeDrug.parameters()SafeDrug.prepare_y_prob()SafeDrug.register_backward_hook()SafeDrug.register_buffer()SafeDrug.register_forward_hook()SafeDrug.register_forward_pre_hook()SafeDrug.register_full_backward_hook()SafeDrug.register_full_backward_pre_hook()SafeDrug.register_load_state_dict_post_hook()SafeDrug.register_load_state_dict_pre_hook()SafeDrug.register_module()SafeDrug.register_parameter()SafeDrug.register_state_dict_post_hook()SafeDrug.register_state_dict_pre_hook()SafeDrug.requires_grad_()SafeDrug.set_extra_state()SafeDrug.set_submodule()SafeDrug.share_memory()SafeDrug.state_dict()SafeDrug.to()SafeDrug.to_empty()SafeDrug.train()SafeDrug.type()SafeDrug.xpu()SafeDrug.zero_grad()SafeDrug.trainingSafeDrug.forward()
- pyhealth.models.MoleRec
MoleRecLayerMoleRecLayer.calc_loss()MoleRecLayer.forward()MoleRecLayer.T_destinationMoleRecLayer.add_module()MoleRecLayer.apply()MoleRecLayer.bfloat16()MoleRecLayer.buffers()MoleRecLayer.call_super_initMoleRecLayer.children()MoleRecLayer.compile()MoleRecLayer.cpu()MoleRecLayer.cuda()MoleRecLayer.double()MoleRecLayer.dump_patchesMoleRecLayer.eval()MoleRecLayer.extra_repr()MoleRecLayer.float()MoleRecLayer.get_buffer()MoleRecLayer.get_extra_state()MoleRecLayer.get_parameter()MoleRecLayer.get_submodule()MoleRecLayer.half()MoleRecLayer.ipu()MoleRecLayer.load_state_dict()MoleRecLayer.modules()MoleRecLayer.mtia()MoleRecLayer.named_buffers()MoleRecLayer.named_children()MoleRecLayer.named_modules()MoleRecLayer.named_parameters()MoleRecLayer.parameters()MoleRecLayer.register_backward_hook()MoleRecLayer.register_buffer()MoleRecLayer.register_forward_hook()MoleRecLayer.register_forward_pre_hook()MoleRecLayer.register_full_backward_hook()MoleRecLayer.register_full_backward_pre_hook()MoleRecLayer.register_load_state_dict_post_hook()MoleRecLayer.register_load_state_dict_pre_hook()MoleRecLayer.register_module()MoleRecLayer.register_parameter()MoleRecLayer.register_state_dict_post_hook()MoleRecLayer.register_state_dict_pre_hook()MoleRecLayer.requires_grad_()MoleRecLayer.set_extra_state()MoleRecLayer.set_submodule()MoleRecLayer.share_memory()MoleRecLayer.state_dict()MoleRecLayer.to()MoleRecLayer.to_empty()MoleRecLayer.train()MoleRecLayer.type()MoleRecLayer.xpu()MoleRecLayer.zero_grad()MoleRecLayer.training
MoleRecMoleRec.generate_ddi_adj()MoleRec.generate_substructure_mask()MoleRec.generate_smiles_list()MoleRec.T_destinationMoleRec.add_module()MoleRec.apply()MoleRec.bfloat16()MoleRec.buffers()MoleRec.call_super_initMoleRec.children()MoleRec.compile()MoleRec.cpu()MoleRec.cuda()MoleRec.deviceMoleRec.double()MoleRec.dump_patchesMoleRec.eval()MoleRec.extra_repr()MoleRec.float()MoleRec.generate_average_projection()MoleRec.get_buffer()MoleRec.get_extra_state()MoleRec.get_loss_function()MoleRec.get_output_size()MoleRec.get_parameter()MoleRec.get_submodule()MoleRec.half()MoleRec.ipu()MoleRec.load_state_dict()MoleRec.modules()MoleRec.mtia()MoleRec.named_buffers()MoleRec.named_children()MoleRec.named_modules()MoleRec.named_parameters()MoleRec.parameters()MoleRec.prepare_y_prob()MoleRec.register_backward_hook()MoleRec.register_buffer()MoleRec.register_forward_hook()MoleRec.register_forward_pre_hook()MoleRec.register_full_backward_hook()MoleRec.register_full_backward_pre_hook()MoleRec.register_load_state_dict_post_hook()MoleRec.register_load_state_dict_pre_hook()MoleRec.register_module()MoleRec.register_parameter()MoleRec.register_state_dict_post_hook()MoleRec.register_state_dict_pre_hook()MoleRec.requires_grad_()MoleRec.set_extra_state()MoleRec.set_submodule()MoleRec.share_memory()MoleRec.state_dict()MoleRec.to()MoleRec.to_empty()MoleRec.train()MoleRec.type()MoleRec.xpu()MoleRec.zero_grad()MoleRec.trainingMoleRec.forward()
- pyhealth.models.Deepr
DeeprLayerDeeprLayer.forward()DeeprLayer.T_destinationDeeprLayer.add_module()DeeprLayer.apply()DeeprLayer.bfloat16()DeeprLayer.buffers()DeeprLayer.call_super_initDeeprLayer.children()DeeprLayer.compile()DeeprLayer.cpu()DeeprLayer.cuda()DeeprLayer.double()DeeprLayer.dump_patchesDeeprLayer.eval()DeeprLayer.extra_repr()DeeprLayer.float()DeeprLayer.get_buffer()DeeprLayer.get_extra_state()DeeprLayer.get_parameter()DeeprLayer.get_submodule()DeeprLayer.half()DeeprLayer.ipu()DeeprLayer.load_state_dict()DeeprLayer.modules()DeeprLayer.mtia()DeeprLayer.named_buffers()DeeprLayer.named_children()DeeprLayer.named_modules()DeeprLayer.named_parameters()DeeprLayer.parameters()DeeprLayer.register_backward_hook()DeeprLayer.register_buffer()DeeprLayer.register_forward_hook()DeeprLayer.register_forward_pre_hook()DeeprLayer.register_full_backward_hook()DeeprLayer.register_full_backward_pre_hook()DeeprLayer.register_load_state_dict_post_hook()DeeprLayer.register_load_state_dict_pre_hook()DeeprLayer.register_module()DeeprLayer.register_parameter()DeeprLayer.register_state_dict_post_hook()DeeprLayer.register_state_dict_pre_hook()DeeprLayer.requires_grad_()DeeprLayer.set_extra_state()DeeprLayer.set_submodule()DeeprLayer.share_memory()DeeprLayer.state_dict()DeeprLayer.to()DeeprLayer.to_empty()DeeprLayer.train()DeeprLayer.type()DeeprLayer.xpu()DeeprLayer.zero_grad()DeeprLayer.training
DeeprDeepr.forward()Deepr.T_destinationDeepr.add_module()Deepr.apply()Deepr.bfloat16()Deepr.buffers()Deepr.call_super_initDeepr.children()Deepr.compile()Deepr.cpu()Deepr.cuda()Deepr.deviceDeepr.double()Deepr.dump_patchesDeepr.eval()Deepr.extra_repr()Deepr.float()Deepr.get_buffer()Deepr.get_extra_state()Deepr.get_loss_function()Deepr.get_output_size()Deepr.get_parameter()Deepr.get_submodule()Deepr.half()Deepr.ipu()Deepr.load_state_dict()Deepr.modules()Deepr.mtia()Deepr.named_buffers()Deepr.named_children()Deepr.named_modules()Deepr.named_parameters()Deepr.parameters()Deepr.prepare_y_prob()Deepr.register_backward_hook()Deepr.register_buffer()Deepr.register_forward_hook()Deepr.register_forward_pre_hook()Deepr.register_full_backward_hook()Deepr.register_full_backward_pre_hook()Deepr.register_load_state_dict_post_hook()Deepr.register_load_state_dict_pre_hook()Deepr.register_module()Deepr.register_parameter()Deepr.register_state_dict_post_hook()Deepr.register_state_dict_pre_hook()Deepr.requires_grad_()Deepr.set_extra_state()Deepr.set_submodule()Deepr.share_memory()Deepr.state_dict()Deepr.to()Deepr.to_empty()Deepr.train()Deepr.type()Deepr.xpu()Deepr.zero_grad()Deepr.training
- pyhealth.models.EHRMamba
MambaBlockMambaBlock.forward()MambaBlock.T_destinationMambaBlock.add_module()MambaBlock.apply()MambaBlock.bfloat16()MambaBlock.buffers()MambaBlock.call_super_initMambaBlock.children()MambaBlock.compile()MambaBlock.cpu()MambaBlock.cuda()MambaBlock.double()MambaBlock.dump_patchesMambaBlock.eval()MambaBlock.extra_repr()MambaBlock.float()MambaBlock.get_buffer()MambaBlock.get_extra_state()MambaBlock.get_parameter()MambaBlock.get_submodule()MambaBlock.half()MambaBlock.ipu()MambaBlock.load_state_dict()MambaBlock.modules()MambaBlock.mtia()MambaBlock.named_buffers()MambaBlock.named_children()MambaBlock.named_modules()MambaBlock.named_parameters()MambaBlock.parameters()MambaBlock.register_backward_hook()MambaBlock.register_buffer()MambaBlock.register_forward_hook()MambaBlock.register_forward_pre_hook()MambaBlock.register_full_backward_hook()MambaBlock.register_full_backward_pre_hook()MambaBlock.register_load_state_dict_post_hook()MambaBlock.register_load_state_dict_pre_hook()MambaBlock.register_module()MambaBlock.register_parameter()MambaBlock.register_state_dict_post_hook()MambaBlock.register_state_dict_pre_hook()MambaBlock.requires_grad_()MambaBlock.set_extra_state()MambaBlock.set_submodule()MambaBlock.share_memory()MambaBlock.state_dict()MambaBlock.to()MambaBlock.to_empty()MambaBlock.train()MambaBlock.type()MambaBlock.xpu()MambaBlock.zero_grad()MambaBlock.training
EHRMambaEHRMamba.forward()EHRMamba.T_destinationEHRMamba.add_module()EHRMamba.apply()EHRMamba.bfloat16()EHRMamba.buffers()EHRMamba.call_super_initEHRMamba.children()EHRMamba.compile()EHRMamba.cpu()EHRMamba.cuda()EHRMamba.deviceEHRMamba.double()EHRMamba.dump_patchesEHRMamba.eval()EHRMamba.extra_repr()EHRMamba.float()EHRMamba.get_buffer()EHRMamba.get_extra_state()EHRMamba.get_loss_function()EHRMamba.get_output_size()EHRMamba.get_parameter()EHRMamba.get_submodule()EHRMamba.half()EHRMamba.ipu()EHRMamba.load_state_dict()EHRMamba.modules()EHRMamba.mtia()EHRMamba.named_buffers()EHRMamba.named_children()EHRMamba.named_modules()EHRMamba.named_parameters()EHRMamba.parameters()EHRMamba.prepare_y_prob()EHRMamba.register_backward_hook()EHRMamba.register_buffer()EHRMamba.register_forward_hook()EHRMamba.register_forward_pre_hook()EHRMamba.register_full_backward_hook()EHRMamba.register_full_backward_pre_hook()EHRMamba.register_load_state_dict_post_hook()EHRMamba.register_load_state_dict_pre_hook()EHRMamba.register_module()EHRMamba.register_parameter()EHRMamba.register_state_dict_post_hook()EHRMamba.register_state_dict_pre_hook()EHRMamba.requires_grad_()EHRMamba.set_extra_state()EHRMamba.set_submodule()EHRMamba.share_memory()EHRMamba.state_dict()EHRMamba.to()EHRMamba.to_empty()EHRMamba.train()EHRMamba.type()EHRMamba.xpu()EHRMamba.zero_grad()EHRMamba.training
- pyhealth.models.JambaEHR
- pyhealth.models.ContraWR
ResBlock2DResBlock2D.forward()ResBlock2D.T_destinationResBlock2D.add_module()ResBlock2D.apply()ResBlock2D.bfloat16()ResBlock2D.buffers()ResBlock2D.call_super_initResBlock2D.children()ResBlock2D.compile()ResBlock2D.cpu()ResBlock2D.cuda()ResBlock2D.double()ResBlock2D.dump_patchesResBlock2D.eval()ResBlock2D.extra_repr()ResBlock2D.float()ResBlock2D.get_buffer()ResBlock2D.get_extra_state()ResBlock2D.get_parameter()ResBlock2D.get_submodule()ResBlock2D.half()ResBlock2D.ipu()ResBlock2D.load_state_dict()ResBlock2D.modules()ResBlock2D.mtia()ResBlock2D.named_buffers()ResBlock2D.named_children()ResBlock2D.named_modules()ResBlock2D.named_parameters()ResBlock2D.parameters()ResBlock2D.register_backward_hook()ResBlock2D.register_buffer()ResBlock2D.register_forward_hook()ResBlock2D.register_forward_pre_hook()ResBlock2D.register_full_backward_hook()ResBlock2D.register_full_backward_pre_hook()ResBlock2D.register_load_state_dict_post_hook()ResBlock2D.register_load_state_dict_pre_hook()ResBlock2D.register_module()ResBlock2D.register_parameter()ResBlock2D.register_state_dict_post_hook()ResBlock2D.register_state_dict_pre_hook()ResBlock2D.requires_grad_()ResBlock2D.set_extra_state()ResBlock2D.set_submodule()ResBlock2D.share_memory()ResBlock2D.state_dict()ResBlock2D.to()ResBlock2D.to_empty()ResBlock2D.train()ResBlock2D.type()ResBlock2D.xpu()ResBlock2D.zero_grad()ResBlock2D.training
ContraWRContraWR.determine_encoder_params()ContraWR.torch_stft()ContraWR.forward()ContraWR.T_destinationContraWR.add_module()ContraWR.apply()ContraWR.bfloat16()ContraWR.buffers()ContraWR.call_super_initContraWR.children()ContraWR.compile()ContraWR.cpu()ContraWR.cuda()ContraWR.deviceContraWR.double()ContraWR.dump_patchesContraWR.eval()ContraWR.extra_repr()ContraWR.float()ContraWR.get_buffer()ContraWR.get_extra_state()ContraWR.get_loss_function()ContraWR.get_output_size()ContraWR.get_parameter()ContraWR.get_submodule()ContraWR.half()ContraWR.ipu()ContraWR.load_state_dict()ContraWR.modules()ContraWR.mtia()ContraWR.named_buffers()ContraWR.named_children()ContraWR.named_modules()ContraWR.named_parameters()ContraWR.parameters()ContraWR.prepare_y_prob()ContraWR.register_backward_hook()ContraWR.register_buffer()ContraWR.register_forward_hook()ContraWR.register_forward_pre_hook()ContraWR.register_full_backward_hook()ContraWR.register_full_backward_pre_hook()ContraWR.register_load_state_dict_post_hook()ContraWR.register_load_state_dict_pre_hook()ContraWR.register_module()ContraWR.register_parameter()ContraWR.register_state_dict_post_hook()ContraWR.register_state_dict_pre_hook()ContraWR.requires_grad_()ContraWR.set_extra_state()ContraWR.set_submodule()ContraWR.share_memory()ContraWR.state_dict()ContraWR.to()ContraWR.to_empty()ContraWR.train()ContraWR.type()ContraWR.xpu()ContraWR.zero_grad()ContraWR.training
- pyhealth.models.SparcNet
DenseLayerDenseLayer.forward()DenseLayer.T_destinationDenseLayer.add_module()DenseLayer.append()DenseLayer.apply()DenseLayer.bfloat16()DenseLayer.buffers()DenseLayer.call_super_initDenseLayer.children()DenseLayer.compile()DenseLayer.cpu()DenseLayer.cuda()DenseLayer.double()DenseLayer.dump_patchesDenseLayer.eval()DenseLayer.extend()DenseLayer.extra_repr()DenseLayer.float()DenseLayer.get_buffer()DenseLayer.get_extra_state()DenseLayer.get_parameter()DenseLayer.get_submodule()DenseLayer.half()DenseLayer.insert()DenseLayer.ipu()DenseLayer.load_state_dict()DenseLayer.modules()DenseLayer.mtia()DenseLayer.named_buffers()DenseLayer.named_children()DenseLayer.named_modules()DenseLayer.named_parameters()DenseLayer.parameters()DenseLayer.pop()DenseLayer.register_backward_hook()DenseLayer.register_buffer()DenseLayer.register_forward_hook()DenseLayer.register_forward_pre_hook()DenseLayer.register_full_backward_hook()DenseLayer.register_full_backward_pre_hook()DenseLayer.register_load_state_dict_post_hook()DenseLayer.register_load_state_dict_pre_hook()DenseLayer.register_module()DenseLayer.register_parameter()DenseLayer.register_state_dict_post_hook()DenseLayer.register_state_dict_pre_hook()DenseLayer.requires_grad_()DenseLayer.set_extra_state()DenseLayer.set_submodule()DenseLayer.share_memory()DenseLayer.state_dict()DenseLayer.to()DenseLayer.to_empty()DenseLayer.train()DenseLayer.type()DenseLayer.xpu()DenseLayer.zero_grad()DenseLayer.training
DenseBlockDenseBlock.T_destinationDenseBlock.add_module()DenseBlock.append()DenseBlock.apply()DenseBlock.bfloat16()DenseBlock.buffers()DenseBlock.call_super_initDenseBlock.children()DenseBlock.compile()DenseBlock.cpu()DenseBlock.cuda()DenseBlock.double()DenseBlock.dump_patchesDenseBlock.eval()DenseBlock.extend()DenseBlock.extra_repr()DenseBlock.float()DenseBlock.forward()DenseBlock.get_buffer()DenseBlock.get_extra_state()DenseBlock.get_parameter()DenseBlock.get_submodule()DenseBlock.half()DenseBlock.insert()DenseBlock.ipu()DenseBlock.load_state_dict()DenseBlock.modules()DenseBlock.mtia()DenseBlock.named_buffers()DenseBlock.named_children()DenseBlock.named_modules()DenseBlock.named_parameters()DenseBlock.parameters()DenseBlock.pop()DenseBlock.register_backward_hook()DenseBlock.register_buffer()DenseBlock.register_forward_hook()DenseBlock.register_forward_pre_hook()DenseBlock.register_full_backward_hook()DenseBlock.register_full_backward_pre_hook()DenseBlock.register_load_state_dict_post_hook()DenseBlock.register_load_state_dict_pre_hook()DenseBlock.register_module()DenseBlock.register_parameter()DenseBlock.register_state_dict_post_hook()DenseBlock.register_state_dict_pre_hook()DenseBlock.requires_grad_()DenseBlock.set_extra_state()DenseBlock.set_submodule()DenseBlock.share_memory()DenseBlock.state_dict()DenseBlock.to()DenseBlock.to_empty()DenseBlock.train()DenseBlock.type()DenseBlock.xpu()DenseBlock.zero_grad()DenseBlock.training
TransitionLayerTransitionLayer.T_destinationTransitionLayer.add_module()TransitionLayer.append()TransitionLayer.apply()TransitionLayer.bfloat16()TransitionLayer.buffers()TransitionLayer.call_super_initTransitionLayer.children()TransitionLayer.compile()TransitionLayer.cpu()TransitionLayer.cuda()TransitionLayer.double()TransitionLayer.dump_patchesTransitionLayer.eval()TransitionLayer.extend()TransitionLayer.extra_repr()TransitionLayer.float()TransitionLayer.forward()TransitionLayer.get_buffer()TransitionLayer.get_extra_state()TransitionLayer.get_parameter()TransitionLayer.get_submodule()TransitionLayer.half()TransitionLayer.insert()TransitionLayer.ipu()TransitionLayer.load_state_dict()TransitionLayer.modules()TransitionLayer.mtia()TransitionLayer.named_buffers()TransitionLayer.named_children()TransitionLayer.named_modules()TransitionLayer.named_parameters()TransitionLayer.parameters()TransitionLayer.pop()TransitionLayer.register_backward_hook()TransitionLayer.register_buffer()TransitionLayer.register_forward_hook()TransitionLayer.register_forward_pre_hook()TransitionLayer.register_full_backward_hook()TransitionLayer.register_full_backward_pre_hook()TransitionLayer.register_load_state_dict_post_hook()TransitionLayer.register_load_state_dict_pre_hook()TransitionLayer.register_module()TransitionLayer.register_parameter()TransitionLayer.register_state_dict_post_hook()TransitionLayer.register_state_dict_pre_hook()TransitionLayer.requires_grad_()TransitionLayer.set_extra_state()TransitionLayer.set_submodule()TransitionLayer.share_memory()TransitionLayer.state_dict()TransitionLayer.to()TransitionLayer.to_empty()TransitionLayer.train()TransitionLayer.type()TransitionLayer.xpu()TransitionLayer.zero_grad()TransitionLayer.training
SparcNetSparcNet.forward()SparcNet.T_destinationSparcNet.add_module()SparcNet.apply()SparcNet.bfloat16()SparcNet.buffers()SparcNet.call_super_initSparcNet.children()SparcNet.compile()SparcNet.cpu()SparcNet.cuda()SparcNet.deviceSparcNet.double()SparcNet.dump_patchesSparcNet.eval()SparcNet.extra_repr()SparcNet.float()SparcNet.get_buffer()SparcNet.get_extra_state()SparcNet.get_loss_function()SparcNet.get_output_size()SparcNet.get_parameter()SparcNet.get_submodule()SparcNet.half()SparcNet.ipu()SparcNet.load_state_dict()SparcNet.modules()SparcNet.mtia()SparcNet.named_buffers()SparcNet.named_children()SparcNet.named_modules()SparcNet.named_parameters()SparcNet.parameters()SparcNet.prepare_y_prob()SparcNet.register_backward_hook()SparcNet.register_buffer()SparcNet.register_forward_hook()SparcNet.register_forward_pre_hook()SparcNet.register_full_backward_hook()SparcNet.register_full_backward_pre_hook()SparcNet.register_load_state_dict_post_hook()SparcNet.register_load_state_dict_pre_hook()SparcNet.register_module()SparcNet.register_parameter()SparcNet.register_state_dict_post_hook()SparcNet.register_state_dict_pre_hook()SparcNet.requires_grad_()SparcNet.set_extra_state()SparcNet.set_submodule()SparcNet.share_memory()SparcNet.state_dict()SparcNet.to()SparcNet.to_empty()SparcNet.train()SparcNet.type()SparcNet.xpu()SparcNet.zero_grad()SparcNet.training
- pyhealth.models.StageNet
StageNetLayerStageNetLayer.cumax()StageNetLayer.step()StageNetLayer.forward()StageNetLayer.T_destinationStageNetLayer.add_module()StageNetLayer.apply()StageNetLayer.bfloat16()StageNetLayer.buffers()StageNetLayer.call_super_initStageNetLayer.children()StageNetLayer.compile()StageNetLayer.cpu()StageNetLayer.cuda()StageNetLayer.double()StageNetLayer.dump_patchesStageNetLayer.eval()StageNetLayer.extra_repr()StageNetLayer.float()StageNetLayer.get_buffer()StageNetLayer.get_extra_state()StageNetLayer.get_parameter()StageNetLayer.get_submodule()StageNetLayer.half()StageNetLayer.ipu()StageNetLayer.load_state_dict()StageNetLayer.modules()StageNetLayer.mtia()StageNetLayer.named_buffers()StageNetLayer.named_children()StageNetLayer.named_modules()StageNetLayer.named_parameters()StageNetLayer.parameters()StageNetLayer.register_backward_hook()StageNetLayer.register_buffer()StageNetLayer.register_forward_hook()StageNetLayer.register_forward_pre_hook()StageNetLayer.register_full_backward_hook()StageNetLayer.register_full_backward_pre_hook()StageNetLayer.register_load_state_dict_post_hook()StageNetLayer.register_load_state_dict_pre_hook()StageNetLayer.register_module()StageNetLayer.register_parameter()StageNetLayer.register_state_dict_post_hook()StageNetLayer.register_state_dict_pre_hook()StageNetLayer.requires_grad_()StageNetLayer.set_extra_state()StageNetLayer.set_submodule()StageNetLayer.share_memory()StageNetLayer.state_dict()StageNetLayer.to()StageNetLayer.to_empty()StageNetLayer.train()StageNetLayer.type()StageNetLayer.xpu()StageNetLayer.zero_grad()StageNetLayer.training
StageNetStageNet.forward_from_embedding()StageNet.forward()StageNet.get_embedding_model()StageNet.T_destinationStageNet.add_module()StageNet.apply()StageNet.bfloat16()StageNet.buffers()StageNet.call_super_initStageNet.children()StageNet.compile()StageNet.cpu()StageNet.cuda()StageNet.deviceStageNet.double()StageNet.dump_patchesStageNet.eval()StageNet.extra_repr()StageNet.float()StageNet.get_buffer()StageNet.get_extra_state()StageNet.get_loss_function()StageNet.get_output_size()StageNet.get_parameter()StageNet.get_submodule()StageNet.half()StageNet.ipu()StageNet.load_state_dict()StageNet.modules()StageNet.mtia()StageNet.named_buffers()StageNet.named_children()StageNet.named_modules()StageNet.named_parameters()StageNet.parameters()StageNet.prepare_y_prob()StageNet.register_backward_hook()StageNet.register_buffer()StageNet.register_forward_hook()StageNet.register_forward_pre_hook()StageNet.register_full_backward_hook()StageNet.register_full_backward_pre_hook()StageNet.register_load_state_dict_post_hook()StageNet.register_load_state_dict_pre_hook()StageNet.register_module()StageNet.register_parameter()StageNet.register_state_dict_post_hook()StageNet.register_state_dict_pre_hook()StageNet.requires_grad_()StageNet.set_extra_state()StageNet.set_submodule()StageNet.share_memory()StageNet.state_dict()StageNet.to()StageNet.to_empty()StageNet.train()StageNet.type()StageNet.xpu()StageNet.zero_grad()StageNet.training
- pyhealth.models.StageAttentionNet
StageNetAttentionLayerStageNetAttentionLayer.get_attn_map()StageNetAttentionLayer.get_attn_grad()StageNetAttentionLayer.save_attn_grad()StageNetAttentionLayer.cumax()StageNetAttentionLayer.step()StageNetAttentionLayer.forward()StageNetAttentionLayer.T_destinationStageNetAttentionLayer.add_module()StageNetAttentionLayer.apply()StageNetAttentionLayer.bfloat16()StageNetAttentionLayer.buffers()StageNetAttentionLayer.call_super_initStageNetAttentionLayer.children()StageNetAttentionLayer.compile()StageNetAttentionLayer.cpu()StageNetAttentionLayer.cuda()StageNetAttentionLayer.double()StageNetAttentionLayer.dump_patchesStageNetAttentionLayer.eval()StageNetAttentionLayer.extra_repr()StageNetAttentionLayer.float()StageNetAttentionLayer.get_buffer()StageNetAttentionLayer.get_extra_state()StageNetAttentionLayer.get_parameter()StageNetAttentionLayer.get_submodule()StageNetAttentionLayer.half()StageNetAttentionLayer.ipu()StageNetAttentionLayer.load_state_dict()StageNetAttentionLayer.modules()StageNetAttentionLayer.mtia()StageNetAttentionLayer.named_buffers()StageNetAttentionLayer.named_children()StageNetAttentionLayer.named_modules()StageNetAttentionLayer.named_parameters()StageNetAttentionLayer.parameters()StageNetAttentionLayer.register_backward_hook()StageNetAttentionLayer.register_buffer()StageNetAttentionLayer.register_forward_hook()StageNetAttentionLayer.register_forward_pre_hook()StageNetAttentionLayer.register_full_backward_hook()StageNetAttentionLayer.register_full_backward_pre_hook()StageNetAttentionLayer.register_load_state_dict_post_hook()StageNetAttentionLayer.register_load_state_dict_pre_hook()StageNetAttentionLayer.register_module()StageNetAttentionLayer.register_parameter()StageNetAttentionLayer.register_state_dict_post_hook()StageNetAttentionLayer.register_state_dict_pre_hook()StageNetAttentionLayer.requires_grad_()StageNetAttentionLayer.set_extra_state()StageNetAttentionLayer.set_submodule()StageNetAttentionLayer.share_memory()StageNetAttentionLayer.state_dict()StageNetAttentionLayer.to()StageNetAttentionLayer.to_empty()StageNetAttentionLayer.train()StageNetAttentionLayer.type()StageNetAttentionLayer.xpu()StageNetAttentionLayer.zero_grad()StageNetAttentionLayer.training
StageAttentionNetStageAttentionNet.forward_from_embedding()StageAttentionNet.forward()StageAttentionNet.get_embedding_model()StageAttentionNet.set_attention_hooks()StageAttentionNet.get_attention_layers()StageAttentionNet.get_relevance_tensor()StageAttentionNet.T_destinationStageAttentionNet.add_module()StageAttentionNet.apply()StageAttentionNet.bfloat16()StageAttentionNet.buffers()StageAttentionNet.call_super_initStageAttentionNet.children()StageAttentionNet.compile()StageAttentionNet.cpu()StageAttentionNet.cuda()StageAttentionNet.deviceStageAttentionNet.double()StageAttentionNet.dump_patchesStageAttentionNet.eval()StageAttentionNet.extra_repr()StageAttentionNet.float()StageAttentionNet.get_buffer()StageAttentionNet.get_extra_state()StageAttentionNet.get_loss_function()StageAttentionNet.get_output_size()StageAttentionNet.get_parameter()StageAttentionNet.get_submodule()StageAttentionNet.half()StageAttentionNet.ipu()StageAttentionNet.load_state_dict()StageAttentionNet.modules()StageAttentionNet.mtia()StageAttentionNet.named_buffers()StageAttentionNet.named_children()StageAttentionNet.named_modules()StageAttentionNet.named_parameters()StageAttentionNet.parameters()StageAttentionNet.prepare_y_prob()StageAttentionNet.register_backward_hook()StageAttentionNet.register_buffer()StageAttentionNet.register_forward_hook()StageAttentionNet.register_forward_pre_hook()StageAttentionNet.register_full_backward_hook()StageAttentionNet.register_full_backward_pre_hook()StageAttentionNet.register_load_state_dict_post_hook()StageAttentionNet.register_load_state_dict_pre_hook()StageAttentionNet.register_module()StageAttentionNet.register_parameter()StageAttentionNet.register_state_dict_post_hook()StageAttentionNet.register_state_dict_pre_hook()StageAttentionNet.requires_grad_()StageAttentionNet.set_extra_state()StageAttentionNet.set_submodule()StageAttentionNet.share_memory()StageAttentionNet.state_dict()StageAttentionNet.to()StageAttentionNet.to_empty()StageAttentionNet.train()StageAttentionNet.type()StageAttentionNet.xpu()StageAttentionNet.zero_grad()StageAttentionNet.training
- pyhealth.models.AdaCare
AdaCareLayerAdaCareLayer.forward()AdaCareLayer.T_destinationAdaCareLayer.add_module()AdaCareLayer.apply()AdaCareLayer.bfloat16()AdaCareLayer.buffers()AdaCareLayer.call_super_initAdaCareLayer.children()AdaCareLayer.compile()AdaCareLayer.cpu()AdaCareLayer.cuda()AdaCareLayer.double()AdaCareLayer.dump_patchesAdaCareLayer.eval()AdaCareLayer.extra_repr()AdaCareLayer.float()AdaCareLayer.get_buffer()AdaCareLayer.get_extra_state()AdaCareLayer.get_parameter()AdaCareLayer.get_submodule()AdaCareLayer.half()AdaCareLayer.ipu()AdaCareLayer.load_state_dict()AdaCareLayer.modules()AdaCareLayer.mtia()AdaCareLayer.named_buffers()AdaCareLayer.named_children()AdaCareLayer.named_modules()AdaCareLayer.named_parameters()AdaCareLayer.parameters()AdaCareLayer.register_backward_hook()AdaCareLayer.register_buffer()AdaCareLayer.register_forward_hook()AdaCareLayer.register_forward_pre_hook()AdaCareLayer.register_full_backward_hook()AdaCareLayer.register_full_backward_pre_hook()AdaCareLayer.register_load_state_dict_post_hook()AdaCareLayer.register_load_state_dict_pre_hook()AdaCareLayer.register_module()AdaCareLayer.register_parameter()AdaCareLayer.register_state_dict_post_hook()AdaCareLayer.register_state_dict_pre_hook()AdaCareLayer.requires_grad_()AdaCareLayer.set_extra_state()AdaCareLayer.set_submodule()AdaCareLayer.share_memory()AdaCareLayer.state_dict()AdaCareLayer.to()AdaCareLayer.to_empty()AdaCareLayer.train()AdaCareLayer.type()AdaCareLayer.xpu()AdaCareLayer.zero_grad()AdaCareLayer.training
AdaCareAdaCare.forward()AdaCare.T_destinationAdaCare.add_module()AdaCare.apply()AdaCare.bfloat16()AdaCare.buffers()AdaCare.call_super_initAdaCare.children()AdaCare.compile()AdaCare.cpu()AdaCare.cuda()AdaCare.deviceAdaCare.double()AdaCare.dump_patchesAdaCare.eval()AdaCare.extra_repr()AdaCare.float()AdaCare.get_buffer()AdaCare.get_extra_state()AdaCare.get_loss_function()AdaCare.get_output_size()AdaCare.get_parameter()AdaCare.get_submodule()AdaCare.half()AdaCare.ipu()AdaCare.load_state_dict()AdaCare.modules()AdaCare.mtia()AdaCare.named_buffers()AdaCare.named_children()AdaCare.named_modules()AdaCare.named_parameters()AdaCare.parameters()AdaCare.prepare_y_prob()AdaCare.register_backward_hook()AdaCare.register_buffer()AdaCare.register_forward_hook()AdaCare.register_forward_pre_hook()AdaCare.register_full_backward_hook()AdaCare.register_full_backward_pre_hook()AdaCare.register_load_state_dict_post_hook()AdaCare.register_load_state_dict_pre_hook()AdaCare.register_module()AdaCare.register_parameter()AdaCare.register_state_dict_post_hook()AdaCare.register_state_dict_pre_hook()AdaCare.requires_grad_()AdaCare.set_extra_state()AdaCare.set_submodule()AdaCare.share_memory()AdaCare.state_dict()AdaCare.to()AdaCare.to_empty()AdaCare.train()AdaCare.type()AdaCare.xpu()AdaCare.zero_grad()AdaCare.training
MultimodalAdaCareMultimodalAdaCare.T_destinationMultimodalAdaCare.add_module()MultimodalAdaCare.apply()MultimodalAdaCare.bfloat16()MultimodalAdaCare.buffers()MultimodalAdaCare.call_super_initMultimodalAdaCare.children()MultimodalAdaCare.compile()MultimodalAdaCare.cpu()MultimodalAdaCare.cuda()MultimodalAdaCare.deviceMultimodalAdaCare.double()MultimodalAdaCare.dump_patchesMultimodalAdaCare.eval()MultimodalAdaCare.extra_repr()MultimodalAdaCare.float()MultimodalAdaCare.forward()MultimodalAdaCare.get_buffer()MultimodalAdaCare.get_extra_state()MultimodalAdaCare.get_loss_function()MultimodalAdaCare.get_output_size()MultimodalAdaCare.get_parameter()MultimodalAdaCare.get_submodule()MultimodalAdaCare.half()MultimodalAdaCare.ipu()MultimodalAdaCare.load_state_dict()MultimodalAdaCare.modules()MultimodalAdaCare.mtia()MultimodalAdaCare.named_buffers()MultimodalAdaCare.named_children()MultimodalAdaCare.named_modules()MultimodalAdaCare.named_parameters()MultimodalAdaCare.parameters()MultimodalAdaCare.prepare_y_prob()MultimodalAdaCare.register_backward_hook()MultimodalAdaCare.register_buffer()MultimodalAdaCare.register_forward_hook()MultimodalAdaCare.register_forward_pre_hook()MultimodalAdaCare.register_full_backward_hook()MultimodalAdaCare.register_full_backward_pre_hook()MultimodalAdaCare.register_load_state_dict_post_hook()MultimodalAdaCare.register_load_state_dict_pre_hook()MultimodalAdaCare.register_module()MultimodalAdaCare.register_parameter()MultimodalAdaCare.register_state_dict_post_hook()MultimodalAdaCare.register_state_dict_pre_hook()MultimodalAdaCare.requires_grad_()MultimodalAdaCare.set_extra_state()MultimodalAdaCare.set_submodule()MultimodalAdaCare.share_memory()MultimodalAdaCare.state_dict()MultimodalAdaCare.to()MultimodalAdaCare.to_empty()MultimodalAdaCare.train()MultimodalAdaCare.type()MultimodalAdaCare.xpu()MultimodalAdaCare.zero_grad()MultimodalAdaCare.training
- pyhealth.models.ConCare
ConCareLayerConCareLayer.concare_encoder()ConCareLayer.forward()ConCareLayer.T_destinationConCareLayer.add_module()ConCareLayer.apply()ConCareLayer.bfloat16()ConCareLayer.buffers()ConCareLayer.call_super_initConCareLayer.children()ConCareLayer.compile()ConCareLayer.cpu()ConCareLayer.cuda()ConCareLayer.double()ConCareLayer.dump_patchesConCareLayer.eval()ConCareLayer.extra_repr()ConCareLayer.float()ConCareLayer.get_buffer()ConCareLayer.get_extra_state()ConCareLayer.get_parameter()ConCareLayer.get_submodule()ConCareLayer.half()ConCareLayer.ipu()ConCareLayer.load_state_dict()ConCareLayer.modules()ConCareLayer.mtia()ConCareLayer.named_buffers()ConCareLayer.named_children()ConCareLayer.named_modules()ConCareLayer.named_parameters()ConCareLayer.parameters()ConCareLayer.register_backward_hook()ConCareLayer.register_buffer()ConCareLayer.register_forward_hook()ConCareLayer.register_forward_pre_hook()ConCareLayer.register_full_backward_hook()ConCareLayer.register_full_backward_pre_hook()ConCareLayer.register_load_state_dict_post_hook()ConCareLayer.register_load_state_dict_pre_hook()ConCareLayer.register_module()ConCareLayer.register_parameter()ConCareLayer.register_state_dict_post_hook()ConCareLayer.register_state_dict_pre_hook()ConCareLayer.requires_grad_()ConCareLayer.set_extra_state()ConCareLayer.set_submodule()ConCareLayer.share_memory()ConCareLayer.state_dict()ConCareLayer.to()ConCareLayer.to_empty()ConCareLayer.train()ConCareLayer.type()ConCareLayer.xpu()ConCareLayer.zero_grad()ConCareLayer.training
ConCareConCare.T_destinationConCare.add_module()ConCare.apply()ConCare.bfloat16()ConCare.buffers()ConCare.call_super_initConCare.children()ConCare.compile()ConCare.cpu()ConCare.cuda()ConCare.deviceConCare.double()ConCare.dump_patchesConCare.eval()ConCare.extra_repr()ConCare.float()ConCare.get_buffer()ConCare.get_extra_state()ConCare.get_loss_function()ConCare.get_output_size()ConCare.get_parameter()ConCare.get_submodule()ConCare.half()ConCare.ipu()ConCare.load_state_dict()ConCare.modules()ConCare.mtia()ConCare.named_buffers()ConCare.named_children()ConCare.named_modules()ConCare.named_parameters()ConCare.parameters()ConCare.prepare_y_prob()ConCare.register_backward_hook()ConCare.register_buffer()ConCare.register_forward_hook()ConCare.register_forward_pre_hook()ConCare.register_full_backward_hook()ConCare.register_full_backward_pre_hook()ConCare.register_load_state_dict_post_hook()ConCare.register_load_state_dict_pre_hook()ConCare.register_module()ConCare.register_parameter()ConCare.register_state_dict_post_hook()ConCare.register_state_dict_pre_hook()ConCare.requires_grad_()ConCare.set_extra_state()ConCare.set_submodule()ConCare.share_memory()ConCare.state_dict()ConCare.to()ConCare.to_empty()ConCare.train()ConCare.type()ConCare.xpu()ConCare.zero_grad()ConCare.trainingConCare.forward()
- pyhealth.models.Agent
AgentLayerAgentLayer.forward()AgentLayer.T_destinationAgentLayer.add_module()AgentLayer.apply()AgentLayer.bfloat16()AgentLayer.buffers()AgentLayer.call_super_initAgentLayer.children()AgentLayer.compile()AgentLayer.cpu()AgentLayer.cuda()AgentLayer.double()AgentLayer.dump_patchesAgentLayer.eval()AgentLayer.extra_repr()AgentLayer.float()AgentLayer.get_buffer()AgentLayer.get_extra_state()AgentLayer.get_parameter()AgentLayer.get_submodule()AgentLayer.half()AgentLayer.ipu()AgentLayer.load_state_dict()AgentLayer.modules()AgentLayer.mtia()AgentLayer.named_buffers()AgentLayer.named_children()AgentLayer.named_modules()AgentLayer.named_parameters()AgentLayer.parameters()AgentLayer.register_backward_hook()AgentLayer.register_buffer()AgentLayer.register_forward_hook()AgentLayer.register_forward_pre_hook()AgentLayer.register_full_backward_hook()AgentLayer.register_full_backward_pre_hook()AgentLayer.register_load_state_dict_post_hook()AgentLayer.register_load_state_dict_pre_hook()AgentLayer.register_module()AgentLayer.register_parameter()AgentLayer.register_state_dict_post_hook()AgentLayer.register_state_dict_pre_hook()AgentLayer.requires_grad_()AgentLayer.set_extra_state()AgentLayer.set_submodule()AgentLayer.share_memory()AgentLayer.state_dict()AgentLayer.to()AgentLayer.to_empty()AgentLayer.train()AgentLayer.type()AgentLayer.xpu()AgentLayer.zero_grad()AgentLayer.training
AgentAgent.forward()Agent.T_destinationAgent.add_module()Agent.apply()Agent.bfloat16()Agent.buffers()Agent.call_super_initAgent.children()Agent.compile()Agent.cpu()Agent.cuda()Agent.deviceAgent.double()Agent.dump_patchesAgent.eval()Agent.extra_repr()Agent.float()Agent.get_buffer()Agent.get_extra_state()Agent.get_loss_function()Agent.get_output_size()Agent.get_parameter()Agent.get_submodule()Agent.half()Agent.ipu()Agent.load_state_dict()Agent.modules()Agent.mtia()Agent.named_buffers()Agent.named_children()Agent.named_modules()Agent.named_parameters()Agent.parameters()Agent.prepare_y_prob()Agent.register_backward_hook()Agent.register_buffer()Agent.register_forward_hook()Agent.register_forward_pre_hook()Agent.register_full_backward_hook()Agent.register_full_backward_pre_hook()Agent.register_load_state_dict_post_hook()Agent.register_load_state_dict_pre_hook()Agent.register_module()Agent.register_parameter()Agent.register_state_dict_post_hook()Agent.register_state_dict_pre_hook()Agent.requires_grad_()Agent.set_extra_state()Agent.set_submodule()Agent.share_memory()Agent.state_dict()Agent.to()Agent.to_empty()Agent.train()Agent.type()Agent.xpu()Agent.zero_grad()Agent.training
- pyhealth.models.GRASP
GRASPLayerGRASPLayer.sample_gumbel()GRASPLayer.gumbel_softmax_sample()GRASPLayer.gumbel_softmax()GRASPLayer.grasp_encoder()GRASPLayer.forward()GRASPLayer.T_destinationGRASPLayer.add_module()GRASPLayer.apply()GRASPLayer.bfloat16()GRASPLayer.buffers()GRASPLayer.call_super_initGRASPLayer.children()GRASPLayer.compile()GRASPLayer.cpu()GRASPLayer.cuda()GRASPLayer.double()GRASPLayer.dump_patchesGRASPLayer.eval()GRASPLayer.extra_repr()GRASPLayer.float()GRASPLayer.get_buffer()GRASPLayer.get_extra_state()GRASPLayer.get_parameter()GRASPLayer.get_submodule()GRASPLayer.half()GRASPLayer.ipu()GRASPLayer.load_state_dict()GRASPLayer.modules()GRASPLayer.mtia()GRASPLayer.named_buffers()GRASPLayer.named_children()GRASPLayer.named_modules()GRASPLayer.named_parameters()GRASPLayer.parameters()GRASPLayer.register_backward_hook()GRASPLayer.register_buffer()GRASPLayer.register_forward_hook()GRASPLayer.register_forward_pre_hook()GRASPLayer.register_full_backward_hook()GRASPLayer.register_full_backward_pre_hook()GRASPLayer.register_load_state_dict_post_hook()GRASPLayer.register_load_state_dict_pre_hook()GRASPLayer.register_module()GRASPLayer.register_parameter()GRASPLayer.register_state_dict_post_hook()GRASPLayer.register_state_dict_pre_hook()GRASPLayer.requires_grad_()GRASPLayer.set_extra_state()GRASPLayer.set_submodule()GRASPLayer.share_memory()GRASPLayer.state_dict()GRASPLayer.to()GRASPLayer.to_empty()GRASPLayer.train()GRASPLayer.type()GRASPLayer.xpu()GRASPLayer.zero_grad()GRASPLayer.training
GRASPGRASP.forward()GRASP.T_destinationGRASP.add_module()GRASP.apply()GRASP.bfloat16()GRASP.buffers()GRASP.call_super_initGRASP.children()GRASP.compile()GRASP.cpu()GRASP.cuda()GRASP.deviceGRASP.double()GRASP.dump_patchesGRASP.eval()GRASP.extra_repr()GRASP.float()GRASP.get_buffer()GRASP.get_extra_state()GRASP.get_loss_function()GRASP.get_output_size()GRASP.get_parameter()GRASP.get_submodule()GRASP.half()GRASP.ipu()GRASP.load_state_dict()GRASP.modules()GRASP.mtia()GRASP.named_buffers()GRASP.named_children()GRASP.named_modules()GRASP.named_parameters()GRASP.parameters()GRASP.prepare_y_prob()GRASP.register_backward_hook()GRASP.register_buffer()GRASP.register_forward_hook()GRASP.register_forward_pre_hook()GRASP.register_full_backward_hook()GRASP.register_full_backward_pre_hook()GRASP.register_load_state_dict_post_hook()GRASP.register_load_state_dict_pre_hook()GRASP.register_module()GRASP.register_parameter()GRASP.register_state_dict_post_hook()GRASP.register_state_dict_pre_hook()GRASP.requires_grad_()GRASP.set_extra_state()GRASP.set_submodule()GRASP.share_memory()GRASP.state_dict()GRASP.to()GRASP.to_empty()GRASP.train()GRASP.type()GRASP.xpu()GRASP.zero_grad()GRASP.training
- pyhealth.models.MedLink
MedLinkMedLink.encode_queries()MedLink.encode_corpus()MedLink.compute_scores()MedLink.get_loss()MedLink.forward()MedLink.search()MedLink.evaluate()MedLink.T_destinationMedLink.add_module()MedLink.apply()MedLink.bfloat16()MedLink.buffers()MedLink.call_super_initMedLink.children()MedLink.compile()MedLink.cpu()MedLink.cuda()MedLink.deviceMedLink.double()MedLink.dump_patchesMedLink.eval()MedLink.extra_repr()MedLink.float()MedLink.get_buffer()MedLink.get_extra_state()MedLink.get_loss_function()MedLink.get_output_size()MedLink.get_parameter()MedLink.get_submodule()MedLink.half()MedLink.ipu()MedLink.load_state_dict()MedLink.modules()MedLink.mtia()MedLink.named_buffers()MedLink.named_children()MedLink.named_modules()MedLink.named_parameters()MedLink.parameters()MedLink.prepare_y_prob()MedLink.register_backward_hook()MedLink.register_buffer()MedLink.register_forward_hook()MedLink.register_forward_pre_hook()MedLink.register_full_backward_hook()MedLink.register_full_backward_pre_hook()MedLink.register_load_state_dict_post_hook()MedLink.register_load_state_dict_pre_hook()MedLink.register_module()MedLink.register_parameter()MedLink.register_state_dict_post_hook()MedLink.register_state_dict_pre_hook()MedLink.requires_grad_()MedLink.set_extra_state()MedLink.set_submodule()MedLink.share_memory()MedLink.state_dict()MedLink.to()MedLink.to_empty()MedLink.train()MedLink.type()MedLink.xpu()MedLink.zero_grad()MedLink.training
- pyhealth.models.TCN
TCNLayerTCNLayer.forward()TCNLayer.T_destinationTCNLayer.add_module()TCNLayer.apply()TCNLayer.bfloat16()TCNLayer.buffers()TCNLayer.call_super_initTCNLayer.children()TCNLayer.compile()TCNLayer.cpu()TCNLayer.cuda()TCNLayer.double()TCNLayer.dump_patchesTCNLayer.eval()TCNLayer.extra_repr()TCNLayer.float()TCNLayer.get_buffer()TCNLayer.get_extra_state()TCNLayer.get_parameter()TCNLayer.get_submodule()TCNLayer.half()TCNLayer.ipu()TCNLayer.load_state_dict()TCNLayer.modules()TCNLayer.mtia()TCNLayer.named_buffers()TCNLayer.named_children()TCNLayer.named_modules()TCNLayer.named_parameters()TCNLayer.parameters()TCNLayer.register_backward_hook()TCNLayer.register_buffer()TCNLayer.register_forward_hook()TCNLayer.register_forward_pre_hook()TCNLayer.register_full_backward_hook()TCNLayer.register_full_backward_pre_hook()TCNLayer.register_load_state_dict_post_hook()TCNLayer.register_load_state_dict_pre_hook()TCNLayer.register_module()TCNLayer.register_parameter()TCNLayer.register_state_dict_post_hook()TCNLayer.register_state_dict_pre_hook()TCNLayer.requires_grad_()TCNLayer.set_extra_state()TCNLayer.set_submodule()TCNLayer.share_memory()TCNLayer.state_dict()TCNLayer.to()TCNLayer.to_empty()TCNLayer.train()TCNLayer.type()TCNLayer.xpu()TCNLayer.zero_grad()TCNLayer.training
TCNTCN.forward()TCN.T_destinationTCN.add_module()TCN.apply()TCN.bfloat16()TCN.buffers()TCN.call_super_initTCN.children()TCN.compile()TCN.cpu()TCN.cuda()TCN.deviceTCN.double()TCN.dump_patchesTCN.eval()TCN.extra_repr()TCN.float()TCN.get_buffer()TCN.get_extra_state()TCN.get_loss_function()TCN.get_output_size()TCN.get_parameter()TCN.get_submodule()TCN.half()TCN.ipu()TCN.load_state_dict()TCN.modules()TCN.mtia()TCN.named_buffers()TCN.named_children()TCN.named_modules()TCN.named_parameters()TCN.parameters()TCN.prepare_y_prob()TCN.register_backward_hook()TCN.register_buffer()TCN.register_forward_hook()TCN.register_forward_pre_hook()TCN.register_full_backward_hook()TCN.register_full_backward_pre_hook()TCN.register_load_state_dict_post_hook()TCN.register_load_state_dict_pre_hook()TCN.register_module()TCN.register_parameter()TCN.register_state_dict_post_hook()TCN.register_state_dict_pre_hook()TCN.requires_grad_()TCN.set_extra_state()TCN.set_submodule()TCN.share_memory()TCN.state_dict()TCN.to()TCN.to_empty()TCN.train()TCN.type()TCN.xpu()TCN.zero_grad()TCN.training
- pyhealth.models.TFMTokenizer
TFMTokenizerTFMTokenizer.forward()TFMTokenizer.get_embeddings()TFMTokenizer.get_tokens()TFMTokenizer.load_pretrained_weights()TFMTokenizer.T_destinationTFMTokenizer.add_module()TFMTokenizer.apply()TFMTokenizer.bfloat16()TFMTokenizer.buffers()TFMTokenizer.call_super_initTFMTokenizer.children()TFMTokenizer.compile()TFMTokenizer.cpu()TFMTokenizer.cuda()TFMTokenizer.deviceTFMTokenizer.double()TFMTokenizer.dump_patchesTFMTokenizer.eval()TFMTokenizer.extra_repr()TFMTokenizer.float()TFMTokenizer.get_buffer()TFMTokenizer.get_extra_state()TFMTokenizer.get_loss_function()TFMTokenizer.get_output_size()TFMTokenizer.get_parameter()TFMTokenizer.get_submodule()TFMTokenizer.half()TFMTokenizer.ipu()TFMTokenizer.load_state_dict()TFMTokenizer.modules()TFMTokenizer.mtia()TFMTokenizer.named_buffers()TFMTokenizer.named_children()TFMTokenizer.named_modules()TFMTokenizer.named_parameters()TFMTokenizer.parameters()TFMTokenizer.prepare_y_prob()TFMTokenizer.register_backward_hook()TFMTokenizer.register_buffer()TFMTokenizer.register_forward_hook()TFMTokenizer.register_forward_pre_hook()TFMTokenizer.register_full_backward_hook()TFMTokenizer.register_full_backward_pre_hook()TFMTokenizer.register_load_state_dict_post_hook()TFMTokenizer.register_load_state_dict_pre_hook()TFMTokenizer.register_module()TFMTokenizer.register_parameter()TFMTokenizer.register_state_dict_post_hook()TFMTokenizer.register_state_dict_pre_hook()TFMTokenizer.requires_grad_()TFMTokenizer.set_extra_state()TFMTokenizer.set_submodule()TFMTokenizer.share_memory()TFMTokenizer.state_dict()TFMTokenizer.to()TFMTokenizer.to_empty()TFMTokenizer.train()TFMTokenizer.type()TFMTokenizer.xpu()TFMTokenizer.zero_grad()TFMTokenizer.training
TFM_VQVAE2_deepTFM_VQVAE2_deep.no_weight_decay()TFM_VQVAE2_deep.tokenize()TFM_VQVAE2_deep.forward()TFM_VQVAE2_deep.vec_quantizer_loss()TFM_VQVAE2_deep.forward_ana()TFM_VQVAE2_deep.T_destinationTFM_VQVAE2_deep.add_module()TFM_VQVAE2_deep.apply()TFM_VQVAE2_deep.bfloat16()TFM_VQVAE2_deep.buffers()TFM_VQVAE2_deep.call_super_initTFM_VQVAE2_deep.children()TFM_VQVAE2_deep.compile()TFM_VQVAE2_deep.cpu()TFM_VQVAE2_deep.cuda()TFM_VQVAE2_deep.double()TFM_VQVAE2_deep.dump_patchesTFM_VQVAE2_deep.eval()TFM_VQVAE2_deep.extra_repr()TFM_VQVAE2_deep.float()TFM_VQVAE2_deep.get_buffer()TFM_VQVAE2_deep.get_extra_state()TFM_VQVAE2_deep.get_parameter()TFM_VQVAE2_deep.get_submodule()TFM_VQVAE2_deep.half()TFM_VQVAE2_deep.ipu()TFM_VQVAE2_deep.load_state_dict()TFM_VQVAE2_deep.modules()TFM_VQVAE2_deep.mtia()TFM_VQVAE2_deep.named_buffers()TFM_VQVAE2_deep.named_children()TFM_VQVAE2_deep.named_modules()TFM_VQVAE2_deep.named_parameters()TFM_VQVAE2_deep.parameters()TFM_VQVAE2_deep.register_backward_hook()TFM_VQVAE2_deep.register_buffer()TFM_VQVAE2_deep.register_forward_hook()TFM_VQVAE2_deep.register_forward_pre_hook()TFM_VQVAE2_deep.register_full_backward_hook()TFM_VQVAE2_deep.register_full_backward_pre_hook()TFM_VQVAE2_deep.register_load_state_dict_post_hook()TFM_VQVAE2_deep.register_load_state_dict_pre_hook()TFM_VQVAE2_deep.register_module()TFM_VQVAE2_deep.register_parameter()TFM_VQVAE2_deep.register_state_dict_post_hook()TFM_VQVAE2_deep.register_state_dict_pre_hook()TFM_VQVAE2_deep.requires_grad_()TFM_VQVAE2_deep.set_extra_state()TFM_VQVAE2_deep.set_submodule()TFM_VQVAE2_deep.share_memory()TFM_VQVAE2_deep.state_dict()TFM_VQVAE2_deep.to()TFM_VQVAE2_deep.to_empty()TFM_VQVAE2_deep.train()TFM_VQVAE2_deep.type()TFM_VQVAE2_deep.xpu()TFM_VQVAE2_deep.zero_grad()TFM_VQVAE2_deep.training
TFM_TOKEN_ClassifierTFM_TOKEN_Classifier.forward()TFM_TOKEN_Classifier.masked_prediction()TFM_TOKEN_Classifier.no_weight_decay()TFM_TOKEN_Classifier.T_destinationTFM_TOKEN_Classifier.add_module()TFM_TOKEN_Classifier.apply()TFM_TOKEN_Classifier.bfloat16()TFM_TOKEN_Classifier.buffers()TFM_TOKEN_Classifier.call_super_initTFM_TOKEN_Classifier.children()TFM_TOKEN_Classifier.compile()TFM_TOKEN_Classifier.cpu()TFM_TOKEN_Classifier.cuda()TFM_TOKEN_Classifier.double()TFM_TOKEN_Classifier.dump_patchesTFM_TOKEN_Classifier.eval()TFM_TOKEN_Classifier.extra_repr()TFM_TOKEN_Classifier.float()TFM_TOKEN_Classifier.get_buffer()TFM_TOKEN_Classifier.get_extra_state()TFM_TOKEN_Classifier.get_parameter()TFM_TOKEN_Classifier.get_submodule()TFM_TOKEN_Classifier.half()TFM_TOKEN_Classifier.ipu()TFM_TOKEN_Classifier.load_state_dict()TFM_TOKEN_Classifier.modules()TFM_TOKEN_Classifier.mtia()TFM_TOKEN_Classifier.named_buffers()TFM_TOKEN_Classifier.named_children()TFM_TOKEN_Classifier.named_modules()TFM_TOKEN_Classifier.named_parameters()TFM_TOKEN_Classifier.parameters()TFM_TOKEN_Classifier.register_backward_hook()TFM_TOKEN_Classifier.register_buffer()TFM_TOKEN_Classifier.register_forward_hook()TFM_TOKEN_Classifier.register_forward_pre_hook()TFM_TOKEN_Classifier.register_full_backward_hook()TFM_TOKEN_Classifier.register_full_backward_pre_hook()TFM_TOKEN_Classifier.register_load_state_dict_post_hook()TFM_TOKEN_Classifier.register_load_state_dict_pre_hook()TFM_TOKEN_Classifier.register_module()TFM_TOKEN_Classifier.register_parameter()TFM_TOKEN_Classifier.register_state_dict_post_hook()TFM_TOKEN_Classifier.register_state_dict_pre_hook()TFM_TOKEN_Classifier.requires_grad_()TFM_TOKEN_Classifier.set_extra_state()TFM_TOKEN_Classifier.set_submodule()TFM_TOKEN_Classifier.share_memory()TFM_TOKEN_Classifier.state_dict()TFM_TOKEN_Classifier.to()TFM_TOKEN_Classifier.to_empty()TFM_TOKEN_Classifier.train()TFM_TOKEN_Classifier.type()TFM_TOKEN_Classifier.xpu()TFM_TOKEN_Classifier.zero_grad()TFM_TOKEN_Classifier.training
get_tfm_tokenizer_2x2x8()get_tfm_token_classifier_64x4()load_embedding_weights()
- pyhealth.models.GAN
GANGAN.discriminate()GAN.sampling()GAN.generate_fake()GAN.T_destinationGAN.add_module()GAN.apply()GAN.bfloat16()GAN.buffers()GAN.call_super_initGAN.children()GAN.compile()GAN.cpu()GAN.cuda()GAN.double()GAN.dump_patchesGAN.eval()GAN.extra_repr()GAN.float()GAN.forward()GAN.get_buffer()GAN.get_extra_state()GAN.get_parameter()GAN.get_submodule()GAN.half()GAN.ipu()GAN.load_state_dict()GAN.modules()GAN.mtia()GAN.named_buffers()GAN.named_children()GAN.named_modules()GAN.named_parameters()GAN.parameters()GAN.register_backward_hook()GAN.register_buffer()GAN.register_forward_hook()GAN.register_forward_pre_hook()GAN.register_full_backward_hook()GAN.register_full_backward_pre_hook()GAN.register_load_state_dict_post_hook()GAN.register_load_state_dict_pre_hook()GAN.register_module()GAN.register_parameter()GAN.register_state_dict_post_hook()GAN.register_state_dict_pre_hook()GAN.requires_grad_()GAN.set_extra_state()GAN.set_submodule()GAN.share_memory()GAN.state_dict()GAN.to()GAN.to_empty()GAN.train()GAN.type()GAN.xpu()GAN.zero_grad()GAN.training
- pyhealth.models.VAE
VAEVAE.encoder()VAE.sampling()VAE.decoder()VAE.loss_function()VAE.forward()VAE.T_destinationVAE.add_module()VAE.apply()VAE.bfloat16()VAE.buffers()VAE.call_super_initVAE.children()VAE.compile()VAE.cpu()VAE.cuda()VAE.deviceVAE.double()VAE.dump_patchesVAE.eval()VAE.extra_repr()VAE.float()VAE.get_buffer()VAE.get_extra_state()VAE.get_loss_function()VAE.get_output_size()VAE.get_parameter()VAE.get_submodule()VAE.half()VAE.ipu()VAE.load_state_dict()VAE.modules()VAE.mtia()VAE.named_buffers()VAE.named_children()VAE.named_modules()VAE.named_parameters()VAE.parameters()VAE.prepare_y_prob()VAE.register_backward_hook()VAE.register_buffer()VAE.register_forward_hook()VAE.register_forward_pre_hook()VAE.register_full_backward_hook()VAE.register_full_backward_pre_hook()VAE.register_load_state_dict_post_hook()VAE.register_load_state_dict_pre_hook()VAE.register_module()VAE.register_parameter()VAE.register_state_dict_post_hook()VAE.register_state_dict_pre_hook()VAE.requires_grad_()VAE.set_extra_state()VAE.set_submodule()VAE.share_memory()VAE.state_dict()VAE.to()VAE.to_empty()VAE.train()VAE.type()VAE.xpu()VAE.zero_grad()VAE.training
- pyhealth.models.sdoh
SdohClassifierSdohClassifier.api_keySdohClassifier.base_model_idSdohClassifier.adapter_model_idSdohClassifier.T_destinationSdohClassifier.add_module()SdohClassifier.apply()SdohClassifier.bfloat16()SdohClassifier.buffers()SdohClassifier.call_super_initSdohClassifier.children()SdohClassifier.compile()SdohClassifier.cpu()SdohClassifier.cuda()SdohClassifier.deviceSdohClassifier.double()SdohClassifier.dump_patchesSdohClassifier.eval()SdohClassifier.extra_repr()SdohClassifier.float()SdohClassifier.forward()SdohClassifier.get_buffer()SdohClassifier.get_extra_state()SdohClassifier.get_loss_function()SdohClassifier.get_output_size()SdohClassifier.get_parameter()SdohClassifier.get_submodule()SdohClassifier.half()SdohClassifier.ipu()SdohClassifier.load_state_dict()SdohClassifier.modules()SdohClassifier.mtia()SdohClassifier.named_buffers()SdohClassifier.named_children()SdohClassifier.named_modules()SdohClassifier.named_parameters()SdohClassifier.parameters()SdohClassifier.prepare_y_prob()SdohClassifier.register_backward_hook()SdohClassifier.register_buffer()SdohClassifier.register_forward_hook()SdohClassifier.register_forward_pre_hook()SdohClassifier.register_full_backward_hook()SdohClassifier.register_full_backward_pre_hook()SdohClassifier.register_load_state_dict_post_hook()SdohClassifier.register_load_state_dict_pre_hook()SdohClassifier.register_module()SdohClassifier.register_parameter()SdohClassifier.register_state_dict_post_hook()SdohClassifier.register_state_dict_pre_hook()SdohClassifier.requires_grad_()SdohClassifier.set_extra_state()SdohClassifier.set_submodule()SdohClassifier.share_memory()SdohClassifier.state_dict()SdohClassifier.to()SdohClassifier.to_empty()SdohClassifier.train()SdohClassifier.type()SdohClassifier.xpu()SdohClassifier.zero_grad()SdohClassifier.trainingSdohClassifier.predict()
- pyhealth.models.BIOT
BIOTBIOT.load_pretrained_weights()BIOT.forward()BIOT.get_embeddings()BIOT.T_destinationBIOT.add_module()BIOT.apply()BIOT.bfloat16()BIOT.buffers()BIOT.call_super_initBIOT.children()BIOT.compile()BIOT.cpu()BIOT.cuda()BIOT.deviceBIOT.double()BIOT.dump_patchesBIOT.eval()BIOT.extra_repr()BIOT.float()BIOT.get_buffer()BIOT.get_extra_state()BIOT.get_loss_function()BIOT.get_output_size()BIOT.get_parameter()BIOT.get_submodule()BIOT.half()BIOT.ipu()BIOT.load_state_dict()BIOT.modules()BIOT.mtia()BIOT.named_buffers()BIOT.named_children()BIOT.named_modules()BIOT.named_parameters()BIOT.parameters()BIOT.prepare_y_prob()BIOT.register_backward_hook()BIOT.register_buffer()BIOT.register_forward_hook()BIOT.register_forward_pre_hook()BIOT.register_full_backward_hook()BIOT.register_full_backward_pre_hook()BIOT.register_load_state_dict_post_hook()BIOT.register_load_state_dict_pre_hook()BIOT.register_module()BIOT.register_parameter()BIOT.register_state_dict_post_hook()BIOT.register_state_dict_pre_hook()BIOT.requires_grad_()BIOT.set_extra_state()BIOT.set_submodule()BIOT.share_memory()BIOT.state_dict()BIOT.to()BIOT.to_empty()BIOT.train()BIOT.type()BIOT.xpu()BIOT.zero_grad()BIOT.training
- UnifiedMultimodalEmbeddingModel
UnifiedMultimodalEmbeddingModelUnifiedMultimodalEmbeddingModel.forward()UnifiedMultimodalEmbeddingModel.T_destinationUnifiedMultimodalEmbeddingModel.add_module()UnifiedMultimodalEmbeddingModel.apply()UnifiedMultimodalEmbeddingModel.bfloat16()UnifiedMultimodalEmbeddingModel.buffers()UnifiedMultimodalEmbeddingModel.call_super_initUnifiedMultimodalEmbeddingModel.children()UnifiedMultimodalEmbeddingModel.compile()UnifiedMultimodalEmbeddingModel.cpu()UnifiedMultimodalEmbeddingModel.cuda()UnifiedMultimodalEmbeddingModel.double()UnifiedMultimodalEmbeddingModel.dump_patchesUnifiedMultimodalEmbeddingModel.eval()UnifiedMultimodalEmbeddingModel.extra_repr()UnifiedMultimodalEmbeddingModel.float()UnifiedMultimodalEmbeddingModel.get_buffer()UnifiedMultimodalEmbeddingModel.get_extra_state()UnifiedMultimodalEmbeddingModel.get_parameter()UnifiedMultimodalEmbeddingModel.get_submodule()UnifiedMultimodalEmbeddingModel.half()UnifiedMultimodalEmbeddingModel.ipu()UnifiedMultimodalEmbeddingModel.load_state_dict()UnifiedMultimodalEmbeddingModel.modules()UnifiedMultimodalEmbeddingModel.mtia()UnifiedMultimodalEmbeddingModel.named_buffers()UnifiedMultimodalEmbeddingModel.named_children()UnifiedMultimodalEmbeddingModel.named_modules()UnifiedMultimodalEmbeddingModel.named_parameters()UnifiedMultimodalEmbeddingModel.parameters()UnifiedMultimodalEmbeddingModel.register_backward_hook()UnifiedMultimodalEmbeddingModel.register_buffer()UnifiedMultimodalEmbeddingModel.register_forward_hook()UnifiedMultimodalEmbeddingModel.register_forward_pre_hook()UnifiedMultimodalEmbeddingModel.register_full_backward_hook()UnifiedMultimodalEmbeddingModel.register_full_backward_pre_hook()UnifiedMultimodalEmbeddingModel.register_load_state_dict_post_hook()UnifiedMultimodalEmbeddingModel.register_load_state_dict_pre_hook()UnifiedMultimodalEmbeddingModel.register_module()UnifiedMultimodalEmbeddingModel.register_parameter()UnifiedMultimodalEmbeddingModel.register_state_dict_post_hook()UnifiedMultimodalEmbeddingModel.register_state_dict_pre_hook()UnifiedMultimodalEmbeddingModel.requires_grad_()UnifiedMultimodalEmbeddingModel.set_extra_state()UnifiedMultimodalEmbeddingModel.set_submodule()UnifiedMultimodalEmbeddingModel.share_memory()UnifiedMultimodalEmbeddingModel.state_dict()UnifiedMultimodalEmbeddingModel.to()UnifiedMultimodalEmbeddingModel.to_empty()UnifiedMultimodalEmbeddingModel.train()UnifiedMultimodalEmbeddingModel.type()UnifiedMultimodalEmbeddingModel.xpu()UnifiedMultimodalEmbeddingModel.zero_grad()UnifiedMultimodalEmbeddingModel.training
SinusoidalTimeEmbeddingSinusoidalTimeEmbedding.forward()SinusoidalTimeEmbedding.T_destinationSinusoidalTimeEmbedding.add_module()SinusoidalTimeEmbedding.apply()SinusoidalTimeEmbedding.bfloat16()SinusoidalTimeEmbedding.buffers()SinusoidalTimeEmbedding.call_super_initSinusoidalTimeEmbedding.children()SinusoidalTimeEmbedding.compile()SinusoidalTimeEmbedding.cpu()SinusoidalTimeEmbedding.cuda()SinusoidalTimeEmbedding.double()SinusoidalTimeEmbedding.dump_patchesSinusoidalTimeEmbedding.eval()SinusoidalTimeEmbedding.extra_repr()SinusoidalTimeEmbedding.float()SinusoidalTimeEmbedding.get_buffer()SinusoidalTimeEmbedding.get_extra_state()SinusoidalTimeEmbedding.get_parameter()SinusoidalTimeEmbedding.get_submodule()SinusoidalTimeEmbedding.half()SinusoidalTimeEmbedding.ipu()SinusoidalTimeEmbedding.load_state_dict()SinusoidalTimeEmbedding.modules()SinusoidalTimeEmbedding.mtia()SinusoidalTimeEmbedding.named_buffers()SinusoidalTimeEmbedding.named_children()SinusoidalTimeEmbedding.named_modules()SinusoidalTimeEmbedding.named_parameters()SinusoidalTimeEmbedding.parameters()SinusoidalTimeEmbedding.register_backward_hook()SinusoidalTimeEmbedding.register_buffer()SinusoidalTimeEmbedding.register_forward_hook()SinusoidalTimeEmbedding.register_forward_pre_hook()SinusoidalTimeEmbedding.register_full_backward_hook()SinusoidalTimeEmbedding.register_full_backward_pre_hook()SinusoidalTimeEmbedding.register_load_state_dict_post_hook()SinusoidalTimeEmbedding.register_load_state_dict_pre_hook()SinusoidalTimeEmbedding.register_module()SinusoidalTimeEmbedding.register_parameter()SinusoidalTimeEmbedding.register_state_dict_post_hook()SinusoidalTimeEmbedding.register_state_dict_pre_hook()SinusoidalTimeEmbedding.requires_grad_()SinusoidalTimeEmbedding.set_extra_state()SinusoidalTimeEmbedding.set_submodule()SinusoidalTimeEmbedding.share_memory()SinusoidalTimeEmbedding.state_dict()SinusoidalTimeEmbedding.to()SinusoidalTimeEmbedding.to_empty()SinusoidalTimeEmbedding.train()SinusoidalTimeEmbedding.type()SinusoidalTimeEmbedding.xpu()SinusoidalTimeEmbedding.zero_grad()SinusoidalTimeEmbedding.training
- pyhealth.models.califorest
RandomForestClassifierRandomForestClassifier.estimator_RandomForestClassifier.estimators_RandomForestClassifier.classes_RandomForestClassifier.n_classes_RandomForestClassifier.n_features_in_RandomForestClassifier.feature_names_in_RandomForestClassifier.n_outputs_RandomForestClassifier.feature_importances_RandomForestClassifier.oob_score_RandomForestClassifier.oob_decision_function_RandomForestClassifier.estimators_samples_RandomForestClassifier.apply()RandomForestClassifier.decision_path()RandomForestClassifier.estimators_samples_RandomForestClassifier.feature_importances_RandomForestClassifier.fit()RandomForestClassifier.get_metadata_routing()RandomForestClassifier.get_params()RandomForestClassifier.predict()RandomForestClassifier.predict_log_proba()RandomForestClassifier.predict_proba()RandomForestClassifier.score()RandomForestClassifier.set_fit_request()RandomForestClassifier.set_params()RandomForestClassifier.set_score_request()
IsotonicRegressionIsotonicRegression.X_min_IsotonicRegression.X_max_IsotonicRegression.X_thresholds_IsotonicRegression.y_thresholds_IsotonicRegression.f_IsotonicRegression.increasing_IsotonicRegression.fit()IsotonicRegression.transform()IsotonicRegression.predict()IsotonicRegression.get_feature_names_out()IsotonicRegression.fit_transform()IsotonicRegression.get_metadata_routing()IsotonicRegression.get_params()IsotonicRegression.score()IsotonicRegression.set_fit_request()IsotonicRegression.set_output()IsotonicRegression.set_params()IsotonicRegression.set_score_request()
LogisticRegressionLogisticRegression.classes_LogisticRegression.coef_LogisticRegression.intercept_LogisticRegression.n_features_in_LogisticRegression.feature_names_in_LogisticRegression.n_iter_LogisticRegression.fit()LogisticRegression.predict_proba()LogisticRegression.predict_log_proba()LogisticRegression.decision_function()LogisticRegression.densify()LogisticRegression.get_metadata_routing()LogisticRegression.get_params()LogisticRegression.predict()LogisticRegression.score()LogisticRegression.set_fit_request()LogisticRegression.set_params()LogisticRegression.set_score_request()LogisticRegression.sparsify()
SampleDatasetSampleDataset.input_schemaSampleDataset.output_schemaSampleDataset.input_processorsSampleDataset.output_processorsSampleDataset.patient_to_indexSampleDataset.record_to_indexSampleDataset.dataset_nameSampleDataset.task_nameSampleDataset.subset()SampleDataset.close()SampleDataset.get_len()SampleDataset.load_state_dict()SampleDataset.on_demand_bytesSampleDataset.reset()SampleDataset.reset_state_dict()SampleDataset.set_batch_size()SampleDataset.set_drop_last()SampleDataset.set_epoch()SampleDataset.set_num_workers()SampleDataset.set_shuffle()SampleDataset.state_dict()
BaseModelBaseModel.forward()BaseModel.deviceBaseModel.T_destinationBaseModel.add_module()BaseModel.apply()BaseModel.bfloat16()BaseModel.buffers()BaseModel.call_super_initBaseModel.children()BaseModel.compile()BaseModel.cpu()BaseModel.cuda()BaseModel.double()BaseModel.dump_patchesBaseModel.eval()BaseModel.extra_repr()BaseModel.float()BaseModel.get_buffer()BaseModel.get_extra_state()BaseModel.get_output_size()BaseModel.get_parameter()BaseModel.get_submodule()BaseModel.half()BaseModel.ipu()BaseModel.load_state_dict()BaseModel.modules()BaseModel.mtia()BaseModel.named_buffers()BaseModel.named_children()BaseModel.named_modules()BaseModel.named_parameters()BaseModel.parameters()BaseModel.register_backward_hook()BaseModel.register_buffer()BaseModel.register_forward_hook()BaseModel.register_forward_pre_hook()BaseModel.register_full_backward_hook()BaseModel.register_full_backward_pre_hook()BaseModel.register_load_state_dict_post_hook()BaseModel.register_load_state_dict_pre_hook()BaseModel.register_module()BaseModel.register_parameter()BaseModel.register_state_dict_post_hook()BaseModel.register_state_dict_pre_hook()BaseModel.requires_grad_()BaseModel.set_extra_state()BaseModel.set_submodule()BaseModel.share_memory()BaseModel.state_dict()BaseModel.to()BaseModel.to_empty()BaseModel.train()BaseModel.type()BaseModel.xpu()BaseModel.zero_grad()BaseModel.trainingBaseModel.get_loss_function()BaseModel.prepare_y_prob()
CaliForestCaliForest.fit()CaliForest.fit_model()CaliForest.predict_proba_numpy()CaliForest.forward()CaliForest.T_destinationCaliForest.add_module()CaliForest.apply()CaliForest.bfloat16()CaliForest.buffers()CaliForest.call_super_initCaliForest.children()CaliForest.compile()CaliForest.cpu()CaliForest.cuda()CaliForest.deviceCaliForest.double()CaliForest.dump_patchesCaliForest.eval()CaliForest.extra_repr()CaliForest.float()CaliForest.get_buffer()CaliForest.get_extra_state()CaliForest.get_loss_function()CaliForest.get_output_size()CaliForest.get_parameter()CaliForest.get_submodule()CaliForest.half()CaliForest.ipu()CaliForest.load_state_dict()CaliForest.modules()CaliForest.mtia()CaliForest.named_buffers()CaliForest.named_children()CaliForest.named_modules()CaliForest.named_parameters()CaliForest.parameters()CaliForest.prepare_y_prob()CaliForest.register_backward_hook()CaliForest.register_buffer()CaliForest.register_forward_hook()CaliForest.register_forward_pre_hook()CaliForest.register_full_backward_hook()CaliForest.register_full_backward_pre_hook()CaliForest.register_load_state_dict_post_hook()CaliForest.register_load_state_dict_pre_hook()CaliForest.register_module()CaliForest.register_parameter()CaliForest.register_state_dict_post_hook()CaliForest.register_state_dict_pre_hook()CaliForest.requires_grad_()CaliForest.set_extra_state()CaliForest.set_submodule()CaliForest.share_memory()CaliForest.state_dict()CaliForest.to()CaliForest.to_empty()CaliForest.train()CaliForest.type()CaliForest.xpu()CaliForest.zero_grad()CaliForest.training