MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 1 callersFunctionassign_both
(a1, a2, r, c, v)
deps/pybind11/tests/test_eigen_matrix.py:251
↓ 1 callersFunctionassign_ids_to_block_operations
( block_spec: proto.MIL_pb2.Block, )
coremltools/models/ml_program/experimental/compute_plan_utils.py:426
↓ 1 callersFunctionassign_layout_indices
deps/protobuf/php/ext/google/protobuf/php-upb.c:5834
↓ 1 callersFunctionassign_layout_indices
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5449
↓ 1 callersFunctionassign_msg_wellknowntype
deps/protobuf/php/ext/google/protobuf/php-upb.c:5027
↓ 1 callersFunctionassign_msg_wellknowntype
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4642
↓ 1 callersFunctionat
! @brief access specified array element with bounds checking Returns a reference to the element at specified location @a idx, with bounds
deps/nlohmann/json.hpp:20175
↓ 1 callersFunctionauto_cpp_level
Return the max supported C++ std level (17, 14, or 11). Returns latest on Windows.
deps/pybind11/pybind11/setup_helpers.py:253
↓ 1 callersFunctionauxiliaries
deps/pybind11/tests/test_numpy_array.cpp:142
↓ 1 callersMethodavailable
(InputStream input)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2096
↓ 1 callersMethodbackward_3d
(X, C, grad_output)
coremltools/optimize/torch/palettization/fake_palettize.py:759
↓ 1 callersMethodbalance
(ByteString left, ByteString right)
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:634
↓ 1 callersMethodbalancedConcat
(Iterator<ByteString> iterator, int length)
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:627
↓ 1 callersMethodbar
deps/pybind11/tests/test_multiple_inheritance.cpp:100
↓ 1 callersMethodbatch
(iterable, batch_size: int = 1)
coremltools/optimize/coreml/experimental/_model_debugger.py:53
↓ 1 callersMethodbenchmark_load
Measures the loading time of the model. This method creates and loads the model multiple times, measuring the duration of ea
coremltools/models/ml_program/experimental/perf_utils.py:265
↓ 1 callersMethodbenchmark_module_execution
Measures the execution time of modules in the PyTorch model. This method loads the converted model, runs predictions, and retrieves
coremltools/models/ml_program/experimental/torch/perf_utils.py:202
↓ 1 callersMethodbeta1
(self)
coremltools/models/neural_network/update_optimizer_utils.py:73
↓ 1 callersMethodbeta2
(self)
coremltools/models/neural_network/update_optimizer_utils.py:77
↓ 1 callersFunctionbind_ConstructorStats
deps/pybind11/tests/pybind11_tests.cpp:44
↓ 1 callersFunctionbind_empty0
deps/pybind11/tests/test_class.cpp:50
↓ 1 callersMethodbitField
(Class<?> messageType, int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/DescriptorMessageInfoFactory.java:571
↓ 1 callersFunctionbitmask_to_array
(bit)
coremltools/converters/mil/frontend/tensorflow/ops.py:1654
↓ 1 callersFunctionbitsToBytesCeil
mlmodel/src/Validation/QuantizationValidationUtils.hpp:19
↓ 1 callersFunctionblock2_sparsity
(weight: _torch.Tensor)
coremltools/optimize/torch/pruning/_utils.py:182
↓ 1 callersMethodblock_traversal
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1022
↓ 1 callersFunctionbody
(i, h_list)
coremltools/converters/mil/frontend/torch/ops.py:3276
↓ 1 callersMethodbool_
deps/pybind11/include/pybind11/pytypes.h:1801
↓ 1 callersMethodbroken
(InputStream i)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ParseExceptionsTest.java:279
↓ 1 callersFunctionbs_find
(a, i)
coremltools/converters/sklearn/_one_hot_encoder.py:141
↓ 1 callersMethodbufferSize
()
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:76
↓ 1 callersFunctionbuftoint64
deps/protobuf/php/ext/google/protobuf/convert.c:218
↓ 1 callersFunctionbuftouint64
deps/protobuf/php/ext/google/protobuf/convert.c:189
↓ 1 callersMethodbuild
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:1199
↓ 1 callersFunctionbuildBasicUpdatableModelWithMeanSquaredError
mlmodel/tests/UpdatableModelValidatorTests.cpp:730
↓ 1 callersMethodbuildClassFromDescriptor
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptor.java:193
↓ 1 callersMethodbuildDescription
Construct the description string for this exception.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UninitializedMessageException.java:83
↓ 1 callersFunctionbuildEmptyPipelineModel
mlmodel/tests/ModelCreationUtils.cpp:342
↓ 1 callersMethodbuildExtensions
Called by the build code path to create a copy of the extensions for building the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:1447
↓ 1 callersMethodbuildExtensions
Called by the build code path to create a copy of the extensions for building the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:1609
↓ 1 callersMethodbuildFromProto
($proto, $file_proto, $containing)
deps/protobuf/php/src/Google/Protobuf/Internal/Descriptor.php:175
↓ 1 callersMethodbuildMessageInfo
Constructs a {@link MessageInfo} for this message type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:285
↓ 1 callersMethodbuildModuleFromDescriptor
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnumDescriptor.java:151
↓ 1 callersMethodbuildParsed
Helper for DynamicMessage.parseFrom() methods to call. Throws {@link InvalidProtocolBufferException} instead of {@link UninitializedMessageException}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:393
↓ 1 callersMethodbuildPartial
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:303
↓ 1 callersMethodbuildPartial
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:373
↓ 1 callersMethodbuildPayloadWithUnknownEnumValues
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/Proto2UnknownEnumValueTest.java:52
↓ 1 callersMethodbuildWellKnownTypeParsers
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1359
↓ 1 callersMethodbuildWellKnownTypePrinters
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:779
↓ 1 callersFunctionbuild_class_from_descriptor
deps/protobuf/ruby/ext/google/protobuf_c/message.c:1113
↓ 1 callersFunctionbuild_einsum_mil
Get MIL variables as input and build a variable using MIL builder, that contains the output of the einsum equation :param vars:
coremltools/converters/mil/frontend/_utils.py:267
↓ 1 callersFunctionbuild_expected_version_hex
(matches: dict[str, str])
deps/pybind11/setup.py:27
↓ 1 callersFunctionbuild_filedef
deps/protobuf/php/ext/google/protobuf/php-upb.c:6729
↓ 1 callersFunctionbuild_filedef
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6344
↓ 1 callersMethodbuild_int_op
(dequantize: Operation, op: Operation, quantize: Operation)
coremltools/converters/mil/mil/passes/defs/optimize_quantization.py:306
↓ 1 callersFunctionbuild_module_from_enumdesc
deps/protobuf/ruby/ext/google/protobuf_c/message.c:1212
↓ 1 callersMethodbuild_nested_blocks
Build nested blocks (for cond and while_loop and other composite blocks)
coremltools/converters/mil/mil/operation.py:457
↓ 1 callersFunctionbuiltin_to_range
Given a builtin type, return its corresponding range.
coremltools/converters/mil/mil/types/type_mapping.py:257
↓ 1 callersFunctionbuiltin_to_resolution
Given a builtin type, return its corresponding resolution.
coremltools/converters/mil/mil/types/type_mapping.py:250
↓ 1 callersMethodbyteArrayDefaultValue
Helper called by generated code to construct default values for bytes fields. <p>This is like {@link #bytesDefaultValue}, but returns a byte array.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:118
↓ 1 callersMethodbyteAt
(int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/NioByteString.java:74
↓ 1 callersFunctionbyteStringFromUint8ArrayUnsafe
* Constructs a ByteString from an Uint8Array. DON'T MODIFY the underlying * ArrayBuffer, since the ByteString directly uses it without making a copy.
deps/protobuf/js/experimental/runtime/bytestring_internal.js:16
↓ 1 callersMethodbyteorder
Single character for byteorder
deps/pybind11/include/pybind11/numpy.h:737
↓ 1 callersFunctionbytesCompare
* Helper: compare a bytes field to an expected value * @param {Uint8Array|string} arr * @param {Uint8Array} expected * @return {boolean}
deps/protobuf/js/proto3_test.js:56
↓ 1 callersFunctionbytesCompare
* Helper: compare a bytes field to an expected value * @param {Uint8Array|string} arr * @param {Uint8Array} expected * @return {boolean}
deps/protobuf/js/compatibility_tests/v3.1.0/proto3_test.js:52
↓ 1 callersFunctionbytesCompare
* Helper: compare a bytes field to an expected value * @param {Uint8Array|string} arr * @param {Uint8Array} expected * @return {boolean}
deps/protobuf/js/compatibility_tests/v3.0.0/proto3_test.js:52
↓ 1 callersMethodbytesUntilLimit
()
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:375
↓ 1 callersFunctionc_str
deps/pybind11/include/pybind11/detail/internals.h:684
↓ 1 callersMethodcache
Cache inputs and keyword arguments to be fed to first layer of the model which is set up for compression. Args:
coremltools/optimize/torch/layerwise_compression/input_cacher.py:164
↓ 1 callersMethodcalc
deps/kmeans1d/kmeans1d/_core.cpp:145
↓ 1 callersFunctioncalculateCheckLevel
@return {!CheckLevel}
deps/protobuf/js/experimental/runtime/internal/checks.js:55
↓ 1 callersMethodcalculateHashCodeForObject
(Object a)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:161
↓ 1 callersMethodcalculateLabel
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyFieldDescriptor.java:239
↓ 1 callersMethodcalculateSubtype
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyFieldDescriptor.java:249
↓ 1 callersMethodcalculate_qparams
Method that computes, processes and returns the learned quantization parameters.
coremltools/optimize/torch/quantization/modules/learnable_fake_quantize.py:197
↓ 1 callersFunctioncalibration_loader
()
coremltools/test/optimize/torch/conversion/quantization/test_quantization_conversion.py:100
↓ 1 callersFunctioncalibration_loader
()
coremltools/test/optimize/torch/conversion/joint/test_joint_compression_conversion.py:88
↓ 1 callersFunctioncalibration_loader
()
coremltools/test/optimize/torch/conversion/palettization/test_palettization_conversion.py:448
↓ 1 callersFunctioncalibration_loader
()
coremltools/test/optimize/torch/palettization/test_post_training_palettization.py:219
↓ 1 callersMethodcallBlockingMethod
Equivalent to {@link Service#callMethod}, except that {@code callBlockingMethod()} returns the result of the RPC or throws a {@link ServiceException}
deps/protobuf/java/core/src/main/java/com/google/protobuf/BlockingService.java:48
↓ 1 callersMethodcallBlockingMethod
Call the given method of the remote service and blocks until it returns. {@code callBlockingMethod()} is the blocking equivalent to {@link RpcChannel#
deps/protobuf/java/core/src/main/java/com/google/protobuf/BlockingRpcChannel.java:45
↓ 1 callersMethodcallMethod
Call the given method of the remote service. This method is similar to {@code Service.callMethod()} with one important difference: the caller decides
deps/protobuf/java/core/src/main/java/com/google/protobuf/RpcChannel.java:62
↓ 1 callersFunctioncall_operator_delete
deps/pybind11/include/pybind11/pybind11.h:1525
↓ 1 callersFunctioncamel2underscore
($input)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:41
↓ 1 callersFunctioncamelCase
(str)
deps/protobuf/js/commonjs/rewrite_tests_for_commonjs.js:46
↓ 1 callersFunctioncamelCase
(str)
deps/protobuf/js/compatibility_tests/v3.0.0/commonjs/rewrite_tests_for_commonjs.js:46
↓ 1 callersMethodcamelCaseToSnakeCase
(String camelCase)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageLiteToString.java:270
↓ 1 callersFunctioncan_squash
(trans1, trans2)
coremltools/converters/mil/mil/tests/test_block.py:422
↓ 1 callersMethodcan_transpose_pass
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1429
↓ 1 callersFunctioncanonical_shape
Return shape as tuple of int or Symbol. This utility function ensures the shape tuple using a single integer type (to its best effort).
coremltools/converters/mil/mil/types/type_tensor.py:36
↓ 1 callersFunctioncast
deps/pybind11/include/pybind11/eigen/tensor.h:218
↓ 1 callersMethodchar_
Single-character for dtype's type. For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.
deps/pybind11/include/pybind11/numpy.h:721
↓ 1 callersFunctioncheck
deps/pybind11/tests/test_pytypes.cpp:18
↓ 1 callersFunctioncheck
(result)
deps/protobuf/js/binary/utils_test.js:724
↓ 1 callersFunctioncheck
(result)
deps/protobuf/js/compatibility_tests/v3.1.0/binary/utils_test.js:648
↓ 1 callersFunctioncheck
(result)
deps/protobuf/js/compatibility_tests/v3.0.0/binary/utils_test.js:648
↓ 1 callersFunctioncheckAllFields
* Helper: verify contents of given TestAllTypes message as set by * fillAllFields(). * @param {proto.jspb.test.TestAllTypes} original * @param {pro
deps/protobuf/js/binary/proto_test.js:200
↓ 1 callersFunctioncheckAllFields
* Helper: verify contents of given TestAllTypes message as set by * fillAllFields(). * @param {proto.jspb.test.TestAllTypes} original * @param {pro
deps/protobuf/js/compatibility_tests/v3.1.0/binary/proto_test.js:196
↓ 1 callersFunctioncheckAllFields
* Helper: verify contents of given TestAllTypes message as set by * fillAllFields(). * @param {proto.jspb.test.TestAllTypes} original * @param {pro
deps/protobuf/js/compatibility_tests/v3.0.0/binary/proto_test.js:196
↓ 1 callersFunctioncheckCriticalFieldNumber
* Ensures that field number is an integer and within the range of * [1, MAX_FIELD_NUMBER]. * @param {number} fieldNumber * @throws {!Error} If the
deps/protobuf/js/experimental/runtime/internal/checks.js:286
← previousnext →10,501–10,600 of 41,379, ranked by callers