MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 2 callersFunction_get_feature_description_summary
(feature)
coremltools/models/neural_network/spec_inspection_utils.py:79
↓ 2 callersFunction_get_first_chunk_outputs
(block: _mil.Block, op_idx: int)
coremltools/models/utils.py:2177
↓ 2 callersMethod_get_free_name
(cls, name)
coremltools/converters/mil/mil/builder.py:100
↓ 2 callersMethod_get_function_description
( self, function_name: str )
coremltools/models/model.py:915
↓ 2 callersMethod_get_inputs
(self, input_types)
coremltools/converters/mil/frontend/torch/test/test_torch_ops.py:4199
↓ 2 callersFunction_get_io_supported_types
Get Core ML I/O supported data types based on opset version.
coremltools/converters/mil/backend/mil/passes/adjust_io_to_supported_types.py:81
↓ 2 callersFunction_get_is_sub_and_is_first_input
(pattern)
coremltools/converters/mil/experimental/passes/generic_linear_bias_fusion.py:72
↓ 2 callersFunction_get_kernel_indexes_1d_for_adaptive_pooling
( in_dimension: int, out_dimension: int)
coremltools/converters/mil/frontend/torch/ops.py:2538
↓ 2 callersFunction_get_kmeans_lookup_table_and_weight
Generate K-Means lookup table given weights nbits: Number of bits for quantization weight: Weights as numpy array
coremltools/models/neural_network/quantization_utils.py:363
↓ 2 callersFunction_get_linear_bias_bias_Dout
(pattern, is_first_input)
coremltools/converters/mil/experimental/passes/generic_linear_bias_fusion.py:78
↓ 2 callersMethod_get_lut_and_indices
Calculate look-up-table (LUT) and indices.
coremltools/optimize/coreml/_quantization_passes.py:695
↓ 2 callersFunction_get_metadata_from_mlmodel
(mlmodel)
coremltools/converters/_converters_entry.py:1134
↓ 2 callersMethod_get_multifunction_mlpackage_3
(self)
coremltools/test/ml_program/test_utils.py:162
↓ 2 callersMethod_get_nbits_for_unique_mode
Try each nbit in allowed_nbits to find one that can represent number of unique values in val. If cluster_dim > 1, it's for vector pa
coremltools/optimize/coreml/_quantization_passes.py:661
↓ 2 callersFunction_get_network_output
:param spec : CoreML Specification :returns network output names
coremltools/converters/mil/backend/nn/passes/mlmodel_passes.py:87
↓ 2 callersMethod_get_new_name
(cls)
coremltools/converters/mil/mil/block.py:64
↓ 2 callersFunction_get_non_maximum_supression
The helper function returns the outputs from mb.non_maximum_suppression, along with the number of boxes and the maximum number of boxes.
coremltools/converters/mil/frontend/tensorflow/ops.py:2565
↓ 2 callersMethod_get_num_splits_and_sizes
Return: - num_splits: int - sizes: list of int/symbols. Of length num_splits Raise ValueError if num_splits cannot b
coremltools/converters/mil/mil/ops/defs/iOS15/tensor_operation.py:1168
↓ 2 callersMethod_get_object
(cls, key: _Any)
coremltools/optimize/torch/_utils/python_utils.py:49
↓ 2 callersMethod_get_opset_str_value
(op)
coremltools/converters/mil/mil/program.py:28
↓ 2 callersMethod_get_predictions
(proxy, preprocess_method, data, state)
coremltools/models/model.py:888
↓ 2 callersFunction_get_probability_var_for_classifier
Return the var which will be used to construct the dictionary for the classifier. :param prog: mil program :param classifier_config: an i
coremltools/converters/mil/backend/backend_helper.py:11
↓ 2 callersMethod_get_project_path
()
coremltools/models/ml_program/experimental/remote_device.py:1268
↓ 2 callersFunction_get_runtime_supported_types
Get Core ML Runtime supported data types based on opset version.
coremltools/converters/mil/backend/mil/passes/adjust_io_to_supported_types.py:98
↓ 2 callersFunction_get_shaping_class
Returns a Shape class or EnumeratedShapes class for `shape` where `shape` could be lists/tuple/Shape/EnumeratedShapes/etc.
coremltools/converters/mil/input_types.py:629
↓ 2 callersFunction_get_slice_params
(context, data, inputs)
coremltools/converters/mil/frontend/torch/ops.py:4755
↓ 2 callersMethod_get_stateful_program
()
coremltools/test/api/test_api_examples.py:145
↓ 2 callersMethod_get_tensor_name
(tensor)
coremltools/converters/mil/frontend/tensorflow/converter.py:303
↓ 2 callersMethod_get_test_mlmodel_conv_relu
A mlmodel with conv, relu
coremltools/optimize/coreml/experimental/test_post_training_quantization.py:21
↓ 2 callersMethod_get_type_val
(self)
coremltools/converters/mil/mil/ops/defs/iOS15/tensor_transformation.py:226
↓ 2 callersFunction_get_unique_dependencies
Computes the unique dependencies of an operation.
coremltools/models/ml_program/experimental/debugging_utils.py:779
↓ 2 callersFunction_get_version_of_op
A utility function that retrieves an op cls given a dictionary of op variants and target version
coremltools/converters/mil/mil/ops/helper.py:12
↓ 2 callersFunction_get_weight_param_summary
Get a summary of proto.NeuralNetwork_pb2.WeightParams Args: wp : proto.NeuralNetwork_pb2.WeightParams - the proto.NeuralNetwork_pb2.WeightPara
coremltools/models/neural_network/spec_inspection_utils.py:9
↓ 2 callersFunction_get_weighted_mod_bn_pattern
Returns an aten graph corresponding to a sequence of these ops: input -> weighted_mod -> batch_norm -> activation -> output A weighted m
coremltools/optimize/torch/quantization/_coreml_quantizer_utils.py:233
↓ 2 callersFunction_get_weighted_mod_pattern
Returns an aten graph corresponding to a sequence of these ops: input -> weighted_mod -> activation -> output A weighted mod is a module
coremltools/optimize/torch/quantization/_coreml_quantizer_utils.py:196
↓ 2 callersFunction_group_norm_impl
(x: Var, num_groups: int, weight: Var, bias: Var, eps: float)
coremltools/converters/mil/frontend/torch/ops.py:2809
↓ 2 callersMethod_infer_output_var
(self)
coremltools/converters/mil/mil/program.py:369
↓ 2 callersMethod_inline_module
( self, module: ScriptModule, graph: torch._C.Graph, name: str, hierar
coremltools/models/ml_program/experimental/torch/debugging_utils.py:679
↓ 2 callersFunction_insert_function_entry
(fn)
coremltools/converters/mil/frontend/tensorflow2/tf_graph_pass/rewrite_control_flow_functions.py:131
↓ 2 callersFunction_insert_get_tuple
(fn, name, idx)
coremltools/converters/mil/frontend/tensorflow2/tf_graph_pass/rewrite_control_flow_functions.py:144
↓ 2 callersFunction_insert_make_tuple
(fn, name=None)
coremltools/converters/mil/frontend/tensorflow2/tf_graph_pass/rewrite_control_flow_functions.py:139
↓ 2 callersMethod_insert_quantize_dequantize
(self, block: Block, config: OpLinearQuantizerConfig, visited_ops: set)
coremltools/converters/mil/mil/passes/defs/optimize_activation_quantization.py:104
↓ 2 callersFunction_insert_return
(fn)
coremltools/converters/mil/frontend/tensorflow2/tf_graph_pass/rewrite_control_flow_functions.py:135
↓ 2 callersMethod_internal_annotation_size
repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14629
↓ 2 callersMethod_internal_begin
deps/protobuf/src/google/protobuf/descriptor.pb.h:14580
↓ 2 callersMethod_internal_ctype
deps/protobuf/src/google/protobuf/descriptor.pb.h:13070
↓ 2 callersMethod_internal_deprecated
deps/protobuf/src/google/protobuf/descriptor.pb.h:12331
↓ 2 callersMethod_internal_end
deps/protobuf/src/google/protobuf/descriptor.pb.h:9282
↓ 2 callersMethod_internal_enum_type_size
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8870
↓ 2 callersMethod_internal_enumvalue_size
repeated .google.protobuf.EnumValue enumvalue = 2;
deps/protobuf/src/google/protobuf/type.pb.h:2101
↓ 2 callersMethod_internal_extension_range_size
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9682
↓ 2 callersMethod_internal_extension_size
repeated .google.protobuf.FieldDescriptorProto extension = 7;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8950
↓ 2 callersMethod_internal_field_size
repeated .google.protobuf.FieldDescriptorProto field = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9522
↓ 2 callersMethod_internal_fields_size
repeated .google.protobuf.Field fields = 2;
deps/protobuf/src/google/protobuf/type.pb.h:1437
↓ 2 callersMethod_internal_file_size
repeated .google.protobuf.FileDescriptorProto file = 1;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8479
↓ 2 callersMethod_internal_file_size
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1842
↓ 2 callersMethod_internal_has_source_context
.google.protobuf.SourceContext source_context = 5;
deps/protobuf/src/google/protobuf/type.pb.h:1592
↓ 2 callersMethod_internal_idempotency_level
deps/protobuf/src/google/protobuf/descriptor.pb.h:13600
↓ 2 callersMethod_internal_jstype
deps/protobuf/src/google/protobuf/descriptor.pb.h:13127
↓ 2 callersMethod_internal_label
deps/protobuf/src/google/protobuf/descriptor.pb.h:10123
↓ 2 callersMethod_internal_location_size
repeated .google.protobuf.SourceCodeInfo.Location location = 1;
deps/protobuf/src/google/protobuf/descriptor.pb.h:14409
↓ 2 callersMethod_internal_major
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1025
↓ 2 callersMethod_internal_message_type_size
repeated .google.protobuf.DescriptorProto message_type = 4;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8830
↓ 2 callersMethod_internal_method_size
repeated .google.protobuf.MethodDescriptorProto method = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:11397
↓ 2 callersMethod_internal_methods_size
repeated .google.protobuf.Method methods = 2;
deps/protobuf/src/google/protobuf/api.pb.h:800
↓ 2 callersMethod_internal_minor
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1053
↓ 2 callersMethod_internal_mixins_size
repeated .google.protobuf.Mixin mixins = 6;
deps/protobuf/src/google/protobuf/api.pb.h:1014
↓ 2 callersMethod_internal_name_size
repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:13763
↓ 2 callersMethod_internal_nanos
deps/protobuf/src/google/protobuf/timestamp.pb.h:258
↓ 2 callersMethod_internal_negative_int_value
deps/protobuf/src/google/protobuf/descriptor.pb.h:13911
↓ 2 callersMethod_internal_nested_type_size
repeated .google.protobuf.DescriptorProto nested_type = 3;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9602
↓ 2 callersMethod_internal_number
deps/protobuf/src/google/protobuf/descriptor.pb.h:10095
↓ 2 callersMethod_internal_oneof_decl_size
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9722
↓ 2 callersMethod_internal_oneof_index
deps/protobuf/src/google/protobuf/descriptor.pb.h:10388
↓ 2 callersMethod_internal_optimize_for
deps/protobuf/src/google/protobuf/descriptor.pb.h:12121
↓ 2 callersMethod_internal_options_size
repeated .google.protobuf.Option options = 4;
deps/protobuf/src/google/protobuf/type.pb.h:1552
↓ 2 callersMethod_internal_patch
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1081
↓ 2 callersMethod_internal_positive_int_value
deps/protobuf/src/google/protobuf/descriptor.pb.h:13883
↓ 2 callersMethod_internal_proto_file_size
repeated .google.protobuf.FileDescriptorProto proto_file = 15;
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1315
↓ 2 callersMethod_internal_public_dependency_size
repeated int32 public_dependency = 10;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8736
↓ 2 callersMethod_internal_reserved_range_size
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9852
↓ 2 callersMethod_internal_seconds
deps/protobuf/src/google/protobuf/timestamp.pb.h:238
↓ 2 callersMethod_internal_service_size
repeated .google.protobuf.ServiceDescriptorProto service = 6;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8910
↓ 2 callersMethod_internal_start
deps/protobuf/src/google/protobuf/descriptor.pb.h:9254
↓ 2 callersMethod_internal_supported_features
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1825
↓ 2 callersMethod_internal_syntax
deps/protobuf/src/google/protobuf/type.pb.h:1681
↓ 2 callersMethod_internal_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:10152
↓ 2 callersMethod_internal_uninterpreted_option_size
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
deps/protobuf/src/google/protobuf/descriptor.pb.h:9971
↓ 2 callersMethod_internal_value_size
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
deps/protobuf/src/google/protobuf/descriptor.pb.h:10888
↓ 2 callersMethod_internal_values_size
repeated .google.protobuf.Value values = 1;
deps/protobuf/src/google/protobuf/struct.pb.h:1116
↓ 2 callersMethod_internal_weak_dependency_size
repeated int32 weak_dependency = 11;
deps/protobuf/src/google/protobuf/descriptor.pb.h:8783
↓ 2 callersFunction_is_const
Check if a var is a const. It could be `const` or `constexpr_` ops.
coremltools/converters/mil/frontend/torch/ops.py:333
↓ 2 callersFunction_is_failure_source
( op: proto.MIL_pb2.Operation, statuses: Dict[int, _Status], output_name_to_op_map: Dict[str, prot
coremltools/models/ml_program/experimental/debugging_utils.py:700
↓ 2 callersFunction_is_float_value
(x, threshold=0.001)
coremltools/converters/mil/frontend/torch/ops.py:3940
↓ 2 callersFunction_is_printable
Check if the object is a valid text type.
coremltools/converters/sklearn/_k_neighbors_classifier.py:273
↓ 2 callersFunction_is_scalar
(type_)
coremltools/converters/mil/frontend/tensorflow/ops.py:40
↓ 2 callersFunction_is_scalar
(pattern)
coremltools/converters/mil/experimental/passes/generic_conv_scale_fusion.py:85
↓ 2 callersMethod_is_structural_pruning
(self)
coremltools/optimize/coreml/_config.py:479
↓ 2 callersFunction_is_valid_const
(val, weight_threshold)
coremltools/optimize/coreml/_post_training_quantization.py:25
↓ 2 callersMethod_is_valid_number_type
Checks if the object is a valid number type. Parameters ---------- obj The object to check.
coremltools/models/nearest_neighbors/builder.py:651
← previousnext →5,701–5,800 of 41,379, ranked by callers