id: 1 unit: def initialize() file: community-content/vertex_model_garden/model_oss/peft/handler.py start line: 0 end line: 0 size: 196 LOC McCabe index: 28 number of parameters: 2 id: 2 unit: def initialize() file: community-content/vertex_model_garden/model_oss/diffusers/handler.py start line: 0 end line: 0 size: 106 LOC McCabe index: 14 number of parameters: 2 id: 3 unit: def train_tabular_classification_model_using_all_frameworks_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_all_frameworks_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 106 LOC McCabe index: 5 number of parameters: 0 id: 4 unit: def train_tabular_classification_model_using_all_frameworks_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_all_frameworks_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 106 LOC McCabe index: 5 number of parameters: 0 id: 5 unit: def main() file: community-content/vertex_model_garden/model_oss/tfvision/serving/export_oss_saved_model.py start line: 0 end line: 0 size: 99 LOC McCabe index: 27 number of parameters: 1 id: 6 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 96 LOC McCabe index: 35 number of parameters: 2 id: 7 unit: def main() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_main.py start line: 0 end line: 0 size: 95 LOC McCabe index: 16 number of parameters: 1 id: 8 unit: def train_tabular_regression_model_using_all_frameworks_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_all_frameworks_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 95 LOC McCabe index: 5 number of parameters: 0 id: 9 unit: def train_tabular_regression_model_using_all_frameworks_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_all_frameworks_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 95 LOC McCabe index: 5 number of parameters: 0 id: 10 unit: def main() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 91 LOC McCabe index: 11 number of parameters: 0 id: 11 unit: def add_index() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 89 LOC McCabe index: 28 number of parameters: 11 id: 12 unit: def parse_params() file: community-content/vertex_model_garden/model_oss/tfvision/train_hpt_oss.py start line: 0 end line: 0 size: 80 LOC McCabe index: 34 number of parameters: 0 id: 13 unit: def inference() file: community-content/vertex_model_garden/model_oss/vot/handler.py start line: 0 end line: 0 size: 80 LOC McCabe index: 8 number of parameters: 4 id: 14 unit: def main() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 80 LOC McCabe index: 21 number of parameters: 0 id: 15 unit: def main() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 79 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: def worker() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 79 LOC McCabe index: 8 number of parameters: 2 id: 17 unit: def worker() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 77 LOC McCabe index: 8 number of parameters: 2 id: 18 unit: def parse_dir() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 76 LOC McCabe index: 37 number of parameters: 1 id: 19 unit: def benchmark_qps() file: notebooks/community/vertex_endpoints/optimized_tensorflow_runtime/benchmark.py start line: 0 end line: 0 size: 72 LOC McCabe index: 11 number of parameters: 3 id: 20 unit: def coca() file: community-content/vertex_model_garden/model_oss/tfvision/configs/hub_model.py start line: 0 end line: 0 size: 71 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: def predict_model() file: community-content/vertex_model_garden/model_oss/keras/serve.py start line: 0 end line: 0 size: 69 LOC McCabe index: 10 number of parameters: 0 id: 22 unit: def get_args() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/step_by_step_sdk_tf_agents_bandits_movie_recommendation/src/training/task.py start line: 0 end line: 0 size: 69 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: def hub_model() file: community-content/vertex_model_garden/model_oss/tfvision/configs/hub_model.py start line: 0 end line: 0 size: 68 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: def replace_cl() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 67 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: def main() file: community-content/vertex_model_garden/model_oss/tfvision/train_hpt_oss.py start line: 0 end line: 0 size: 64 LOC McCabe index: 10 number of parameters: 1 id: 26 unit: def main() file: community-content/vertex_model_garden/model_oss/movinet/train.py start line: 0 end line: 0 size: 63 LOC McCabe index: 10 number of parameters: 1 id: 27 unit: def train() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/step_by_step_sdk_tf_agents_bandits_movie_recommendation/src/training/policy_util.py start line: 0 end line: 0 size: 61 LOC McCabe index: 12 number of parameters: 10 id: 28 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/imagebind/handler.py start line: 0 end line: 0 size: 59 LOC McCabe index: 9 number of parameters: 2 id: 29 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/llava/handler.py start line: 0 end line: 0 size: 56 LOC McCabe index: 5 number of parameters: 3 id: 30 unit: def initialize() file: community-content/vertex_model_garden/model_oss/transformers/handler.py start line: 0 end line: 0 size: 56 LOC McCabe index: 13 number of parameters: 2 id: 31 unit: def inference() file: community-content/vertex_model_garden/model_oss/transformers/handler.py start line: 0 end line: 0 size: 56 LOC McCabe index: 13 number of parameters: 4 id: 32 unit: def run_training() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 56 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: def train_tabular_classification_model_using_TensorFlow_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_TensorFlow_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 56 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: def train_tabular_classification_model_using_TensorFlow_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_TensorFlow_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 56 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: def run_training() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 55 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 55 LOC McCabe index: 14 number of parameters: 2 id: 37 unit: def main() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 54 LOC McCabe index: 10 number of parameters: 0 id: 38 unit: def main() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/train_entrypoint.py start line: 0 end line: 0 size: 53 LOC McCabe index: 11 number of parameters: 1 id: 39 unit: def execute_task() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/step_by_step_sdk_tf_agents_bandits_movie_recommendation/src/training/task.py start line: 0 end line: 0 size: 52 LOC McCabe index: 13 number of parameters: 5 id: 40 unit: def create_wds_dataloader() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 50 LOC McCabe index: 5 number of parameters: 3 id: 41 unit: def create_args() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 50 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: def create_wds_dataloader() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 50 LOC McCabe index: 5 number of parameters: 3 id: 43 unit: def create_args() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 50 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: def main() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 49 LOC McCabe index: 12 number of parameters: 0 id: 45 unit: def train() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 48 LOC McCabe index: 14 number of parameters: 9 id: 46 unit: def train_tabular_classification_model_using_XGBoost_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_XGBoost_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 48 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: def train_tabular_regression_model_using_Tensorflow_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_TensorFlow_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 48 LOC McCabe index: 2 number of parameters: 0 id: 48 unit: def train_tabular_classification_model_using_XGBoost_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_XGBoost_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 48 LOC McCabe index: 2 number of parameters: 0 id: 49 unit: def train_tabular_regression_model_using_Tensorflow_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_TensorFlow_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 48 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 48 LOC McCabe index: 4 number of parameters: 3 id: 51 unit: def serve() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 47 LOC McCabe index: 10 number of parameters: 3 id: 52 unit: def train_tabular_classification_model_using_PyTorch_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_PyTorch_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 46 LOC McCabe index: 2 number of parameters: 0 id: 53 unit: def train_tabular_classification_model_using_PyTorch_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_model_using_PyTorch_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 46 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: def predict_model() file: community-content/vertex_model_garden/model_oss/movinet/serving/serving_main.py start line: 0 end line: 0 size: 45 LOC McCabe index: 6 number of parameters: 0 id: 55 unit: def initialize() file: community-content/vertex_model_garden/model_oss/timm/handler.py start line: 0 end line: 0 size: 44 LOC McCabe index: 15 number of parameters: 2 id: 56 unit: def main() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 44 LOC McCabe index: 11 number of parameters: 1 id: 57 unit: def parse_params() file: community-content/vertex_model_garden/model_oss/movinet/train.py start line: 0 end line: 0 size: 43 LOC McCabe index: 13 number of parameters: 0 id: 58 unit: def initialize() file: community-content/vertex_model_garden/model_oss/transformers/biogpt_handler.py start line: 0 end line: 0 size: 41 LOC McCabe index: 7 number of parameters: 2 id: 59 unit: def execute_training_and_save_policy() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/trainer/trainer_component.py start line: 0 end line: 0 size: 41 LOC McCabe index: 3 number of parameters: 7 id: 60 unit: def initialize() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 40 LOC McCabe index: 10 number of parameters: 2 id: 61 unit: def inference() file: community-content/vertex_model_garden/model_oss/diffusers/handler.py start line: 0 end line: 0 size: 40 LOC McCabe index: 12 number of parameters: 4 id: 62 unit: def create_args() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: def create_args() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: def create_args() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: def train_tabular_regression_model_using_XGBoost_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_XGBoost_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 40 LOC McCabe index: 2 number of parameters: 0 id: 66 unit: def train_tabular_regression_model_using_XGBoost_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_XGBoost_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 40 LOC McCabe index: 2 number of parameters: 0 id: 67 unit: def finetune_instruct() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: def parse_args() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 39 LOC McCabe index: 2 number of parameters: 0 id: 69 unit: def prepare_training_dataset() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 70 unit: def initialize() file: community-content/vertex_model_garden/model_oss/open_clip/handler.py start line: 0 end line: 0 size: 38 LOC McCabe index: 8 number of parameters: 2 id: 71 unit: def train_tabular_regression_model_using_PyTorch_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_PyTorch_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 72 unit: def train_tabular_regression_model_using_PyTorch_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_model_using_PyTorch_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: def initialize() file: community-content/vertex_model_garden/model_oss/pic2word/handler.py start line: 0 end line: 0 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 74 unit: def create_args() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 35 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: def train_tabular_classification_logistic_regression_model_using_Scikit_learn_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_logistic_regression_model_using_Scikit_learn_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 35 LOC McCabe index: 2 number of parameters: 0 id: 76 unit: def train_tabular_classification_logistic_regression_model_using_Scikit_learn_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_classification_logistic_regression_model_using_Scikit_learn_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 35 LOC McCabe index: 2 number of parameters: 0 id: 77 unit: def train_step() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 34 LOC McCabe index: 10 number of parameters: 2 id: 78 unit: def initialize() file: community-content/vertex_model_garden/model_oss/vot/handler.py start line: 0 end line: 0 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 79 unit: def append_dataset_to_bigquery() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 34 LOC McCabe index: 4 number of parameters: 5 id: 80 unit: def _rsync_local_to_gcs() file: community-content/vertex_model_garden/model_oss/util/gcs_syncer.py start line: 0 end line: 0 size: 33 LOC McCabe index: 5 number of parameters: 2 id: 81 unit: def load_dataset_into_bigquery() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/generator/generator_component.py start line: 0 end line: 0 size: 33 LOC McCabe index: 4 number of parameters: 5 id: 82 unit: def image_classification_pipeline() file: community-content/pipeline_components/image_ml_model_training/pipeline.py start line: 0 end line: 0 size: 33 LOC McCabe index: 2 number of parameters: 0 id: 83 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 32 LOC McCabe index: 8 number of parameters: 2 id: 84 unit: def get_best_eval_metric() file: community-content/vertex_model_garden/model_oss/tfvision/train_hpt_oss.py start line: 0 end line: 0 size: 32 LOC McCabe index: 8 number of parameters: 2 id: 85 unit: def main() file: community-content/vertex_model_garden/model_oss/peft/train/axolotl/train_entrypoint.py start line: 0 end line: 0 size: 32 LOC McCabe index: 4 number of parameters: 0 id: 86 unit: def get_cluster_spec() file: community-content/vertex_model_garden/model_oss/peft/train/util/cluster_spec.py start line: 0 end line: 0 size: 32 LOC McCabe index: 6 number of parameters: 0 id: 87 unit: def get_quota() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 32 LOC McCabe index: 10 number of parameters: 3 id: 88 unit: def worker() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 32 LOC McCabe index: 6 number of parameters: 2 id: 89 unit: def parse_notebook() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 32 LOC McCabe index: 7 number of parameters: 4 id: 90 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 32 LOC McCabe index: 16 number of parameters: 2 id: 91 unit: def initialize() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 31 LOC McCabe index: 6 number of parameters: 2 id: 92 unit: def worker() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 31 LOC McCabe index: 6 number of parameters: 2 id: 93 unit: def preprocess() file: community-content/cpr-examples/timm_serving/timm_serving/predictor.py start line: 0 end line: 0 size: 30 LOC McCabe index: 7 number of parameters: 3 id: 94 unit: def build_tf_example() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 29 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/pic2word/handler.py start line: 0 end line: 0 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 96 unit: def initialize() file: community-content/vertex_model_garden/model_oss/imagebind/handler.py start line: 0 end line: 0 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 97 unit: def train_tabular_regression_linear_model_using_Scikit_learn_pipeline() file: community-content/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_linear_model_using_Scikit_learn_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 98 unit: def train_tabular_regression_linear_model_using_Scikit_learn_pipeline() file: notebooks/official/pipelines/Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines/Train_tabular_regression_linear_model_using_Scikit_learn_and_import_to_Vertex_AI/pipeline.py start line: 0 end line: 0 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 99 unit: def parse_args() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 100 unit: def parse_args() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 101 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/imagebind/handler.py start line: 0 end line: 0 size: 27 LOC McCabe index: 10 number of parameters: 3 id: 102 unit: def train() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/experiment.py start line: 0 end line: 0 size: 27 LOC McCabe index: 2 number of parameters: 4 id: 103 unit: def train() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/experiment.py start line: 0 end line: 0 size: 27 LOC McCabe index: 2 number of parameters: 4 id: 104 unit: def generate_simulation_data() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/generator/generator_component.py start line: 0 end line: 0 size: 27 LOC McCabe index: 3 number of parameters: 5 id: 105 unit: def load_dataset() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 106 unit: def load_dataset() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 26 LOC McCabe index: 4 number of parameters: 4 id: 107 unit: def preprocess_fn() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: def main() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/merge_causal_language_model_lora.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 109 unit: def _get_multi_node_flags() file: community-content/vertex_model_garden/model_oss/peft/train/axolotl/train_entrypoint.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 110 unit: def pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: def log_prediction_to_bigquery() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 112 unit: def __init__() file: community-content/vertex_model_garden/model_oss/tfvision/serving/image_classification.py start line: 0 end line: 0 size: 25 LOC McCabe index: 2 number of parameters: 11 id: 113 unit: def create_args() file: community-content/pytorch_efficient_training/shard_imagenet.py start line: 0 end line: 0 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: def build_trajectory() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/trainer/trainer_component.py start line: 0 end line: 0 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 115 unit: def write_shards() file: community-content/pytorch_efficient_training/shard_imagenet.py start line: 0 end line: 0 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 116 unit: def parse_args() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 117 unit: def train() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 6 id: 118 unit: def serve() file: community-content/vertex_model_garden/model_oss/tfvision/serving/semantic_segmentation_export_module_lib.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 119 unit: def __init__() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 23 LOC McCabe index: 2 number of parameters: 11 id: 120 unit: def build_example() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/ingester/ingester_component.py start line: 0 end line: 0 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 121 unit: def initialize() file: community-content/pytorch_pre_built_images_deployment/predictor/custom_handler.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 122 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/open_clip/handler.py start line: 0 end line: 0 size: 22 LOC McCabe index: 9 number of parameters: 3 id: 123 unit: def initialize() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/predictor/custom_handler.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 124 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 2 id: 125 unit: def initialize() file: community-content/vertex_model_garden/model_oss/llava/handler.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 126 unit: def save_model() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/utils.py start line: 0 end line: 0 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 127 unit: def save_model() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/utils.py start line: 0 end line: 0 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 128 unit: def _predict() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/prediction_container/main.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 129 unit: def serve() file: community-content/vertex_model_garden/model_oss/tfvision/serving/image_classification.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 130 unit: def cpu_stats() file: community-content/vertex_model_garden/model_oss/peft/train/util/device_stats.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: def format_fn() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 132 unit: def predict() file: community-content/vertex_cpr_samples/torch/predictor_transformers.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 133 unit: def cpu_stats_str() file: community-content/vertex_model_garden/model_oss/peft/train/util/device_stats.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: def simulate() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/simulator/main.py start line: 0 end line: 0 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 135 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 136 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/peft/handler.py start line: 0 end line: 0 size: 18 LOC McCabe index: 10 number of parameters: 2 id: 137 unit: def gpu_stats() file: community-content/vertex_model_garden/model_oss/peft/train/util/device_stats.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 138 unit: def get_prediction_instances() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 139 unit: def predict() file: community-content/vertex_model_garden/model_oss/autogluon/serve.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 140 unit: def merge_tfrecords_func() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 141 unit: def _create_blip_model() file: community-content/vertex_model_garden/model_oss/transformers/handler.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 142 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 18 LOC McCabe index: 8 number of parameters: 2 id: 143 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 144 unit: def preprocess() file: community-content/vertex_cpr_samples/torch/predictor_transformers.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: def export_inference_graph() file: community-content/vertex_model_garden/model_oss/tfvision/serving/export_oss_saved_model_lib.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 146 unit: def inference_steps() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 147 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/peft/handler.py start line: 0 end line: 0 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 148 unit: def get_template() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 149 unit: def download_data() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: def load() file: community-content/vertex_cpr_samples/xgboost/predictor_xgbranker.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 151 unit: def main() file: community-content/vertex_model_garden/model_oss/movinet/serving/serving_main.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 152 unit: def load() file: community-content/cpr-examples/timm_serving/timm_serving/predictor.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 153 unit: def upload_model() file: community-content/cpr-examples/timm_serving/build.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: def fit() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 155 unit: def preprocess_function() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/utils.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 156 unit: def preprocess_function() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/utils.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 157 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 158 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 16 LOC McCabe index: 9 number of parameters: 2 id: 159 unit: def register_dataset() file: community-content/vertex_model_garden/model_oss/detectron2/trainer_utils.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 160 unit: def inference_from_image_bytes_wo_key() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 161 unit: def inference_from_image_bytes() file: community-content/vertex_model_garden/model_oss/tfvision/serving/image_classification.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 162 unit: def detectron_json_to_image_rows() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 163 unit: def main() file: community-content/cpr-examples/timm_serving/build.py start line: 0 end line: 0 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 164 unit: def __init__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 165 unit: def train() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: def get_trajectory_from_environment() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 167 unit: def report_error() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 3 id: 168 unit: def build_model() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: def __init__() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 170 unit: def get_config() file: community-content/vertex_model_garden/model_oss/jax_vision_transformer/vit_config_without_data.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: def format_fn() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 172 unit: def main() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: def build_tf_example() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_icn_lib.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 174 unit: def download_gcs_dir() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 175 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 176 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/diffusers/handler.py start line: 0 end line: 0 size: 14 LOC McCabe index: 6 number of parameters: 2 id: 177 unit: def run() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/experiment.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 178 unit: def run() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/experiment.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 179 unit: def build_dict_from_trajectory() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 180 unit: def build_dict_from_trajectory() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/generator/generator_component.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: def _message_logger_via_pubsub() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/prediction_container/main.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 6 id: 182 unit: def preprocess() file: community-content/pytorch_pre_built_images_deployment/predictor/custom_handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 183 unit: def download_data() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 184 unit: def __init__() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 6 id: 185 unit: def _get_accelerate_args() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/train_entrypoint.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 186 unit: def _validate_eval_metrics() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 2 id: 187 unit: def get_model_id() file: community-content/vertex_model_garden/model_oss/llava/model_handler_setup.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 188 unit: def get_jpeg_bytes() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 189 unit: def _is_operation_done() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 190 unit: def run_beam_pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 191 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/open_clip/handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 192 unit: def _reformat_detection_result() file: community-content/vertex_model_garden/model_oss/transformers/handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 193 unit: def preprocess() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/predictor/custom_handler.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 194 unit: def write_trajectories_to_file() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 195 unit: def replace_backtick() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 196 unit: def setup() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 197 unit: def build_model() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 198 unit: def _validate_metric_for_best_model() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 199 unit: def main() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/validate_dataset_with_template.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: def process() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 201 unit: def evaluate() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 202 unit: def __init__() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 203 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 204 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 12 LOC McCabe index: 9 number of parameters: 3 id: 205 unit: def get_config() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: def load_model() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: def format_ml_use_column() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: def inference() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 4 id: 209 unit: def train() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 210 unit: def evaluate() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 211 unit: def train() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 212 unit: def evaluate() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 213 unit: def train() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 214 unit: def evaluate() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 215 unit: def train() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 216 unit: def evaluate() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 217 unit: def get_env_vars() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: def generate_movielens_dataset_for_bigquery() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/generator/generator_component.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: def main() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/step_by_step_sdk_tf_agents_bandits_movie_recommendation/src/training/task.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 220 unit: def build_model() file: notebooks/community/persistent_resource/training_code/mpg_container/trainer/train.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 221 unit: def report_fix() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 222 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 223 unit: def load() file: community-content/vertex_cpr_samples/torch/predictor_transformers.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 224 unit: def load() file: community-content/vertex_cpr_samples/torch/predictor_resnet.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 225 unit: def load() file: community-content/vertex_cpr_samples/xgboost/predictor_Classifier.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 226 unit: def get_distribution_mirrored_strategy() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 227 unit: def download_gcs_file() file: community-content/vertex_model_garden/model_oss/timm/handler.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 228 unit: def load_label_map_to_string_list() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 229 unit: def print_library_versions() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 230 unit: def prepare_dataset() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 231 unit: def get_timestep_embedding() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 232 unit: def _github_template_path() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: def validate_dataset_with_template() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: def download_video_from_gcs_to_local() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: def pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: def drop_rows_without_bbox() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 237 unit: def load_cache_from() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 238 unit: def wds_split() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 3 id: 239 unit: def wds_split() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 3 id: 240 unit: def train() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 241 unit: def evaluate() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 242 unit: def train() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 243 unit: def evaluate() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 244 unit: def get_args() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/task.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 245 unit: def get_args() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/task.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: def write_replay_buffer_to_file() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/generator/generator_component.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 247 unit: def read_data_from_bigquery() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/ingester/ingester_component.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 248 unit: def customjob() file: community-content/vertex_pipeline_kfpv2/customjob.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: def batch_predict() file: community-content/vertex_pipeline_kfpv2/batch_prediction.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 250 unit: def load() file: community-content/vertex_cpr_samples/sklearn/predictor_SGDClassifier.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 251 unit: def download_dataset_from_url() file: community-content/sklearn_text_classification_from_script_using_vertex_sdk/task.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 253 unit: def inference() file: community-content/vertex_model_garden/model_oss/pic2word/handler.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 254 unit: def re_normalize() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 255 unit: def _generate_class_text_output() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 256 unit: def _get_llama_3_1_405b_modules_to_not_convert() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 257 unit: def handle() file: community-content/vertex_model_garden/model_oss/llava/handler.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 258 unit: def draw_bounding_box_on_image() file: community-content/vertex_model_garden/model_oss/vot/visualization_utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: def download_gcs_file_to_local() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 260 unit: def get_deploy_source() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 261 unit: def download_gcs_file_to_local() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 262 unit: def main() file: community-content/vertex_model_garden/model_oss/data_converter/convert_coco_label_map_iod.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 263 unit: def inference() file: community-content/vertex_model_garden/model_oss/transformers/biogpt_handler.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 264 unit: def load_frames() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 265 unit: def get_env_vars() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/simulator/main.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: def pipeline_prediction() file: community-content/vertex_pipeline_kfpv2/async_prediction.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: def load() file: community-content/vertex_cpr_samples/sklearn/predictor_Classifier.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 268 unit: def load() file: community-content/vertex_cpr_samples/sklearn/predictor_LinearRegression.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 269 unit: def export_model_to_gcs() file: community-content/sklearn_text_classification_from_script_using_vertex_sdk/task.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 270 unit: def create_yolov7_export_module() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 271 unit: def __init__() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/callbacks.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 272 unit: def get_dataset_stats() file: community-content/vertex_model_garden/model_oss/peft/train/util/dataset_stats.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 273 unit: def gpu_stats_str() file: community-content/vertex_model_garden/model_oss/peft/train/util/device_stats.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 274 unit: def run_cmd() file: community-content/vertex_model_garden/model_oss/peft/train/util/common_util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: def __init__() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 276 unit: def draw_boxes() file: community-content/vertex_model_garden/model_oss/vot/visualization_utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 277 unit: def image_grid() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 278 unit: def check_quota() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 279 unit: def _get_relative_paths() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 280 unit: def __init__() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 281 unit: def __init__() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 282 unit: def _define_data_conversion_pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: def pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: def pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_icn_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 285 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/diffusers/handler.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 286 unit: def __init__() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 287 unit: def _sample_frame_indices() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: def get_prediction() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: def parse_request() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 290 unit: def build_container() file: community-content/cpr-examples/timm_serving/build.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 291 unit: def main() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 292 unit: def __init__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 293 unit: def replace_observation_in_time_step() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 294 unit: def train_reinforcement_learning_policy() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/trainer/trainer_component.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 295 unit: def get() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: def convert_to_base64() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/convert_b64.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 297 unit: def load_dataset() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 298 unit: def __init__() file: community-content/vertex_model_garden/model_oss/pic2word/handler.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: def handle() file: community-content/vertex_model_garden/model_oss/pic2word/handler.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 300 unit: def change_handle() file: community-content/vertex_model_garden/model_oss/tfvision/serving/export_oss_saved_model.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 301 unit: def check_input_masking() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 302 unit: def on_log() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/callbacks.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 303 unit: def get_map_location() file: community-content/vertex_model_garden/model_oss/llava/model_handler_setup.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 304 unit: def get_model_device() file: community-content/vertex_model_garden/model_oss/llava/model_handler_setup.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 305 unit: def overlay_tracking_results() file: community-content/vertex_model_garden/model_oss/vot/visualization_utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: def vqa_predict() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 307 unit: def caption_predict() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 308 unit: def force_gcs_fuse_path() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 309 unit: def force_gcs_path() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 310 unit: def download_gcs_file_to_memory() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: def download_gcs_file_to_local_dir() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 312 unit: def get_trial_id_from_environment() file: community-content/vertex_model_garden/model_oss/util/hypertune_utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 313 unit: def start_bundle() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 314 unit: def drop_invalid_rows() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 315 unit: def check_split_ratio() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 316 unit: def encode_video() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 317 unit: def partition_by_ml_use() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 318 unit: def main() file: community-content/vertex_model_garden/model_oss/data_converter/convert_imagenet_label_map.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: def to_json_obj() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: def load_movinet_model() file: community-content/vertex_model_garden/model_oss/movinet/serving/serving_main.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 321 unit: def save_model_artifact() file: community-content/cpr-examples/timm_serving/build.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 322 unit: def deploy_model() file: community-content/cpr-examples/timm_serving/build.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 323 unit: def main() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 324 unit: def main() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 325 unit: def __init__() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 326 unit: def _make_dataset() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 327 unit: def __init__() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 328 unit: def _make_dataset() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 329 unit: def main() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 330 unit: def __init__() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 331 unit: def _make_dataset() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 332 unit: def main() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 333 unit: def __init__() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 334 unit: def _make_dataset() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 335 unit: def load_data() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 336 unit: def load_data() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/utils.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 337 unit: def write_tfrecords() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/ingester/ingester_component.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 338 unit: def benchmark() file: notebooks/community/vertex_endpoints/optimized_tensorflow_runtime/benchmark.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 339 unit: def peek() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 340 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 341 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 342 unit: def load_model() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 343 unit: def inference() file: community-content/pytorch_pre_built_images_deployment/predictor/custom_handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 344 unit: def get_strategy() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: def write_filepath() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 346 unit: def train() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 347 unit: def pipelineJob() file: community-content/vertex_pipeline_kfpv2/pipelinejob.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 348 unit: def deploy_model() file: community-content/vertex_pipeline_kfpv2/deploy-model.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 349 unit: def pipeline_deploy_model() file: community-content/vertex_pipeline_kfpv2/deploy-model.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: def download_gcs_file() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 351 unit: def __init__() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 352 unit: def handle() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 353 unit: def handle() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 354 unit: def create_trainer() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/eval_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 355 unit: def _merge_causal_language_model_with_lora_internal() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 356 unit: def merge_causal_language_model_with_lora() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 357 unit: def on_step_end() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/callbacks.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 358 unit: def on_train_begin() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/callbacks.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 359 unit: def on_train_end() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/callbacks.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 360 unit: def run_text_encoder() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 361 unit: def prepare_dict() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 362 unit: def sample_from_encoder_outputs() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 363 unit: def validate_json_key() file: community-content/vertex_model_garden/model_oss/keras/serve.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 364 unit: def load_dataset_with_template() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 365 unit: def ocr_predict() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 366 unit: def detect_predict() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 367 unit: def __init__() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 368 unit: def download_gcs_dir_to_local() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 369 unit: def get_output_video_file() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 370 unit: def build_tf_example() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 371 unit: def _convert_df_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 372 unit: def convert_csv_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 373 unit: def convert_jsonl_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 374 unit: def insert_missing_ml_use() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: def beam_convert_tfexamples() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 376 unit: def beam_build_tfrecord_from_coco_json() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: def _get_sliding_windows() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 378 unit: def __init__() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 379 unit: def on_evaluate() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/experiment.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 380 unit: def create() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/model.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 381 unit: def on_evaluate() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/experiment.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 382 unit: def create() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/model.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 383 unit: def inference() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/predictor/custom_handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 384 unit: def pop() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 385 unit: def makedirs() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/trainer/task.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 386 unit: def _get_temp_dir() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 387 unit: def evaluate_model() file: community-content/vertex_pipeline_kfpv2/evaluate-model.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 388 unit: def pipeline_batch_predict() file: community-content/vertex_pipeline_kfpv2/batch_prediction.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 389 unit: def pipeline_run_jobs() file: community-content/vertex_pipeline_kfpv2/pipelinejob.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 390 unit: def run_experiment() file: community-content/vertex_pipeline_kfpv2/run-experiment.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 391 unit: def export_evaluation_report_to_gcs() file: community-content/sklearn_text_classification_from_script_using_vertex_sdk/task.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 392 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/pic2word/handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 393 unit: def build_hub_model() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 394 unit: def _generate_label_map_list() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 395 unit: def _read_label() file: community-content/vertex_model_garden/model_oss/tfvision/serving/image_classification.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 396 unit: def _cleanup_text() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/eval_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 397 unit: def convert_model_to_fp8() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 398 unit: def process_image() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 399 unit: def error() file: community-content/vertex_model_garden/model_oss/keras/serve.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 400 unit: def check_key_in_json() file: community-content/vertex_model_garden/model_oss/keras/serve.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 401 unit: def handle() file: community-content/vertex_model_garden/model_oss/vot/handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 402 unit: def force_gcs_fuse_path() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 403 unit: def get_filtered_dataset() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 404 unit: def format_dataset() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 405 unit: def gcs_fuse_path() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 406 unit: def create_job_name() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 407 unit: def image_to_base64() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 408 unit: def resize_image() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 409 unit: def get_resource_id() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 410 unit: def image_to_base64() file: community-content/vertex_model_garden/model_oss/util/image_format_converter.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 411 unit: def _get_gcs_client() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 412 unit: def compare_dirs() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 413 unit: def upload_video_from_local_to_gcs() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 414 unit: def get_prediction_instances() file: community-content/vertex_model_garden/model_oss/util/commons.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 415 unit: def merge_boxes_and_classes() file: community-content/vertex_model_garden/model_oss/util/commons.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 416 unit: def maybe_append_trial_id() file: community-content/vertex_model_garden/model_oss/util/hypertune_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 417 unit: def _load_and_transform_image_data() file: community-content/vertex_model_garden/model_oss/imagebind/handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 418 unit: def _run_convert_pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 419 unit: def __init__() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 420 unit: def finish_bundle() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 421 unit: def check_num_shard() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 422 unit: def convert_imagenet_label_map_from_text_to_yaml() file: community-content/vertex_model_garden/model_oss/data_converter/convert_imagenet_label_map.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 423 unit: def _convert_df_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 424 unit: def convert_csv_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 425 unit: def convert_coco_json_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 426 unit: def convert_jsonl_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 427 unit: def _convert_df_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_icn_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 428 unit: def convert_csv_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_icn_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 429 unit: def convert_jsonl_to_tfrecord() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_icn_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 430 unit: def _image_to_base64() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 431 unit: def handle() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 432 unit: def frames_to_video_bytes() file: community-content/vertex_model_garden/model_oss/diffusers/handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 433 unit: def postprocess_var() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 434 unit: def error() file: community-content/vertex_model_garden/model_oss/movinet/serving/serving_main.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 435 unit: def probe_prediction() file: community-content/cpr-examples/timm_serving/build.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 436 unit: def _loader() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 437 unit: def main() file: community-content/pytorch_efficient_training/resnet.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 438 unit: def _loader() file: community-content/pytorch_efficient_training/resnet_fsdp.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 439 unit: def _loader() file: community-content/pytorch_efficient_training/resnet_ddp.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 440 unit: def _loader() file: community-content/pytorch_efficient_training/resnet_dp.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 441 unit: def makedirs() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 442 unit: def distributed_is_initialized() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 443 unit: def update() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 444 unit: def __init__() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/experiment.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 445 unit: def __init__() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/experiment.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 446 unit: def ingest_bigquery_dataset_into_tfrecord() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/ingester/ingester_component.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 447 unit: def _bytes_feature() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/ingester/ingester_component.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 448 unit: def parse_args() file: notebooks/community/persistent_resource/training_code/mpg_container/trainer/train.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 449 unit: def path() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 450 unit: def num_errors() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 451 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 452 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 453 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 454 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 455 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 456 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 457 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 458 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 459 unit: def validate() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 460 unit: def pipeline_customjob() file: community-content/vertex_pipeline_kfpv2/customjob.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 461 unit: def create_endpoint() file: community-content/vertex_pipeline_kfpv2/create-endpoint.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 462 unit: def train_model() file: community-content/vertex_pipeline_kfpv2/train-model.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 463 unit: def get_string_labels() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 464 unit: def predict() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 465 unit: def wait_for_evaluation_file() file: community-content/vertex_model_garden/model_oss/tfvision/train_hpt_oss.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 466 unit: def from_config() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 467 unit: def inference_from_image_bytes() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 468 unit: def launch_script_cmd() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/train_entrypoint.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 469 unit: def check_example_packing() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 470 unit: def download_gcs_uri_to_local() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 471 unit: def _format_template_fn() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 472 unit: def _get_split_string() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 473 unit: def _get_dataset() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 474 unit: def load_tokenizer() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 475 unit: def get_job_name_with_datetime() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: def display_image() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 477 unit: def load_img() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 478 unit: def get_label_map() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 479 unit: def copy_model_artifacts() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 480 unit: def to_dict() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 481 unit: def is_gcs_path() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 482 unit: def get_label_map() file: community-content/vertex_model_garden/model_oss/util/commons.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: def get_object_detection_endpoint_predictions() file: community-content/vertex_model_garden/model_oss/util/commons.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 484 unit: def is_gcs_or_gcsfuse_path() file: community-content/vertex_model_garden/model_oss/util/gcs_syncer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: def setup_gcs_rsync() file: community-content/vertex_model_garden/model_oss/util/gcs_syncer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 486 unit: def start_gcs_rsync() file: community-content/vertex_model_garden/model_oss/util/gcs_syncer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 487 unit: def create_label_map_yaml() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 488 unit: def encode_image() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 489 unit: def build_tf_example() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 490 unit: def _image_info_to_segmentation_image() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 491 unit: def get_input_rows() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 492 unit: def _run_convert_pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 493 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/transformers/handler.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 494 unit: def predict() file: community-content/cpr-examples/timm_serving/timm_serving/predictor.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 495 unit: def compute_metrics() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/experiment.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 496 unit: def main() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/custom_container/trainer/task.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 497 unit: def compute_metrics() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/experiment.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 498 unit: def main() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/python_package/trainer/task.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 499 unit: def train_policy_on_trajectory() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/trainer/trainer_component.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: def __init__() file: community-content/pytorch_pre_built_images_deployment/predictor/custom_handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: def get_default_strategy() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 502 unit: def clean_up() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 503 unit: def async_predict() file: community-content/vertex_pipeline_kfpv2/async_prediction.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 504 unit: def preprocess() file: community-content/vertex_cpr_samples/torch/predictor_resnet.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 505 unit: def preprocess() file: community-content/vertex_cpr_samples/xgboost/predictor_Classifier.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 506 unit: def preprocess() file: community-content/vertex_cpr_samples/xgboost/predictor_xgbranker.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 507 unit: def preprocess() file: community-content/vertex_cpr_samples/sklearn/predictor_Classifier.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 508 unit: def preprocess() file: community-content/vertex_cpr_samples/sklearn/predictor_SGDClassifier.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: def preprocess() file: community-content/vertex_cpr_samples/sklearn/predictor_LinearRegression.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 510 unit: def get_default_strategy() file: community-content/tf_keras_text_classification_distributed_single_worker_gpus_with_gcloud_local_run_and_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 511 unit: def get_bucket_and_blob_name() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 512 unit: def inference() file: community-content/vertex_model_garden/model_oss/detectron2/handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 513 unit: def _format_text_generation_output() file: community-content/vertex_model_garden/model_oss/peft/handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 514 unit: def _calculate_hf_eval_metrics() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 515 unit: def create_compute_metrics() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/eval_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 516 unit: def force_gc() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 517 unit: def serve_main() file: community-content/vertex_model_garden/model_oss/keras/serve.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 518 unit: def base64_to_image() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: def download_image() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 520 unit: def __init__() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 521 unit: def base64_to_image() file: community-content/vertex_model_garden/model_oss/util/image_format_converter.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: def upload_local_dir_to_gcs() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 523 unit: def upload_file_to_gcs_path() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 524 unit: def delete_local_file() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 525 unit: def delete_local_dir() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 526 unit: def convert_to_feature() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 527 unit: def create_ml_use_array_with_split() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 528 unit: def replace_unassigned_ml_use() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 529 unit: def write_label_map() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 530 unit: def process() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_isg_lib.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 531 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/transformers/biogpt_handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 532 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/transformers/biogpt_handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 533 unit: def _base64_to_image() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 534 unit: def save() file: community-content/cpr-examples/timm_serving/config.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: def load() file: community-content/cpr-examples/timm_serving/config.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 536 unit: def main() file: community-content/pytorch_efficient_training/shard_imagenet.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 537 unit: def __init__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: def update() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 539 unit: def __init__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: def __init__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 541 unit: def save() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 542 unit: def __init__() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/predictor/custom_handler.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: def _startup_event() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/prediction_container/main.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 544 unit: def writeback() file: notebooks/notebook_template_review.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 545 unit: def __init__() file: community-content/pytorch_image_classification_single_gpu_with_vertex_sdk_and_torchserve/model_server/model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: def postprocess() file: community-content/pytorch_pre_built_images_deployment/predictor/custom_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 547 unit: def get_distribution_multiworkermirrored_strategy() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 548 unit: def _is_chief() file: community-content/tf_keras_image_classification_distributed_multi_worker_with_vertex_sdk/trainer/distribution_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 4 number of parameters: 2 id: 549 unit: def pipeline_evaluation() file: community-content/vertex_pipeline_kfpv2/evaluate-model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 550 unit: def pipeline_create_endpoint() file: community-content/vertex_pipeline_kfpv2/create-endpoint.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 551 unit: def pipeline_train_model() file: community-content/vertex_pipeline_kfpv2/train-model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 552 unit: def delete_endpoint() file: community-content/vertex_pipeline_kfpv2/deploy-model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 553 unit: def pipeline_run_experiment() file: community-content/vertex_pipeline_kfpv2/run-experiment.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 554 unit: def __init__() file: community-content/vertex_cpr_samples/torch/predictor_transformers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: def postprocess() file: community-content/vertex_cpr_samples/torch/predictor_transformers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 556 unit: def __init__() file: community-content/vertex_cpr_samples/torch/predictor_resnet.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 557 unit: def predict() file: community-content/vertex_cpr_samples/torch/predictor_resnet.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 558 unit: def postprocess() file: community-content/vertex_cpr_samples/torch/predictor_resnet.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 559 unit: def __init__() file: community-content/vertex_cpr_samples/xgboost/predictor_Classifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 560 unit: def predict() file: community-content/vertex_cpr_samples/xgboost/predictor_Classifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 561 unit: def postprocess() file: community-content/vertex_cpr_samples/xgboost/predictor_Classifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 562 unit: def __init__() file: community-content/vertex_cpr_samples/xgboost/predictor_xgbranker.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: def predict() file: community-content/vertex_cpr_samples/xgboost/predictor_xgbranker.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 564 unit: def postprocess() file: community-content/vertex_cpr_samples/xgboost/predictor_xgbranker.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 565 unit: def __init__() file: community-content/vertex_cpr_samples/sklearn/predictor_Classifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: def predict() file: community-content/vertex_cpr_samples/sklearn/predictor_Classifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 567 unit: def postprocess() file: community-content/vertex_cpr_samples/sklearn/predictor_Classifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 568 unit: def __init__() file: community-content/vertex_cpr_samples/sklearn/predictor_SGDClassifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 569 unit: def predict() file: community-content/vertex_cpr_samples/sklearn/predictor_SGDClassifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 570 unit: def postprocess() file: community-content/vertex_cpr_samples/sklearn/predictor_SGDClassifier.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 571 unit: def __init__() file: community-content/vertex_cpr_samples/sklearn/predictor_LinearRegression.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: def predict() file: community-content/vertex_cpr_samples/sklearn/predictor_LinearRegression.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 573 unit: def postprocess() file: community-content/vertex_cpr_samples/sklearn/predictor_LinearRegression.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 574 unit: def extend_parser_arguments() file: community-content/vertex_model_garden/model_oss/detectron2/trainer_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 575 unit: def reg_loss() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 576 unit: def output_specs() file: community-content/vertex_model_garden/model_oss/tfvision/modeling/backbones/hub_model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 577 unit: def get_best_oss_trial() file: community-content/vertex_model_garden/model_oss/tfvision/serving/export_oss_saved_model_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 578 unit: def get_best_hpt_trials() file: community-content/vertex_model_garden/model_oss/tfvision/serving/export_oss_saved_model.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 579 unit: def get_inference_signatures() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 580 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 581 unit: def serve() file: community-content/vertex_model_garden/model_oss/tfvision/serving/detection.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 582 unit: def inference_from_image_tensors() file: community-content/vertex_model_garden/model_oss/tfvision/serving/image_classification.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 583 unit: def get_inference_signatures() file: community-content/vertex_model_garden/model_oss/tfvision/serving/image_classification.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 584 unit: def inference() file: community-content/vertex_model_garden/model_oss/peft/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 585 unit: def _append_args_to_command_in_place() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/train_entrypoint.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 586 unit: def _get_train_and_maybe_merge_cmd_and_dirs_to_sync() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/train_entrypoint.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 587 unit: def _get_merge_cmd_and_dirs_to_sync() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/train_entrypoint.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 588 unit: def check_merge_lora_model_flags() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/merge_causal_language_model_lora.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 589 unit: def find_all_linear_names() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/instruct_lora.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 590 unit: def _preprocess_data() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/eval_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 591 unit: def _compute_metrics_with_tokenizer() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/eval_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 592 unit: def preprocess_logits_for_metrics() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/eval_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 593 unit: def init_partial_state() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: def get_final_checkpoint_path() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: def _maybe_get_modules_to_not_convert_by_model_id() file: community-content/vertex_model_garden/model_oss/peft/train/vmg/utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 596 unit: def calc_histogram() file: community-content/vertex_model_garden/model_oss/peft/train/util/dataset_stats.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 597 unit: def __iter__() file: community-content/vertex_model_garden/model_oss/peft/train/util/cluster_spec.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: def __iter__() file: community-content/vertex_model_garden/model_oss/peft/train/util/device_stats.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: def inference() file: community-content/vertex_model_garden/model_oss/llava/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 600 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/llava/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 601 unit: def apply_augmentation() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 602 unit: def save_weights() file: community-content/vertex_model_garden/model_oss/keras/train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 603 unit: def ping() file: community-content/vertex_model_garden/model_oss/keras/serve.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 604 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/vot/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 605 unit: def postprocess() file: community-content/vertex_model_garden/model_oss/vot/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 606 unit: def is_gcs_path() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 607 unit: def get_response_separator() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 608 unit: def get_instruction_separator() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 609 unit: def should_add_pad_token() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 610 unit: def should_add_eos_token() file: community-content/vertex_model_garden/model_oss/notebook_util/dataset_validation_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 611 unit: def convert_numpy_array_to_byte_string_via_tf_tensor() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 612 unit: def save_subset_annotation() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 613 unit: def decode_image() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: def poll_and_wait() file: community-content/vertex_model_garden/model_oss/notebook_util/common_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 615 unit: def __init__() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 616 unit: def __init__() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 617 unit: def parse_args() file: community-content/vertex_model_garden/model_oss/autogluon/train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 618 unit: def ping() file: community-content/vertex_model_garden/model_oss/autogluon/serve.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 619 unit: def generate_tmp_path() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 620 unit: def is_file_available() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 621 unit: def download_gcs_file_list_to_local() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 622 unit: def _upload_local_files_to_gcs() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 623 unit: def release_text_assets() file: community-content/vertex_model_garden/model_oss/util/fileutils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 624 unit: def convert_list_to_label_map() file: community-content/vertex_model_garden/model_oss/util/commons.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 625 unit: def manage_sync_path() file: community-content/vertex_model_garden/model_oss/util/gcs_syncer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 626 unit: def cleanup_gcs_rsync() file: community-content/vertex_model_garden/model_oss/util/gcs_syncer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 627 unit: def inference() file: community-content/vertex_model_garden/model_oss/imagebind/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 628 unit: def process() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_vcn_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 629 unit: def convert_coco_label_map_91() file: community-content/vertex_model_garden/model_oss/data_converter/convert_coco_label_map_iod.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 630 unit: def convert_coco_label_map_80() file: community-content/vertex_model_garden/model_oss/data_converter/convert_coco_label_map_iod.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 631 unit: def convert_to_string_feature() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 632 unit: def convert_to_list_string_feature() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 633 unit: def merge_seq_into_dicts() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: def reformat_bbox() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 635 unit: def create_label_map() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 636 unit: def coco_json_to_image_rows() file: community-content/vertex_model_garden/model_oss/data_converter/common_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 637 unit: def _condense_bounding_boxes() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 638 unit: def convert_coco_json_categories_to_label_map() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_iod_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 639 unit: def _run_convert_pipeline() file: community-content/vertex_model_garden/model_oss/data_converter/data_converter_icn_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 640 unit: def _biomedclip_inference() file: community-content/vertex_model_garden/model_oss/open_clip/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 641 unit: def inference() file: community-content/vertex_model_garden/model_oss/open_clip/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 642 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/transformers/handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 643 unit: def is_gcs_path() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 644 unit: def preprocess() file: community-content/vertex_model_garden/model_oss/transformers/sam_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 645 unit: def create_detection_output() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 646 unit: def clear_frame_data() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 647 unit: def __len__() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 648 unit: def middle_timestamp() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 649 unit: def _read_frames_from_window() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 650 unit: def _predict() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 651 unit: def postprocess_vcn() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 652 unit: def temporal_nonmaximal_suppression() file: community-content/vertex_model_garden/model_oss/movinet/serving/video_serving_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 653 unit: def ping() file: community-content/vertex_model_garden/model_oss/movinet/serving/serving_main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 654 unit: def __init__() file: community-content/cpr-examples/timm_serving/timm_serving/predictor.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 655 unit: def postprocess() file: community-content/cpr-examples/timm_serving/timm_serving/predictor.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 656 unit: def identity() file: community-content/pytorch_efficient_training/resnet_fsdp_wds.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 657 unit: def identity() file: community-content/pytorch_efficient_training/resnet_ddp_wds.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 658 unit: def __str__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 659 unit: def average() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 660 unit: def __str__() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 661 unit: def accuracy() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 662 unit: def forward() file: community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer/task.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 663 unit: def postprocess() file: community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud/predictor/custom_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 664 unit: def _health() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/prediction_container/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 665 unit: def health() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/prediction_container/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 666 unit: def _parse_record() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/trainer/trainer_component.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 667 unit: def health() file: community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/step_by_step_sdk_tf_agents_bandits_movie_recommendation/src/prediction/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 668 unit: def norm() file: notebooks/community/persistent_resource/training_code/mpg_container/trainer/train.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 669 unit: def generate_uuid() file: notebooks/community/ml_ops/setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 670 unit: def get_train_test_data() file: community-content/sklearn_text_classification_from_script_using_vertex_sdk/task.py start line: 0 end line: 0 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 671 unit: def train_and_score() file: community-content/sklearn_text_classification_from_script_using_vertex_sdk/task.py start line: 0 end line: 0 size: 1 LOC McCabe index: 1 number of parameters: 0