Coverage report: 73%

Files Functions Classes

coverage.py v7.6.7, created at 2024-11-19 09:02 +0000

File function statements missing excluded coverage
bioimageio/core/__init__.py (no function) 22 0 0 100%
bioimageio/core/__main__.py main 2 0 0 100%
bioimageio/core/__main__.py (no function) 4 1 0 75%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin._binary_op 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__add__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__sub__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__mul__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__pow__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__truediv__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__floordiv__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__mod__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__and__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__xor__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__or__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__lshift__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rshift__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__lt__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__le__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__gt__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ge__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__eq__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ne__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__radd__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rsub__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rmul__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rpow__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rtruediv__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rfloordiv__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rmod__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rand__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__rxor__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ror__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin._inplace_binary_op 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__iadd__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__isub__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__imul__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ipow__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__itruediv__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ifloordiv__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__imod__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__iand__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ixor__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ior__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__ilshift__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__irshift__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin._unary_op 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__neg__ 1 0 0 100%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__pos__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__abs__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.__invert__ 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.round 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.argsort 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.conj 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin.conjugate 1 1 0 0%
bioimageio/core/_magic_tensor_ops.py (no function) 103 0 0 100%
bioimageio/core/_op_base.py Operator.__call__ 1 0 0 100%
bioimageio/core/_op_base.py Operator.required_measures 1 0 0 100%
bioimageio/core/_op_base.py BlockedOperator.__call__ 0 0 0 100%
bioimageio/core/_op_base.py BlockedOperator.required_measures 1 0 0 100%
bioimageio/core/_op_base.py (no function) 16 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.__init__ 18 1 0 94%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.__enter__ 2 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.__exit__ 2 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.predict_sample_block 10 2 0 80%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.predict_sample_without_blocking 6 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.get_output_sample_id 2 2 0 0%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.predict_sample_with_fixed_blocking 11 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.predict_sample_with_blocking 7 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.apply_preprocessing 2 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.apply_postprocessing 6 3 0 50%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.load 1 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline.unload 1 0 0 100%
bioimageio/core/_prediction_pipeline.py create_prediction_pipeline 9 1 0 89%
bioimageio/core/_prediction_pipeline.py create_prediction_pipeline.dataset 5 3 0 40%
bioimageio/core/_prediction_pipeline.py (no function) 32 0 1 100%
bioimageio/core/_resource_tests.py enable_determinism 35 15 0 57%
bioimageio/core/_resource_tests.py test_model 1 0 0 100%
bioimageio/core/_resource_tests.py test_description 2 0 0 100%
bioimageio/core/_resource_tests.py load_description_and_test 27 3 0 89%
bioimageio/core/_resource_tests.py _test_model_inference 25 9 0 64%
bioimageio/core/_resource_tests.py _test_model_inference_parametrized 40 15 0 62%
bioimageio/core/_resource_tests.py _test_model_inference_parametrized.generate_test_cases 11 1 0 91%
bioimageio/core/_resource_tests.py _test_model_inference_parametrized.generate_test_cases.get_ns 1 0 0 100%
bioimageio/core/_resource_tests.py _test_expected_resource_type 2 0 0 100%
bioimageio/core/_resource_tests.py (no function) 25 0 0 100%
bioimageio/core/_settings.py (no function) 10 0 0 100%
bioimageio/core/axis.py _get_axis_type 11 3 0 73%
bioimageio/core/axis.py Axis.create 8 2 1 75%
bioimageio/core/axis.py AxisInfo.create 19 6 1 68%
bioimageio/core/axis.py (no function) 24 0 0 100%
bioimageio/core/block.py Block.inner_data 1 0 0 100%
bioimageio/core/block.py Block.__post_init__ 6 0 0 100%
bioimageio/core/block.py Block.from_sample_member 1 0 0 100%
bioimageio/core/block.py Block.get_transformed 1 1 0 0%
bioimageio/core/block.py Block.from_meta 1 0 0 100%
bioimageio/core/block.py split_tensor_into_blocks 2 2 0 0%
bioimageio/core/block.py _block_generator 2 2 0 0%
bioimageio/core/block.py (no function) 21 0 0 100%
bioimageio/core/block_meta.py LinearAxisTransform.compute 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta.shape 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta.padding 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta.outer_slice 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta.inner_shape 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta.local_slice 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta.dims 1 1 0 0%
bioimageio/core/block_meta.py BlockMeta.tagged_shape 1 1 0 0%
bioimageio/core/block_meta.py BlockMeta.inner_slice_wo_overlap 1 1 0 0%
bioimageio/core/block_meta.py BlockMeta.__post_init__ 10 1 0 90%
bioimageio/core/block_meta.py BlockMeta.get_transformed 1 1 0 0%
bioimageio/core/block_meta.py split_shape_into_blocks 15 1 0 93%
bioimageio/core/block_meta.py _block_meta_generator 5 0 0 100%
bioimageio/core/block_meta.py split_multiple_shapes_into_blocks 27 8 0 70%
bioimageio/core/block_meta.py _aligned_blocks_generator 3 0 0 100%
bioimageio/core/block_meta.py _repeat_single_block 6 6 0 0%
bioimageio/core/block_meta.py (no function) 50 0 0 100%
bioimageio/core/cli.py WithSource.descr 1 0 0 100%
bioimageio/core/cli.py WithSource.descr_id 3 1 0 67%
bioimageio/core/cli.py ValidateFormatCmd.run 1 1 0 0%
bioimageio/core/cli.py TestCmd.run 1 0 0 100%
bioimageio/core/cli.py PackageCmd.run 4 2 0 50%
bioimageio/core/cli.py _get_stat 17 14 0 18%
bioimageio/core/cli.py PredictCmd._example 39 8 1 79%
bioimageio/core/cli.py PredictCmd._example.get_example_command 2 0 0 100%
bioimageio/core/cli.py PredictCmd.run 32 4 0 88%
bioimageio/core/cli.py PredictCmd.run.expand_inputs 13 7 0 46%
bioimageio/core/cli.py PredictCmd.run.expand_outputs 9 3 0 67%
bioimageio/core/cli.py PredictCmd.run.input_dataset 2 0 0 100%
bioimageio/core/cli.py Bioimageio.settings_customise_sources 4 0 0 100%
bioimageio/core/cli.py Bioimageio._log 2 0 0 100%
bioimageio/core/cli.py Bioimageio.run 4 0 0 100%
bioimageio/core/cli.py _get_sample_ids 10 2 0 80%
bioimageio/core/cli.py _get_sample_ids.get_common_seq 13 7 0 46%
bioimageio/core/cli.py _get_sample_ids.get_shorter_diff 14 6 0 57%
bioimageio/core/cli.py (no function) 101 0 0 100%
bioimageio/core/commands.py test 6 2 0 67%
bioimageio/core/commands.py validate_format 2 0 0 100%
bioimageio/core/commands.py package 10 3 0 70%
bioimageio/core/commands.py (no function) 11 0 0 100%
bioimageio/core/common.py _LeftRight.create 6 0 1 100%
bioimageio/core/common.py (no function) 40 0 0 100%
bioimageio/core/dataset.py (no function) 3 0 0 100%
bioimageio/core/digest_spec.py import_callable 13 5 1 62%
bioimageio/core/digest_spec.py _import_from_file_impl 8 1 0 88%
bioimageio/core/digest_spec.py get_axes_infos 1 0 0 100%
bioimageio/core/digest_spec.py get_member_id 4 0 1 100%
bioimageio/core/digest_spec.py get_member_ids 1 0 0 100%
bioimageio/core/digest_spec.py get_test_inputs 6 0 0 100%
bioimageio/core/digest_spec.py get_test_outputs 6 0 0 100%
bioimageio/core/digest_spec.py get_input_halo 16 1 0 94%
bioimageio/core/digest_spec.py get_block_transform 27 2 1 93%
bioimageio/core/digest_spec.py get_io_sample_block_metas 9 1 0 89%
bioimageio/core/digest_spec.py get_tensor 8 3 1 62%
bioimageio/core/digest_spec.py create_sample_for_model 7 2 0 71%
bioimageio/core/digest_spec.py load_sample_for_model 16 2 0 88%
bioimageio/core/digest_spec.py (no function) 40 0 0 100%
bioimageio/core/io.py load_image 19 3 0 84%
bioimageio/core/io.py load_tensor 2 0 0 100%
bioimageio/core/io.py _split_dataset_path 6 0 0 100%
bioimageio/core/io.py save_tensor 20 3 0 85%
bioimageio/core/io.py save_sample 7 1 0 86%
bioimageio/core/io.py save_dataset_stat 2 2 0 0%
bioimageio/core/io.py load_dataset_stat 2 2 0 0%
bioimageio/core/io.py (no function) 28 0 0 100%
bioimageio/core/model_adapters/__init__.py (no function) 2 0 0 100%
bioimageio/core/model_adapters/_keras_model_adapter.py KerasModelAdapter.__init__ 17 17 0 0%
bioimageio/core/model_adapters/_keras_model_adapter.py KerasModelAdapter.forward 8 8 0 0%
bioimageio/core/model_adapters/_keras_model_adapter.py KerasModelAdapter.unload 1 1 0 0%
bioimageio/core/model_adapters/_keras_model_adapter.py (no function) 29 4 0 86%
bioimageio/core/model_adapters/_model_adapter.py ModelAdapter.create 45 26 0 42%
bioimageio/core/model_adapters/_model_adapter.py ModelAdapter.load 1 1 0 0%
bioimageio/core/model_adapters/_model_adapter.py ModelAdapter.forward 0 0 0 100%
bioimageio/core/model_adapters/_model_adapter.py ModelAdapter.unload 0 0 0 100%
bioimageio/core/model_adapters/_model_adapter.py get_weight_formats 1 1 0 0%
bioimageio/core/model_adapters/_model_adapter.py (no function) 19 0 0 100%
bioimageio/core/model_adapters/_onnx_model_adapter.py ONNXModelAdapter.__init__ 11 3 0 73%
bioimageio/core/model_adapters/_onnx_model_adapter.py ONNXModelAdapter.forward 7 1 0 86%
bioimageio/core/model_adapters/_onnx_model_adapter.py ONNXModelAdapter.unload 1 0 0 100%
bioimageio/core/model_adapters/_onnx_model_adapter.py (no function) 18 3 0 83%
bioimageio/core/model_adapters/_pytorch_model_adapter.py PytorchModelAdapter.__init__ 11 1 0 91%
bioimageio/core/model_adapters/_pytorch_model_adapter.py PytorchModelAdapter.forward 12 2 0 83%
bioimageio/core/model_adapters/_pytorch_model_adapter.py PytorchModelAdapter.unload 4 0 0 100%
bioimageio/core/model_adapters/_pytorch_model_adapter.py PytorchModelAdapter.get_network 8 2 0 75%
bioimageio/core/model_adapters/_pytorch_model_adapter.py PytorchModelAdapter.get_devices 9 3 0 67%
bioimageio/core/model_adapters/_pytorch_model_adapter.py (no function) 23 3 0 87%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase.__init__ 18 18 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase.require_unzipped 7 7 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase._get_network 12 12 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase._forward_tf 17 17 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase._forward_keras 8 8 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase.forward 5 5 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase.unload 1 1 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapter.__init__ 3 3 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py KerasModelAdapter.__init__ 3 3 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py (no function) 31 1 0 97%
bioimageio/core/model_adapters/_torchscript_model_adapter.py TorchscriptModelAdapter.__init__ 15 4 0 73%
bioimageio/core/model_adapters/_torchscript_model_adapter.py TorchscriptModelAdapter.forward 10 0 0 100%
bioimageio/core/model_adapters/_torchscript_model_adapter.py TorchscriptModelAdapter.unload 5 0 0 100%
bioimageio/core/model_adapters/_torchscript_model_adapter.py (no function) 20 3 0 85%
bioimageio/core/prediction.py predict 24 6 0 75%
bioimageio/core/prediction.py predict_many 20 20 0 0%
bioimageio/core/prediction.py (no function) 19 0 0 100%
bioimageio/core/proc_ops.py _convert_axis_ids 8 3 1 62%
bioimageio/core/proc_ops.py _SimpleOperator.required_measures 1 0 0 100%
bioimageio/core/proc_ops.py _SimpleOperator.get_output_shape 1 0 0 100%
bioimageio/core/proc_ops.py _SimpleOperator.__call__ 11 4 1 64%
bioimageio/core/proc_ops.py _SimpleOperator._apply 1 0 0 100%
bioimageio/core/proc_ops.py AddKnownDatasetStats.required_measures 1 1 0 0%
bioimageio/core/proc_ops.py AddKnownDatasetStats.__call__ 1 1 0 0%
bioimageio/core/proc_ops.py UpdateStats.required_measures 1 1 0 0%
bioimageio/core/proc_ops.py UpdateStats.__post_init__ 1 0 0 100%
bioimageio/core/proc_ops.py UpdateStats.__call__ 8 4 0 50%
bioimageio/core/proc_ops.py Binarize._apply 1 0 0 100%
bioimageio/core/proc_ops.py Binarize.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py Binarize.from_proc_descr 4 4 1 0%
bioimageio/core/proc_ops.py Clip.__post_init__ 2 0 0 100%
bioimageio/core/proc_ops.py Clip._apply 1 0 0 100%
bioimageio/core/proc_ops.py Clip.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py Clip.from_proc_descr 1 1 0 0%
bioimageio/core/proc_ops.py EnsureDtype.from_proc_descr 1 0 0 100%
bioimageio/core/proc_ops.py EnsureDtype.get_descr 1 1 0 0%
bioimageio/core/proc_ops.py EnsureDtype.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py EnsureDtype._apply 1 0 0 100%
bioimageio/core/proc_ops.py ScaleLinear._apply 1 0 0 100%
bioimageio/core/proc_ops.py ScaleLinear.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py ScaleLinear.from_proc_descr 13 3 1 77%
bioimageio/core/proc_ops.py ScaleMeanVariance.required_measures 1 0 0 100%
bioimageio/core/proc_ops.py ScaleMeanVariance.__post_init__ 11 2 0 82%
bioimageio/core/proc_ops.py ScaleMeanVariance._apply 5 0 0 100%
bioimageio/core/proc_ops.py ScaleMeanVariance.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py ScaleMeanVariance.from_proc_descr 3 3 0 0%
bioimageio/core/proc_ops.py _get_axes 8 1 1 88%
bioimageio/core/proc_ops.py ScaleRange.__post_init__ 10 0 0 100%
bioimageio/core/proc_ops.py ScaleRange.required_measures 1 0 0 100%
bioimageio/core/proc_ops.py ScaleRange.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py ScaleRange.from_proc_descr 7 7 0 0%
bioimageio/core/proc_ops.py ScaleRange._apply 3 0 0 100%
bioimageio/core/proc_ops.py ScaleRange.get_descr 3 3 0 0%
bioimageio/core/proc_ops.py Sigmoid._apply 1 0 0 100%
bioimageio/core/proc_ops.py Sigmoid.required_measures 1 1 0 0%
bioimageio/core/proc_ops.py Sigmoid.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py Sigmoid.from_proc_descr 2 2 0 0%
bioimageio/core/proc_ops.py Sigmoid.get_descr 1 1 0 0%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance.__post_init__ 1 0 0 100%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance.required_measures 1 0 0 100%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance.from_proc_descr 7 2 0 71%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance._apply 3 0 0 100%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance.get_descr 1 1 0 0%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance.__post_init__ 1 0 0 100%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance.get_output_shape 1 1 0 0%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance.from_proc_descr 5 5 1 0%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance.get_descr 7 7 0 0%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance._apply 1 0 0 100%
bioimageio/core/proc_ops.py get_proc_class 20 7 1 65%
bioimageio/core/proc_ops.py (no function) 148 0 0 100%
bioimageio/core/proc_setup.py setup_pre_and_postprocessing 15 4 0 73%
bioimageio/core/proc_setup.py get_requried_measures 2 2 0 0%
bioimageio/core/proc_setup.py get_required_dataset_measures 2 0 0 100%
bioimageio/core/proc_setup.py get_requried_sample_measures 2 2 0 0%
bioimageio/core/proc_setup.py _prepare_setup_pre_and_postprocessing 6 0 0 100%
bioimageio/core/proc_setup.py _prepare_setup_pre_and_postprocessing.prepare_procs 23 3 1 87%
bioimageio/core/proc_setup.py (no function) 32 0 0 100%
bioimageio/core/sample.py Sample.shape 1 0 0 100%
bioimageio/core/sample.py Sample.split_into_blocks 4 0 0 100%
bioimageio/core/sample.py Sample.as_single_block 3 3 0 0%
bioimageio/core/sample.py Sample.from_blocks 14 1 0 93%
bioimageio/core/sample.py SampleBlockBase.shape 1 1 0 0%
bioimageio/core/sample.py SampleBlockBase.inner_shape 1 1 0 0%
bioimageio/core/sample.py SampleBlockMeta.get_transformed 9 1 0 89%
bioimageio/core/sample.py SampleBlockMeta.get_transformed.get_member_halo 1 0 0 100%
bioimageio/core/sample.py SampleBlockMeta.with_data 1 0 0 100%
bioimageio/core/sample.py SampleBlock.members 1 0 0 100%
bioimageio/core/sample.py SampleBlock.get_transformed_meta 1 0 0 100%
bioimageio/core/sample.py _ConsolidatedMemberBlocks.__init__ 7 0 0 100%
bioimageio/core/sample.py sample_block_meta_generator 3 0 0 100%
bioimageio/core/sample.py sample_block_generator 3 0 0 100%
bioimageio/core/sample.py (no function) 65 0 0 100%
bioimageio/core/stat_calculators.py MeanCalculator.__init__ 7 7 0 0%
bioimageio/core/stat_calculators.py MeanCalculator.compute 1 1 0 0%
bioimageio/core/stat_calculators.py MeanCalculator._compute_impl 2 2 0 0%
bioimageio/core/stat_calculators.py MeanCalculator.update 2 2 0 0%
bioimageio/core/stat_calculators.py MeanCalculator.compute_and_update 3 3 0 0%
bioimageio/core/stat_calculators.py MeanCalculator._update_impl 12 12 0 0%
bioimageio/core/stat_calculators.py MeanCalculator.finalize 3 3 0 0%
bioimageio/core/stat_calculators.py MeanVarStdCalculator.__init__ 6 0 0 100%
bioimageio/core/stat_calculators.py MeanVarStdCalculator.compute 11 0 0 100%
bioimageio/core/stat_calculators.py MeanVarStdCalculator.update 20 0 0 100%
bioimageio/core/stat_calculators.py MeanVarStdCalculator.finalize 9 1 0 89%
bioimageio/core/stat_calculators.py SamplePercentilesCalculator.__init__ 5 0 0 100%
bioimageio/core/stat_calculators.py SamplePercentilesCalculator.compute 3 0 0 100%
bioimageio/core/stat_calculators.py MeanPercentilesCalculator.__init__ 7 0 0 100%
bioimageio/core/stat_calculators.py MeanPercentilesCalculator.update 9 2 0 78%
bioimageio/core/stat_calculators.py MeanPercentilesCalculator.finalize 4 1 0 75%
bioimageio/core/stat_calculators.py CrickPercentilesCalculator.__init__ 11 11 0 0%
bioimageio/core/stat_calculators.py CrickPercentilesCalculator._initialize 10 10 0 0%
bioimageio/core/stat_calculators.py CrickPercentilesCalculator.update 9 9 0 0%
bioimageio/core/stat_calculators.py CrickPercentilesCalculator.finalize 6 6 0 0%
bioimageio/core/stat_calculators.py NaiveSampleMeasureCalculator.__init__ 3 3 0 0%
bioimageio/core/stat_calculators.py NaiveSampleMeasureCalculator.compute 1 1 0 0%
bioimageio/core/stat_calculators.py StatsCalculator.__init__ 10 5 0 50%
bioimageio/core/stat_calculators.py StatsCalculator.has_dataset_measures 1 0 0 100%
bioimageio/core/stat_calculators.py StatsCalculator.update 1 1 0 0%
bioimageio/core/stat_calculators.py StatsCalculator.finalize 6 2 0 67%
bioimageio/core/stat_calculators.py StatsCalculator.update_and_get_all 4 1 0 75%
bioimageio/core/stat_calculators.py StatsCalculator.skip_update_and_get_all 1 1 0 0%
bioimageio/core/stat_calculators.py StatsCalculator._compute 5 0 0 100%
bioimageio/core/stat_calculators.py StatsCalculator._update 9 1 0 89%
bioimageio/core/stat_calculators.py get_measure_calculators 40 8 1 80%
bioimageio/core/stat_calculators.py compute_dataset_measures 9 9 0 0%
bioimageio/core/stat_calculators.py compute_sample_measures 6 6 0 0%
bioimageio/core/stat_calculators.py compute_measures 13 1 0 92%
bioimageio/core/stat_calculators.py (no function) 72 4 0 94%
bioimageio/core/stat_measures.py tensor_custom_before_validator 3 3 0 0%
bioimageio/core/stat_measures.py tensor_custom_serializer 1 1 0 0%
bioimageio/core/stat_measures.py SampleLike.members 1 0 0 100%
bioimageio/core/stat_measures.py SampleMeasureBase.compute 1 1 0 0%
bioimageio/core/stat_measures.py SampleMean.compute 2 0 0 100%
bioimageio/core/stat_measures.py SampleMean.model_post_init 1 0 0 100%
bioimageio/core/stat_measures.py DatasetMean.model_post_init 1 0 0 100%
bioimageio/core/stat_measures.py SampleStd.compute 2 0 0 100%
bioimageio/core/stat_measures.py SampleStd.model_post_init 1 0 0 100%
bioimageio/core/stat_measures.py DatasetStd.model_post_init 1 0 0 100%
bioimageio/core/stat_measures.py SampleVar.compute 2 0 0 100%
bioimageio/core/stat_measures.py SampleVar.model_post_init 1 0 0 100%
bioimageio/core/stat_measures.py DatasetVar.model_post_init 1 0 0 100%
bioimageio/core/stat_measures.py _Quantile.model_post_init 2 0 0 100%
bioimageio/core/stat_measures.py SampleQuantile.compute 2 0 0 100%
bioimageio/core/stat_measures.py SampleQuantile.model_post_init 2 0 0 100%
bioimageio/core/stat_measures.py DatasetPercentile.model_post_init 2 0 0 100%
bioimageio/core/stat_measures.py (no function) 72 0 0 100%
bioimageio/core/tensor.py Tensor.__init__ 3 0 0 100%
bioimageio/core/tensor.py Tensor.__array__ 1 0 0 100%
bioimageio/core/tensor.py Tensor.__getitem__ 5 1 0 80%
bioimageio/core/tensor.py Tensor.__setitem__ 2 0 0 100%
bioimageio/core/tensor.py Tensor.__len__ 1 0 0 100%
bioimageio/core/tensor.py Tensor._iter 2 0 0 100%
bioimageio/core/tensor.py Tensor.__iter__ 3 1 0 67%
bioimageio/core/tensor.py Tensor._binary_op 2 0 0 100%
bioimageio/core/tensor.py Tensor._inplace_binary_op 2 2 0 0%
bioimageio/core/tensor.py Tensor._unary_op 2 0 0 100%
bioimageio/core/tensor.py Tensor.from_xarray 1 0 0 100%
bioimageio/core/tensor.py Tensor.from_numpy 10 2 0 80%
bioimageio/core/tensor.py Tensor.data 1 0 0 100%
bioimageio/core/tensor.py Tensor.dims 1 0 0 100%
bioimageio/core/tensor.py Tensor.tagged_shape 1 0 0 100%
bioimageio/core/tensor.py Tensor.shape_tuple 1 0 0 100%
bioimageio/core/tensor.py Tensor.size 1 0 0 100%
bioimageio/core/tensor.py Tensor.sum 1 0 0 100%
bioimageio/core/tensor.py Tensor.ndim 1 0 0 100%
bioimageio/core/tensor.py Tensor.dtype 3 0 0 100%
bioimageio/core/tensor.py Tensor.sizes 1 0 0 100%
bioimageio/core/tensor.py Tensor.astype 1 0 0 100%
bioimageio/core/tensor.py Tensor.clip 1 0 0 100%
bioimageio/core/tensor.py Tensor.crop_to 19 6 1 68%
bioimageio/core/tensor.py Tensor.expand_dims 1 1 0 0%
bioimageio/core/tensor.py Tensor.mean 1 0 0 100%
bioimageio/core/tensor.py Tensor.std 1 0 0 100%
bioimageio/core/tensor.py Tensor.var 1 0 0 100%
bioimageio/core/tensor.py Tensor.pad 2 0 0 100%
bioimageio/core/tensor.py Tensor.pad_to 21 21 1 0%
bioimageio/core/tensor.py Tensor.quantile 4 0 0 100%
bioimageio/core/tensor.py Tensor.resize_to 19 6 0 68%
bioimageio/core/tensor.py Tensor.transpose 5 0 0 100%
bioimageio/core/tensor.py Tensor._interprete_array_wo_known_axes 13 5 0 62%
bioimageio/core/tensor.py _add_singletons 12 5 0 58%
bioimageio/core/tensor.py _get_array_view 12 3 0 75%
bioimageio/core/tensor.py (no function) 63 0 2 100%
bioimageio/core/utils/__init__.py files 2 2 0 0%
bioimageio/core/utils/__init__.py (no function) 9 1 0 89%
bioimageio/core/utils/testing.py test_func.__call__ 1 0 0 100%
bioimageio/core/utils/testing.py skip_on 4 0 0 100%
bioimageio/core/utils/testing.py skip_on.decorator_func 2 0 0 100%
bioimageio/core/utils/testing.py skip_on.decorator_func.wrapper 4 0 0 100%
bioimageio/core/utils/testing.py (no function) 4 0 0 100%
bioimageio/core/weight_converter/__init__.py (no function) 0 0 0 100%
bioimageio/core/weight_converter/keras/__init__.py (no function) 0 0 0 100%
bioimageio/core/weight_converter/keras/_tensorflow.py _zip_model_bundle 11 11 0 0%
bioimageio/core/weight_converter/keras/_tensorflow.py _convert_tf1 11 11 0 0%
bioimageio/core/weight_converter/keras/_tensorflow.py _convert_tf1.build_tf_model 7 7 0 0%
bioimageio/core/weight_converter/keras/_tensorflow.py _convert_tf2 10 10 0 0%
bioimageio/core/weight_converter/keras/_tensorflow.py convert_weights_to_tensorflow_saved_model_bundle 21 21 0 0%
bioimageio/core/weight_converter/keras/_tensorflow.py (no function) 15 0 0 100%
bioimageio/core/weight_converter/torch/__init__.py (no function) 0 0 0 100%
bioimageio/core/weight_converter/torch/_onnx.py add_onnx_weights 41 41 0 0%
bioimageio/core/weight_converter/torch/_onnx.py (no function) 15 2 0 87%
bioimageio/core/weight_converter/torch/_torchscript.py _check_predictions 33 33 1 0%
bioimageio/core/weight_converter/torch/_torchscript.py _check_predictions._check 13 13 0 0%
bioimageio/core/weight_converter/torch/_torchscript.py convert_weights_to_torchscript 13 13 0 0%
bioimageio/core/weight_converter/torch/_torchscript.py (no function) 14 2 0 86%
bioimageio/core/weight_converter/torch/_utils.py load_torch_model 5 5 0 0%
bioimageio/core/weight_converter/torch/_utils.py (no function) 9 2 0 78%
Total   3162 842 23 73%

No items found using the specified filter.