MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 1 callersFunction_upb_msg_discardunknown_shallow
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1542
↓ 1 callersFunction_upb_msg_getext
deps/protobuf/php/ext/google/protobuf/php-upb.c:1572
↓ 1 callersFunction_upb_msg_getext
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1572
↓ 1 callersFunction_upb_msg_getexts
deps/protobuf/php/ext/google/protobuf/php-upb.c:1560
↓ 1 callersFunction_upb_msg_getexts
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1560
↓ 1 callersFunction_upb_oneofcase
deps/protobuf/php/ext/google/protobuf/php-upb.h:1303
↓ 1 callersFunction_upb_oneofcase
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1307
↓ 1 callersFunction_upb_repeated_or_map
deps/protobuf/php/ext/google/protobuf/php-upb.h:1111
↓ 1 callersFunction_upb_repeated_or_map
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1115
↓ 1 callersFunction_upb_sortedmap_next
deps/protobuf/php/ext/google/protobuf/php-upb.h:1717
↓ 1 callersFunction_upb_sortedmap_next
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1721
↓ 1 callersMethod_update_clustered_block_weight
Write back clustered weight in new weight.
coremltools/optimize/torch/_utils/k_means.py:685
↓ 1 callersMethod_update_const_inputs
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1364
↓ 1 callersMethod_update_float16_multiarray_input_to_float32
(input_data: dict)
coremltools/models/model.py:1064
↓ 1 callersFunction_update_image_size_range_for_feature
( feature: "_proto.Model_pb2.FeatureDescription", size_range: NeuralNetworkImageSizeRange, )
coremltools/models/neural_network/flexible_shape_utils.py:348
↓ 1 callersMethod_update_node_infos
( self, module_key: TorchScriptModuleInfo.Key, graph: torch._C.Graph, )
coremltools/models/ml_program/experimental/torch/debugging_utils.py:296
↓ 1 callersMethod_update_parameters_impl
Update the parameter corresponding to this parameter name with the new value after reshaping to original parameter shape.
coremltools/optimize/torch/_utils/k_means.py:121
↓ 1 callersMethod_update_prune_threshold
(module: _torch.nn.Module)
coremltools/optimize/torch/palettization/palettizer.py:363
↓ 1 callersMethod_update_submodules
( self, )
coremltools/models/ml_program/experimental/torch/debugging_utils.py:386
↓ 1 callersFunction_update_tensor_range
( tensor_name: str, tensor_value: Union[int, float], activation_stats_dict: Dict[str, Dict[str, fl
coremltools/optimize/coreml/experimental/_post_training_quantization.py:97
↓ 1 callersFunction_update_vec
(str, map_char_to_int, index)
coremltools/converters/mil/mil/ops/defs/_utils.py:375
↓ 1 callersMethod_uses_same_padding
( input_h: int, input_w: int, W_h: int, W_w: int, dilation_factor: Lis
coremltools/converters/mil/mil/passes/defs/optimize_conv.py:1190
↓ 1 callersMethod_validate_and_update_main_output_types
(self, prog)
coremltools/converters/mil/frontend/tensorflow/converter.py:325
↓ 1 callersMethod_validate_args
( service: _RemoteService, compiled_model_path: _Union[_Path, str], compute_units: _Co
coremltools/models/ml_program/experimental/remote_device.py:2241
↓ 1 callersMethod_validate_child_constexpr_for_compress
Check if child constexpr ops support current op to be compressed.
coremltools/optimize/coreml/_quantization_passes.py:161
↓ 1 callersMethod_validate_child_constexpr_for_compress
Determines which pattern supports joint compression. In iOS18 joint compression, the quantized/sparsified data could be further pale
coremltools/optimize/coreml/_quantization_passes.py:632
↓ 1 callersFunction_validate_conversion_arguments
Validate and process model, inputs, classifier_config based on `exact_source` (which cannot be `auto`) and `exact_target`.
coremltools/converters/_converters_entry.py:827
↓ 1 callersMethod_validate_device_state
( device: Device, )
coremltools/models/ml_program/experimental/remote_device.py:2379
↓ 1 callersFunction_validate_enumerated_shape_inputs
(inputs, convert_to, minimum_deployment_target)
coremltools/converters/_converters_entry.py:804
↓ 1 callersMethod_validate_expected_value
( expected_values: _Dict[str, _Any], name: str, config: ModuleOptimizationConfig,
coremltools/optimize/torch/optimization_config.py:131
↓ 1 callersMethod_validate_input
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/image_resizing.py:142
↓ 1 callersMethod_validate_input
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/image_resizing.py:307
↓ 1 callersMethod_validate_input
(self)
coremltools/converters/mil/mil/ops/defs/iOS15/image_resizing.py:542
↓ 1 callersMethod_validate_inputs
(self)
coremltools/converters/mil/mil/ops/defs/iOS15/recurrent.py:368
↓ 1 callersMethod_validate_inputs
(self)
coremltools/converters/mil/mil/ops/defs/iOS18/transformers.py:71
↓ 1 callersMethod_validate_inputs
(self)
coremltools/converters/mil/mil/ops/defs/iOS18/compression.py:120
↓ 1 callersMethod_validate_inputs
(self)
coremltools/converters/mil/mil/ops/defs/iOS18/compression.py:357
↓ 1 callersMethod_validate_inputs
(self)
coremltools/converters/mil/mil/ops/defs/iOS18/compression.py:584
↓ 1 callersMethod_validate_inputs
(self)
coremltools/converters/mil/mil/ops/defs/iOS18/compression.py:717
↓ 1 callersMethod_validate_inputs
( source_function: Function, function_name_to_canonical_materialization_map: Dict[str, Dict[st
coremltools/converters/mil/mil/passes/defs/symbol_transform.py:185
↓ 1 callersMethod_validate_label_types
Ensure the label types matched the expected types. Parameters ---------- spec The spec. lab
coremltools/models/nearest_neighbors/builder.py:610
↓ 1 callersMethod_validate_multiarray_shape
(self)
coremltools/models/neural_network/flexible_shape_utils.py:66
↓ 1 callersMethod_validate_outputs
(self, tfssa, outputs)
coremltools/converters/mil/frontend/tensorflow/converter.py:311
↓ 1 callersFunction_validate_outputs_argument
- validate properties that the "outputs" argument must satisfy, for instance, it should either be a list of ct.ImageType/ct.TensorType or a
coremltools/converters/_converters_entry.py:741
↓ 1 callersMethod_validate_pooling_dimension
( input_size, kernel_size, stride, start_padding, end_padding )
coremltools/test/neural_network/test_numpy_nn_layers.py:6488
↓ 1 callersMethod_validate_states
Validate that the user provided states is consistent with the registered buffer in the torch model, and add states to inputs
coremltools/converters/mil/frontend/torch/converter.py:731
↓ 1 callersMethod_verify_cancellable_transposes
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1030
↓ 1 callersMethod_verify_input_dict
(self, input_dict)
coremltools/models/model.py:1012
↓ 1 callersMethod_verify_input_name_exists
(self, input_dict)
coremltools/models/model.py:1055
↓ 1 callersFunction_verify_inputs_doesnot_contains_states
Verify that StateType is not present in the inputs.
coremltools/converters/_converters_entry.py:727
↓ 1 callersMethod_verify_numerical
(prev_prog, prog, block, input_shape, rtol=1e-7, atol=0.0)
coremltools/converters/mil/mil/passes/tests/test_quantization_passes.py:2023
↓ 1 callersFunction_verify_output_correctness_of_chunks
Verifies the end-to-end output correctness of full (original) model versus chunked models
coremltools/models/utils.py:2065
↓ 1 callersMethod_verify_pil_image_modes
(self, input_dict)
coremltools/models/model.py:1023
↓ 1 callersMethod_visit_axis_update_op
Check: - at least one of the non-constant inputs to this op is of type _LazyTransposeHypotheticalValue - for all non-constant
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:877
↓ 1 callersMethod_visit_op
(self, op)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:999
↓ 1 callersMethod_visit_transpose_op
(self, op)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:948
↓ 1 callersMethod_visit_unary_like_op
(self, op, input_var=None)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:844
↓ 1 callersFunction_warn_if_above_max_supported_version
(package_name, package_version, max_supported_version)
coremltools/_deps/__init__.py:33
↓ 1 callersMethod_weight_shape_check
(wt_ih: Var, wt_hh: Var)
coremltools/converters/mil/mil/ops/defs/iOS15/recurrent.py:401
↓ 1 callersFunction_wp_to_fp16wp
(wp)
coremltools/models/utils.py:342
↓ 1 callersFunction_zero_loss
(x, y)
coremltools/test/optimize/torch/pruning/test_magnitude_pruner.py:23
↓ 1 callersFunctionaccessAllTypes
* @return {string}
deps/protobuf/js/experimental/benchmarks/code_size/kernel/popular_types.js:33
↓ 1 callersFunctionaccessAllTypes
* @return {string}
deps/protobuf/js/experimental/benchmarks/code_size/kernel/all_types.js:19
↓ 1 callersFunctionaccessAllTypes
* The testing scenario is the same as kernel one. * We have * 1) add element to repeated fields * 2) add element list to repeated fields * 3) s
deps/protobuf/js/experimental/benchmarks/code_size/apps_jspb/all_types_proto2.js:26
↓ 1 callersFunctionaccessAllTypes
* The testing scenario is the same as kernel one. * We have * 1) add element to repeated fields * 2) add element list to repeated fields * 3) s
deps/protobuf/js/experimental/benchmarks/code_size/apps_jspb/all_types_proto3.js:26
↓ 1 callersFunctionaccessPopularTypes
* @return {string}
deps/protobuf/js/experimental/benchmarks/code_size/apps_jspb/popular_types_proto2.js:16
↓ 1 callersFunctionaccessPopularTypes
* @return {string}
deps/protobuf/js/experimental/benchmarks/code_size/apps_jspb/popular_types_proto3.js:16
↓ 1 callersFunctionactivate_int8_int8_matrix_multiplications
Utility function that takes in either a full precision (float) spec or an nbit quantized spec to selectively enable int8 activation + weight
coremltools/models/neural_network/quantization_utils.py:1472
↓ 1 callersFunctionactivation_configs
Returns backend pattern configs for default ops like activations which do not have an associated weight but can alter the scale and zero poin
coremltools/optimize/torch/quantization/_backend_config_utils.py:408
↓ 1 callersFunctionadd
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:1057
↓ 1 callersMethodadd
deps/pybind11/tests/test_smart_ptr.cpp:262
↓ 1 callersMethodadd
(E element)
deps/protobuf/java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java:76
↓ 1 callersMethodadd
(ByteString element)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java:76
↓ 1 callersMethodadd10
passing by pointer
deps/pybind11/tests/test_methods_and_attributes.cpp:51
↓ 1 callersFunctionadd1e6digit
(begin, end = undefined)
deps/protobuf/js/experimental/runtime/int64.js:338
↓ 1 callersMethodadd4
passing by const reference
deps/pybind11/tests/test_methods_and_attributes.cpp:43
↓ 1 callersMethodadd5
passing by pointer
deps/pybind11/tests/test_methods_and_attributes.cpp:44
↓ 1 callersMethodadd6
deps/pybind11/tests/test_methods_and_attributes.cpp:46
↓ 1 callersMethodadd7
passing by value
deps/pybind11/tests/test_methods_and_attributes.cpp:47
↓ 1 callersMethodadd8
passing by reference
deps/pybind11/tests/test_methods_and_attributes.cpp:48
↓ 1 callersMethodadd9
passing by const reference NOLINTNEXTLINE(readability-non-const-parameter) Deliberately non-const for testing
deps/pybind11/tests/test_methods_and_attributes.cpp:50
↓ 1 callersMethodaddAll
(final Iterable<T> values, final Collection<? super T> list)
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java:140
↓ 1 callersMethodaddAll
(final Iterable<T> values, final Collection<? super T> list)
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java:392
↓ 1 callersMethodaddAllByteArray
(Collection<byte[]> c)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:192
↓ 1 callersMethodaddAllByteString
(Collection<? extends ByteString> values)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:184
↓ 1 callersMethodaddAllCheckingNulls
(Iterable<T> values, List<? super T> list)
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java:367
↓ 1 callersMethodaddBuilder
Appends a new builder to the end of this list and returns the builder. @param message the message to add which is the basis of the builder @return th
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java:376
↓ 1 callersMethodaddChild
deps/pybind11/tests/test_call_policies.cpp:50
↓ 1 callersMethodaddEnum
($name, $klass)
deps/protobuf/php/src/Google/Protobuf/Internal/DescriptorPool.php:88
↓ 1 callersMethodaddEnumType
($desc)
deps/protobuf/php/src/Google/Protobuf/Internal/FileDescriptor.php:67
↓ 1 callersMethodaddError
(self, test, error)
deps/protobuf/python/google/protobuf/internal/testing_refleaks.py:54
↓ 1 callersMethodaddField
(FieldDescriptor $field)
deps/protobuf/php/src/Google/Protobuf/Internal/OneofDescriptor.php:57
↓ 1 callersMethodaddFile
(FileDescriptor file)
deps/protobuf/java/core/src/main/java/com/google/protobuf/TypeRegistry.java:130
↓ 1 callersMethodaddFile
(FileDescriptor file)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:583
↓ 1 callersMethodaddFixed32
Adds a fixed32 value to the unknown fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:45
↓ 1 callersMethodaddFixed64
Adds a fixed64 value to the unknown fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:48
↓ 1 callersMethodaddGroup
Adds a group value to the unknown fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:54
↓ 1 callersFunctionaddIndexEntry
* Appends a new entry in the index array for the given field number. * @param {!BinaryStorage<!Field>} storage * @param {number} fieldNumber * @par
deps/protobuf/js/experimental/runtime/kernel/indexer.js:21
↓ 1 callersMethodaddIndexEntry
* Adds a new IndexEntry. * @param {!WireType} wireType * @param {number} startIndex
deps/protobuf/js/experimental/runtime/kernel/field.js:109
↓ 1 callersMethodaddLengthDelimited
Adds a length delimited value to the unknown fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:51
← previousnext →10,101–10,200 of 41,379, ranked by callers