MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 1 callersMethod_init_check
( path: str, compute_units: _ComputeUnit, function_name: str, optimization_hin
coremltools/models/_compiled_model.py:27
↓ 1 callersMethod_init_check
( model: MLModel, compute_units: ComputeUnit, function_name: Optional[str], op
coremltools/models/ml_program/experimental/debugging_utils.py:183
↓ 1 callersMethod_init_parameter_metadata
Initialize metadata for k-means clustering for this layer type. The metadata is a dictionary from parameter name to a dictionary
coremltools/optimize/torch/_utils/k_means.py:104
↓ 1 callersMethod_init_parameters
(self, config: ModuleGPTQConfig)
coremltools/optimize/torch/layerwise_compression/algorithms.py:365
↓ 1 callersMethod_init_parameters
(self, config: ModuleSparseGPTConfig)
coremltools/optimize/torch/layerwise_compression/algorithms.py:546
↓ 1 callersMethod_init_prune_threshold_and_module_wise_target_sparsity
(module: _torch.nn.Module)
coremltools/optimize/torch/palettization/palettizer.py:345
↓ 1 callersMethod_inline_call_node
( node: torch._C.Node, graph: torch._C.Graph, callee: torch._C.Graph, )
coremltools/models/ml_program/experimental/torch/debugging_utils.py:611
↓ 1 callersMethod_inline_graph
( self, graph: torch._C.Graph, module: ScriptModule, hierarchy: List[str],
coremltools/models/ml_program/experimental/torch/debugging_utils.py:637
↓ 1 callersMethod_input_has_infinite_upper_bound
Check if any input has infinite upper bound (-1).
coremltools/models/model.py:957
↓ 1 callersMethod_insert_graph
( graph: torch._C.Graph, callee: torch._C.Graph, inputs: Iterable[torch._C.Value],
coremltools/models/ml_program/experimental/torch/debugging_utils.py:540
↓ 1 callersFunction_insert_image_preprocessing_ops
(block)
coremltools/converters/mil/backend/mil/passes/insert_image_preprocessing_op.py:32
↓ 1 callersMethod_insert_op_before
A private API used by builder. Please use `builder.YOUR_OP(...,before_op)`. new_op's outputs are not used (not input to any other op
coremltools/converters/mil/mil/block.py:447
↓ 1 callersMethod_install_and_launch_app
Install and launch an application on the device. This method takes the path to an application, installs it on the device
coremltools/models/ml_program/experimental/remote_device.py:233
↓ 1 callersMethod_interleave_repeat_scale_zp
The scale and zero-point both have shape [.., block_num, ..], which means each scale is for one block. As weight has shape [.., block
coremltools/converters/mil/frontend/torch/converter.py:905
↓ 1 callersMethod_internal_allow_alias
deps/protobuf/src/google/protobuf/descriptor.pb.h:13328
↓ 1 callersMethod_internal_cc_enable_arenas
deps/protobuf/src/google/protobuf/descriptor.pb.h:12359
↓ 1 callersMethod_internal_cc_generic_services
deps/protobuf/src/google/protobuf/descriptor.pb.h:12219
↓ 1 callersMethod_internal_client_streaming
deps/protobuf/src/google/protobuf/descriptor.pb.h:11839
↓ 1 callersMethod_internal_dependency_size
repeated string dependency = 3;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8661
↓ 1 callersMethod_internal_double_value
deps/protobuf/src/google/protobuf/descriptor.pb.h:13939
↓ 1 callersMethod_internal_fields_size
map<string, .google.protobuf.Value> fields = 1;
deps/protobuf/src/google/protobuf/struct.pb.h:726
↓ 1 callersMethod_internal_file_to_generate_size
repeated string file_to_generate = 1;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1171
↓ 1 callersMethod_internal_has_aggregate_value
optional string aggregate_value = 8;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14025
↓ 1 callersMethod_internal_has_compiler_version
optional .google.protobuf.compiler.Version compiler_version = 3;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1352
↓ 1 callersMethod_internal_has_content
optional string content = 15;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1584
↓ 1 callersMethod_internal_has_csharp_namespace
optional string csharp_namespace = 37;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12445
↓ 1 callersMethod_internal_has_default_value
optional string default_value = 7;
deps/protobuf/src/google/protobuf/descriptor.pb.h:10308
↓ 1 callersMethod_internal_has_deprecated
optional bool deprecated = 23 [default = false];
deps/protobuf/src/google/protobuf/descriptor.pb.h:12320
↓ 1 callersMethod_internal_has_error
optional string error = 1;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1745
↓ 1 callersMethod_internal_has_extendee
optional string extendee = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:10239
↓ 1 callersMethod_internal_has_generated_code_info
optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1653
↓ 1 callersMethod_internal_has_go_package
optional string go_package = 11;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12139
↓ 1 callersMethod_internal_has_identifier_value
optional string identifier_value = 3;
deps/protobuf/src/google/protobuf/descriptor.pb.h:13803
↓ 1 callersMethod_internal_has_input_type
optional string input_type = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:11600
↓ 1 callersMethod_internal_has_insertion_point
optional string insertion_point = 2;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1515
↓ 1 callersMethod_internal_has_java_outer_classname
optional string java_outer_classname = 8;
deps/protobuf/src/google/protobuf/descriptor.pb.h:11957
↓ 1 callersMethod_internal_has_java_package
optional string java_package = 1;
deps/protobuf/src/google/protobuf/descriptor.pb.h:11888
↓ 1 callersMethod_internal_has_json_name
optional string json_name = 10;
deps/protobuf/src/google/protobuf/descriptor.pb.h:10405
↓ 1 callersMethod_internal_has_leading_comments
optional string leading_comments = 3;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14192
↓ 1 callersMethod_internal_has_name
optional string name = 1;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1446
↓ 1 callersMethod_internal_has_name_part
required string name_part = 1;
deps/protobuf/src/google/protobuf/descriptor.pb.h:13662
↓ 1 callersMethod_internal_has_objc_class_prefix
optional string objc_class_prefix = 36;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12376
↓ 1 callersMethod_internal_has_output_type
optional string output_type = 3;
deps/protobuf/src/google/protobuf/descriptor.pb.h:11669
↓ 1 callersMethod_internal_has_package
optional string package = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8592
↓ 1 callersMethod_internal_has_parameter
optional string parameter = 2;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1246
↓ 1 callersMethod_internal_has_php_class_prefix
optional string php_class_prefix = 40;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12583
↓ 1 callersMethod_internal_has_php_metadata_namespace
optional string php_metadata_namespace = 44;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12721
↓ 1 callersMethod_internal_has_php_namespace
optional string php_namespace = 41;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12652
↓ 1 callersMethod_internal_has_ruby_package
optional string ruby_package = 45;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12790
↓ 1 callersMethod_internal_has_source_code_info
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9080
↓ 1 callersMethod_internal_has_source_file
optional string source_file = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14500
↓ 1 callersMethod_internal_has_string_value
string string_value = 3;
deps/protobuf/src/google/protobuf/struct.pb.h:835
↓ 1 callersMethod_internal_has_suffix
optional string suffix = 4;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1098
↓ 1 callersMethod_internal_has_swift_prefix
optional string swift_prefix = 39;
deps/protobuf/src/google/protobuf/descriptor.pb.h:12514
↓ 1 callersMethod_internal_has_syntax
optional string syntax = 12;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9170
↓ 1 callersMethod_internal_has_trailing_comments
optional string trailing_comments = 4;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14261
↓ 1 callersMethod_internal_has_type_name
optional string type_name = 6;
deps/protobuf/src/google/protobuf/descriptor.pb.h:10170
↓ 1 callersMethod_internal_is_extension
deps/protobuf/src/google/protobuf/descriptor.pb.h:13742
↓ 1 callersMethod_internal_java_generate_equals_and_hash
deps/protobuf/src/google/protobuf/descriptor.pb.h:12065
↓ 1 callersMethod_internal_java_generic_services
deps/protobuf/src/google/protobuf/descriptor.pb.h:12247
↓ 1 callersMethod_internal_java_multiple_files
deps/protobuf/src/google/protobuf/descriptor.pb.h:12037
↓ 1 callersMethod_internal_java_string_check_utf8
deps/protobuf/src/google/protobuf/descriptor.pb.h:12093
↓ 1 callersMethod_internal_lazy
deps/protobuf/src/google/protobuf/descriptor.pb.h:13156
↓ 1 callersMethod_internal_leading_detached_comments_size
repeated string leading_detached_comments = 6;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14330
↓ 1 callersMethod_internal_map_entry
deps/protobuf/src/google/protobuf/descriptor.pb.h:12998
↓ 1 callersMethod_internal_message_set_wire_format
deps/protobuf/src/google/protobuf/descriptor.pb.h:12914
↓ 1 callersMethod_internal_no_standard_descriptor_accessor
deps/protobuf/src/google/protobuf/descriptor.pb.h:12942
↓ 1 callersMethod_internal_oneofs_size
repeated string oneofs = 3;
deps/protobuf/src/google/protobuf/type.pb.h:1477
↓ 1 callersMethod_internal_packed
deps/protobuf/src/google/protobuf/descriptor.pb.h:13099
↓ 1 callersMethod_internal_paths_size
repeated string paths = 1;
deps/protobuf/src/google/protobuf/field_mask.pb.h:239
↓ 1 callersMethod_internal_php_generic_services
deps/protobuf/src/google/protobuf/descriptor.pb.h:12303
↓ 1 callersMethod_internal_proto3_optional
deps/protobuf/src/google/protobuf/descriptor.pb.h:10575
↓ 1 callersMethod_internal_public_dependency
deps/protobuf/src/google/protobuf/descriptor.pb.h:8745
↓ 1 callersMethod_internal_py_generic_services
deps/protobuf/src/google/protobuf/descriptor.pb.h:12275
↓ 1 callersMethod_internal_reserved_name_size
repeated string reserved_name = 10;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9892
↓ 1 callersMethod_internal_server_streaming
deps/protobuf/src/google/protobuf/descriptor.pb.h:11867
↓ 1 callersMethod_internal_weak
deps/protobuf/src/google/protobuf/descriptor.pb.h:13212
↓ 1 callersMethod_internal_weak_dependency
deps/protobuf/src/google/protobuf/descriptor.pb.h:8792
↓ 1 callersFunction_invert_deps
( modules: Dict[TorchScriptModuleInfo.Key, TorchScriptModuleMappingInfo], deps: Dict[TorchScriptModule
coremltools/models/ml_program/experimental/torch/debugging_utils.py:878
↓ 1 callersMethod_is_cast_ops_fusable
Check if two cast ops can be fused by verifying the consistency between the range and resolution before and after fusion. Take the s
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:438
↓ 1 callersMethod_is_compatible
(self, v)
coremltools/converters/mil/mil/input_type.py:176
↓ 1 callersMethod_is_compatible_shape
(shapea, shapeb)
coremltools/converters/mil/mil/ops/defs/iOS15/normalization.py:271
↓ 1 callersFunction_is_compatible_symbolic_array
A helper function which check if two numpy array with symbolic value. For instance, a = np.array([is0, is2]) b = np.array([
coremltools/converters/mil/mil/operation.py:24
↓ 1 callersMethod_is_failure_source
( self, module_map_info: TorchScriptModuleMappingInfo, statuses: Dict[TorchScriptModul
coremltools/models/ml_program/experimental/torch/debugging_utils.py:1470
↓ 1 callersMethod_is_failure_source
( node: torch.fx.Node, statuses: Dict[torch.fx.Node, _Status], )
coremltools/models/ml_program/experimental/torch/debugging_utils.py:2088
↓ 1 callersFunction_is_layer
:param nn_layer : NN layer proto message :param layer_type : str Layer type to check against :returns True if nn_layer is of type `layer_
coremltools/converters/mil/backend/nn/passes/mlmodel_passes.py:56
↓ 1 callersMethod_is_nonreplaceable_var
(var)
coremltools/converters/mil/mil/var.py:164
↓ 1 callersMethod_is_op_eligible_to_be_removed
(op)
coremltools/converters/mil/mil/passes/defs/cleanup/remove_redundant_ops.py:70
↓ 1 callersMethod_is_operand_static
(var: Var)
coremltools/converters/mil/mil/passes/defs/cleanup/expand_dynamic_linear.py:43
↓ 1 callersFunction_is_same_dtype
(dtype1, dtype2)
coremltools/converters/mil/mil/ops/defs/_utils.py:436
↓ 1 callersFunction_is_scopes_present_in_block
(block: Block)
coremltools/converters/mil/testing_utils.py:621
↓ 1 callersFunction_is_scopes_present_in_program
Return True is any op already has the scopes info.
coremltools/converters/mil/testing_utils.py:616
↓ 1 callersMethod_is_valid_config
(self, shape, order, dim)
coremltools/converters/mil/frontend/torch/test/test_torch_ops.py:805
↓ 1 callersFunction_is_valid_sparse_format
Check if the object is in CSR sparse format (the only valid type for KNeighborsClassifier)
coremltools/converters/sklearn/_k_neighbors_classifier.py:278
↓ 1 callersMethod_is_valid_text_type
Checks if the object is a valid text type. Parameters ---------- obj The object to check. R
coremltools/models/nearest_neighbors/builder.py:635
↓ 1 callersFunction_jit_pass_lower_graph
This graph pass does a similar thing as torch._C._jit_pass_lower_graph does. It does three things: 1. Rename getattr nodes which produce
coremltools/converters/mil/frontend/torch/torchscript_utils.py:11
↓ 1 callersMethod_join_worker_processes
(cls, worker_processes: _Optional[_List[_mp.Process]])
coremltools/optimize/torch/_utils/k_means.py:919
↓ 1 callersMethod_keras_layer_norm
(x, axes, epsilon)
coremltools/converters/mil/mil/ops/tests/iOS14/test_normalization.py:411
↓ 1 callersMethod_kmeans_pp
( self, parameters: _torch.Tensor, sample_weight: _Optional[_torch.Tensor] = None )
coremltools/optimize/torch/palettization/_efficient_kmeans.py:84
↓ 1 callersFunction_layernorm_constraints
(pattern)
coremltools/converters/mil/experimental/passes/generic_layernorm_instancenorm_pattern_fusion.py:316
← previousnext →9,701–9,800 of 41,379, ranked by callers