MCPcopy Create free account

hub / github.com/Project-MONAI/MONAI / functions

Functions7,906 in github.com/Project-MONAI/MONAI

↓ 1 callersMethod__init__
( self, spatial_dims: int, in_channels: int, out_channels: int, stride
monai/networks/blocks/convolutions.py:98
↓ 1 callersMethod__init__
(self, layers: Sequence[nn.Module])
monai/networks/blocks/denseblock.py:34
↓ 1 callersMethod__init__
( self, spatial_dims: int, num_embeddings: int, embedding_dim: int, co
monai/networks/layers/vector_quantizer.py:44
↓ 1 callersMethod__init__
(self, spatial_sigma, color_sigma)
monai/networks/layers/filtering.py:207
↓ 1 callersMethod__init__
( self, include_background: bool = True, spatial_map: bool = False, scalar_red
monai/metrics/active_learning_metrics.py:41
↓ 1 callersMethod__init__
(self, similarity_fn: Callable[[Tensor, Tensor], Tensor] = box_iou)
monai/apps/detection/utils/ATSS_matcher.py:104
↓ 1 callersMethod__init__
( self, sizes: Sequence[Sequence[int]] = ((20, 30, 40),), aspect_ratios: Sequence = ((
monai/apps/detection/utils/anchor_utils.py:111
↓ 1 callersMethod__init__
(self, zoom: Sequence[float] | float, keep_size: bool = False, **kwargs: Any)
monai/apps/detection/transforms/array.py:229
↓ 1 callersMethod__init__
( self, keys: KeysCollection, tli: float = 240, alpha: float = 1, beta
monai/apps/pathology/transforms/stain/dictionary.py:47
↓ 1 callersMethod__init__
Base video dataset. Args: video_source: filename of video. transform: transform to be applied to each frame.
monai/data/video_dataset.py:66
↓ 1 callersMethod__init__
(self, src, buffer_size: int = 1, timeout: float = 0.01)
monai/data/thread_buffer.py:40
↓ 1 callersMethod__init__
( self, dataset: Dataset, even_divisible: bool = True, num_replicas: int | Non
monai/data/samplers.py:43
↓ 1 callersMethod__init__
(self, data, transform=None, buffer_size: int = 512, seed: int = 0, epochs: int = 1)
monai/data/iterable_dataset.py:100
↓ 1 callersMethod__init__
( self, save_dir: str, save_dict: dict, name: str | None = None, file_
monai/handlers/checkpoint_saver.py:89
↓ 1 callersMethod__init__
Args: metric_name: Name of a binary metric from the MetricsReloaded package. include_background: whether to include
monai/handlers/metrics_reloaded_handler.py:26
↓ 1 callersMethod__init__
Args: optimizer: wrapped optimizer. end_lr: the final learning rate. num_iter: the number of iterations o
monai/optimizers/lr_scheduler.py:26
↓ 1 callersMethod__init__
Args: normalize: Whether to divide out spatial sizes in order to make the computation roughly inv
monai/losses/deform.py:143
↓ 1 callersMethod__init__
Args: kernel_type: {``"gaussian"``, ``"b-spline"``} ``"gaussian"``: adapted from DeepReg Referenc
monai/losses/image_dissimilarity.py:193
↓ 1 callersMethod__init__
Args: iter_: Number of iterations for skeletonization. Must be a non-negative integer. Defaults to 3. smooth_nr: a sm
monai/losses/cldice.py:120
↓ 1 callersMethod__init__
(self, num_train_timesteps: int, condition_name: str | None = None)
monai/engines/utils.py:256
↓ 1 callersMethod__init__
(self, filename, output_dir, meta_file=None, logging_file=None)
tests/nonconfig_workflow.py:40
↓ 1 callersMethod__init__
(self, spatial_dims, num_classes, **kwargs)
tests/integration/test_retinanet_predict_utils.py:89
↓ 1 callersMethod__init__
(self, n_n, n_m, n_class)
tests/networks/utils/test_copy_model_state.py:26
↓ 1 callersMethod__init__
(self, key, report_format, stats_name="test")
tests/apps/test_auto3dseg.py:146
↓ 1 callersMethod__init__
(self, keys)
tests/transforms/test_random_order.py:33
↓ 1 callersMethod__iter__
(self)
monai/data/thread_buffer.py:68
↓ 1 callersMethod__next__
(self)
monai/optimizers/lr_finder.py:70
↓ 1 callersMethod__repr__
(self)
monai/transforms/adaptors.py:262
↓ 1 callersFunction_add_model_card_metadata
(new_modelcard_path)
monai/bundle/scripts.py:1837
↓ 1 callersMethod_add_to_summary
(self, key, value)
monai/fl/utils/exchange_object.py:85
↓ 1 callersFunction_append_paths
Args: base_dir: the base directory of the dataset. is_segmentation: whether the datalist is for segmentation task. items:
monai/data/decathlon_datalist.py:64
↓ 1 callersMethod_apply
(self, label)
monai/apps/deepgrow/transforms.py:50
↓ 1 callersMethod_apply
(self, label, sid)
monai/apps/deepgrow/transforms.py:114
↓ 1 callersMethod_apply
(self, image, guidance)
monai/apps/deepgrow/transforms.py:213
↓ 1 callersMethod_apply
(self, label, pred)
monai/apps/deepgrow/transforms.py:257
↓ 1 callersMethod_apply
(self, guidance, discrepancy)
monai/apps/deepgrow/transforms.py:326
↓ 1 callersMethod_apply
(self, pos_clicks, neg_clicks, factor, slice_num)
monai/apps/deepgrow/transforms.py:521
↓ 1 callersMethod_apply
(self, image, guidance)
monai/apps/deepgrow/transforms.py:956
↓ 1 callersMethod_apply
(self, image)
monai/apps/deepedit/transforms.py:60
↓ 1 callersMethod_apply
(self, label, d)
monai/apps/deepedit/transforms.py:321
↓ 1 callersMethod_apply
(self, label, sid, key_label)
monai/apps/deepedit/transforms.py:383
↓ 1 callersMethod_apply
(self, label, pred)
monai/apps/deepedit/transforms.py:494
↓ 1 callersMethod_apply
(clicks, factor)
monai/apps/deepedit/transforms.py:701
↓ 1 callersMethod_apply
(self, label, sid)
monai/apps/deepedit/transforms.py:831
↓ 1 callersMethod_apply
(self, label, d)
monai/apps/deepedit/transforms.py:928
↓ 1 callersMethod_apply_algo_specific_param
Apply the model-specific params to the prediction params based on the name of the Algo. Args: algo_spec_param: a dict th
monai/apps/auto3dseg/ensemble_builder.py:135
↓ 1 callersMethod_apply_controlnet_blocks
(self, h, down_block_res_samples)
monai/apps/generation/maisi/networks/controlnet_maisi.py:166
↓ 1 callersMethod_apply_down_blocks
(self, emb, context, h)
monai/apps/generation/maisi/networks/controlnet_maisi.py:149
↓ 1 callersMethod_apply_down_blocks
(self, h, emb, context, down_block_additional_residuals)
monai/apps/generation/maisi/networks/diffusion_model_unet_maisi.py:339
↓ 1 callersMethod_apply_filter
(self, img: torch.Tensor)
monai/transforms/utility/array.py:1780
↓ 1 callersMethod_apply_initial_convolution
(self, x)
monai/apps/generation/maisi/networks/controlnet_maisi.py:144
↓ 1 callersMethod_apply_mask
Builds and applies a mask on the spatial dimensions. Args: k: k-space version of the image. Returns: masked v
monai/transforms/intensity/array.py:1968
↓ 1 callersMethod_apply_mid_block
(self, emb, context, h)
monai/apps/generation/maisi/networks/controlnet_maisi.py:161
↓ 1 callersFunction_apply_transform
Perform a transform 'transform' on 'data', according to the other parameters specified. If `data` is a tuple and `unpack_parameters` is True
monai/transforms/transform.py:46
↓ 1 callersMethod_apply_up_blocks
(self, h, emb, context, down_block_res_samples)
monai/apps/generation/maisi/networks/diffusion_model_unet_maisi.py:359
↓ 1 callersMethod_build_and_save
If TRT engine is not ready, exports model to ONNX, builds TRT engine and saves serialized TRT engine to the disk. Args:
monai/networks/trt_compiler.py:521
↓ 1 callersMethod_cachecheck
A function to cache the expensive input data transform operations so that huge data sets (larger than computer memory) can be process
monai/data/dataset.py:372
↓ 1 callersMethod_cachecheck
In order to enable direct storage to the GPU when loading the hashfile, rewritten this function. Note that in this function, it will
monai/data/dataset.py:1607
↓ 1 callersMethod_calculate_conversion_factor
Calculate unit conversion factor with respect to the input unit
monai/utils/misc.py:845
↓ 1 callersMethod_calculate_distance_from_top_left
Each sequence of coordinates describes a boundary between foreground and background starting and ending at two sides of the bounding
monai/apps/pathology/transforms/post/array.py:401
↓ 1 callersMethod_cat_inputs
(self, inputs)
monai/apps/generation/maisi/networks/autoencoderkl_maisi.py:100
↓ 1 callersMethod_check_all_values_uneven
(self, x: tuple)
monai/transforms/utility/array.py:1707
↓ 1 callersMethod_check_data_uniformity
Check data uniformity since DataAnalyzer provides no support to multi-modal images with different affine matrices/spacings due to mon
monai/apps/auto3dseg/data_analyzer.py:151
↓ 1 callersMethod_check_detector_training_components
Check if self.proposal_matcher and self.fg_bg_sampler have been set for training.
monai/apps/detection/networks/retinanet_detector.py:551
↓ 1 callersMethod_check_filter_format
(self, filter: str | NdarrayOrTensor | nn.Module, filter_size: int | None = None)
monai/transforms/utility/array.py:1712
↓ 1 callersMethod_check_indices
Helper method to check consistency of self.loc and input image. Raises assertion error if any index in loc is out of bounds.
monai/transforms/intensity/array.py:2157
↓ 1 callersMethod_check_input_size
(self, spatial_shape)
monai/networks/nets/swin_unetr.py:323
↓ 1 callersMethod_check_kwargs_are_present
Perform sanity checks on the kwargs if the filter contains the required keys. If the filter is ``gauss``, kwargs should contain ``sig
monai/transforms/utility/array.py:1731
↓ 1 callersFunction_check_monai_version
Get the `monai_version` from the metadata.json and compare if it is smaller than the installed `monai` package version
monai/bundle/scripts.py:330
↓ 1 callersMethod_check_optional_id
If an optional property has reference in the config, check whether the property is existing. If `ValidationHandler` is defined for a
monai/bundle/workflows.py:598
↓ 1 callersMethod_check_shape
(self, y_pred: torch.Tensor, y: torch.Tensor)
monai/metrics/regression.py:69
↓ 1 callersMethod_check_transforms
Should be at least 1 random transform, and all random transforms should be invertible.
monai/data/test_time_augmentation.py:159
↓ 1 callersMethod_child_id
(self, key: str | int)
monai/bundle/config_parser.py:113
↓ 1 callersMethod_complete_state_dict_user_keys
This method appends to the _state_dict_user_keys AdversarialTrainer's elements that are required for checkpoint saving. Foll
monai/engines/trainer.py:622
↓ 1 callersMethod_compute
(self)
tests/handlers/test_handler_regression_metrics_dist.py:65
↓ 1 callersMethod_compute
(self)
tests/handlers/test_handler_regression_metrics_dist.py:111
↓ 1 callersMethod_compute
(self)
tests/handlers/test_handler_regression_metrics_dist.py:157
↓ 1 callersMethod_compute
(self)
tests/handlers/test_handler_regression_metrics_dist.py:203
↓ 1 callersMethod_compute
(self)
tests/handlers/test_handler_confusion_matrix_dist.py:30
↓ 1 callersMethod_compute_alpha_generalized_true_positives
Args: flat_target: the target tensor.
monai/losses/dice.py:684
↓ 1 callersMethod_compute_ap
Compute AP metrics Args: dataset_statistics (list[dict[int, dict[str, np.ndarray]]]): list with result s per image (in l
monai/apps/detection/metrics/coco.py:239
↓ 1 callersMethod_compute_ar
Compute AR metrics Args: dataset_statistics (list[dict[int, dict[str, np.ndarray]]]): list with result s per image (in l
monai/apps/detection/metrics/coco.py:286
↓ 1 callersMethod_compute_denominator
Args: alpha: generalised number of true positives of target class. flat_target: the target tensor. wasser
monai/losses/dice.py:666
↓ 1 callersMethod_compute_final_affine
Compute the final affine transformation matrix to apply to the point data. Args: data: Input coordinates assumed to be i
monai/transforms/utility/array.py:1876
↓ 1 callersMethod_compute_list
Execute the metric computation for `y_pred` and `y` in a list of "channel-first" tensors. The return value is a "batch-first" tensor
monai/metrics/metric.py:83
↓ 1 callersMethod_compute_metric
(self, y_pred: torch.Tensor, y: torch.Tensor)
monai/metrics/regression.py:78
↓ 1 callersFunction_compute_op
(op: str, d: np.ndarray)
monai/handlers/utils.py:156
↓ 1 callersFunction_compute_percentile_hausdorff_distance
This function is used to compute the Hausdorff distance.
monai/metrics/hausdorff_distance.py:196
↓ 1 callersFunction_compute_reference_space_affine_matrix
(image, ref_image)
monai/data/itk_torch_bridge.py:279
↓ 1 callersMethod_compute_replacements
Compute expected items for the replacement of next epoch, execute deterministic transforms. It can support multi-threads to accelerat
monai/data/dataset.py:1227
↓ 1 callersMethod_compute_statistics
Compute statistics needed for COCO metrics (mAP, AP of individual classes, mAP@IoU_Thresholds, AR) Adapted from https://github.com/co
monai/apps/detection/metrics/coco.py:402
↓ 1 callersFunction_compute_stats_single_threshold
Compute recall value, precision curve and scores thresholds Adapted from https://github.com/cocodataset/cocoapi/blob/master/PythonAPI/pycocot
monai/apps/detection/metrics/coco.py:488
↓ 1 callersMethod_compute_tensor
Args: y_pred: input data to compute, typical segmentation model output. It must be one-hot format and first dim i
monai/metrics/meaniou.py:64
↓ 1 callersMethod_compute_total_stats
(case_stats_lists, hist_bins, hist_range)
monai/fl/client/monai_algo.py:273
↓ 1 callersMethod_concatenate_tensors
(self, outputs: list[torch.Tensor], split_size: int, padding: int)
monai/apps/generation/maisi/networks/autoencoderkl_maisi.py:204
↓ 1 callersMethod_convert_f_to_c_order
All header fields of a NRRD are specified in `F` (Fortran) order, even if the image was read as C-ordered array. 1D arrays of header[
monai/data/image_reader.py:1597
↓ 1 callersFunction_convert_name_to_index
convert the label name to index
monai/apps/vista3d/transforms.py:37
↓ 1 callersFunction_convert_pt_pad_mode
get the most similar mode of `pad` from ``padding_mode`` of the spatial resampling.
monai/transforms/croppad/functional.py:34
↓ 1 callersFunction_copy_algos_folder
Copies the algorithm templates folder to at_path. Returns a dictionary of algorithm templates.
monai/apps/auto3dseg/bundle_gen.py:452
↓ 1 callersFunction_create_buffered_slices
rearrange slices for buffering
monai/inferers/utils.py:360
← previousnext →1,301–1,400 of 7,906, ranked by callers