Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ functions
Functions
41,379 in github.com/apple/coremltools
⨍
Functions
41,379
◇
Types & classes
6,698
↳
Endpoints
1,092
↓ 1 callers
Function
assign_both
(a1, a2, r, c, v)
deps/pybind11/tests/test_eigen_matrix.py:251
↓ 1 callers
Function
assign_ids_to_block_operations
( block_spec: proto.MIL_pb2.Block, )
coremltools/models/ml_program/experimental/compute_plan_utils.py:426
↓ 1 callers
Function
assign_layout_indices
deps/protobuf/php/ext/google/protobuf/php-upb.c:5834
↓ 1 callers
Function
assign_layout_indices
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5449
↓ 1 callers
Function
assign_msg_wellknowntype
deps/protobuf/php/ext/google/protobuf/php-upb.c:5027
↓ 1 callers
Function
assign_msg_wellknowntype
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4642
↓ 1 callers
Function
at
! @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 callers
Function
auto_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 callers
Function
auxiliaries
deps/pybind11/tests/test_numpy_array.cpp:142
↓ 1 callers
Method
available
(InputStream input)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2096
↓ 1 callers
Method
backward_3d
(X, C, grad_output)
coremltools/optimize/torch/palettization/fake_palettize.py:759
↓ 1 callers
Method
balance
(ByteString left, ByteString right)
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:634
↓ 1 callers
Method
balancedConcat
(Iterator<ByteString> iterator, int length)
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:627
↓ 1 callers
Method
bar
deps/pybind11/tests/test_multiple_inheritance.cpp:100
↓ 1 callers
Method
batch
(iterable, batch_size: int = 1)
coremltools/optimize/coreml/experimental/_model_debugger.py:53
↓ 1 callers
Method
benchmark_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 callers
Method
benchmark_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 callers
Method
beta1
(self)
coremltools/models/neural_network/update_optimizer_utils.py:73
↓ 1 callers
Method
beta2
(self)
coremltools/models/neural_network/update_optimizer_utils.py:77
↓ 1 callers
Function
bind_ConstructorStats
deps/pybind11/tests/pybind11_tests.cpp:44
↓ 1 callers
Function
bind_empty0
deps/pybind11/tests/test_class.cpp:50
↓ 1 callers
Method
bitField
(Class<?> messageType, int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/DescriptorMessageInfoFactory.java:571
↓ 1 callers
Function
bitmask_to_array
(bit)
coremltools/converters/mil/frontend/tensorflow/ops.py:1654
↓ 1 callers
Function
bitsToBytesCeil
mlmodel/src/Validation/QuantizationValidationUtils.hpp:19
↓ 1 callers
Function
block2_sparsity
(weight: _torch.Tensor)
coremltools/optimize/torch/pruning/_utils.py:182
↓ 1 callers
Method
block_traversal
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1022
↓ 1 callers
Function
body
(i, h_list)
coremltools/converters/mil/frontend/torch/ops.py:3276
↓ 1 callers
Method
bool_
deps/pybind11/include/pybind11/pytypes.h:1801
↓ 1 callers
Method
broken
(InputStream i)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ParseExceptionsTest.java:279
↓ 1 callers
Function
bs_find
(a, i)
coremltools/converters/sklearn/_one_hot_encoder.py:141
↓ 1 callers
Method
bufferSize
()
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:76
↓ 1 callers
Function
buftoint64
deps/protobuf/php/ext/google/protobuf/convert.c:218
↓ 1 callers
Function
buftouint64
deps/protobuf/php/ext/google/protobuf/convert.c:189
↓ 1 callers
Method
build
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:1199
↓ 1 callers
Function
buildBasicUpdatableModelWithMeanSquaredError
mlmodel/tests/UpdatableModelValidatorTests.cpp:730
↓ 1 callers
Method
buildClassFromDescriptor
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptor.java:193
↓ 1 callers
Method
buildDescription
Construct the description string for this exception.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UninitializedMessageException.java:83
↓ 1 callers
Function
buildEmptyPipelineModel
mlmodel/tests/ModelCreationUtils.cpp:342
↓ 1 callers
Method
buildExtensions
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 callers
Method
buildExtensions
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 callers
Method
buildFromProto
($proto, $file_proto, $containing)
deps/protobuf/php/src/Google/Protobuf/Internal/Descriptor.php:175
↓ 1 callers
Method
buildMessageInfo
Constructs a {@link MessageInfo} for this message type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:285
↓ 1 callers
Method
buildModuleFromDescriptor
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnumDescriptor.java:151
↓ 1 callers
Method
buildParsed
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 callers
Method
buildPartial
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:303
↓ 1 callers
Method
buildPartial
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:373
↓ 1 callers
Method
buildPayloadWithUnknownEnumValues
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/Proto2UnknownEnumValueTest.java:52
↓ 1 callers
Method
buildWellKnownTypeParsers
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1359
↓ 1 callers
Method
buildWellKnownTypePrinters
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:779
↓ 1 callers
Function
build_class_from_descriptor
deps/protobuf/ruby/ext/google/protobuf_c/message.c:1113
↓ 1 callers
Function
build_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 callers
Function
build_expected_version_hex
(matches: dict[str, str])
deps/pybind11/setup.py:27
↓ 1 callers
Function
build_filedef
deps/protobuf/php/ext/google/protobuf/php-upb.c:6729
↓ 1 callers
Function
build_filedef
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6344
↓ 1 callers
Method
build_int_op
(dequantize: Operation, op: Operation, quantize: Operation)
coremltools/converters/mil/mil/passes/defs/optimize_quantization.py:306
↓ 1 callers
Function
build_module_from_enumdesc
deps/protobuf/ruby/ext/google/protobuf_c/message.c:1212
↓ 1 callers
Method
build_nested_blocks
Build nested blocks (for cond and while_loop and other composite blocks)
coremltools/converters/mil/mil/operation.py:457
↓ 1 callers
Function
builtin_to_range
Given a builtin type, return its corresponding range.
coremltools/converters/mil/mil/types/type_mapping.py:257
↓ 1 callers
Function
builtin_to_resolution
Given a builtin type, return its corresponding resolution.
coremltools/converters/mil/mil/types/type_mapping.py:250
↓ 1 callers
Method
byteArrayDefaultValue
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 callers
Method
byteAt
(int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/NioByteString.java:74
↓ 1 callers
Function
byteStringFromUint8ArrayUnsafe
* 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 callers
Method
byteorder
Single character for byteorder
deps/pybind11/include/pybind11/numpy.h:737
↓ 1 callers
Function
bytesCompare
* 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 callers
Function
bytesCompare
* 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 callers
Function
bytesCompare
* 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 callers
Method
bytesUntilLimit
()
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:375
↓ 1 callers
Function
c_str
deps/pybind11/include/pybind11/detail/internals.h:684
↓ 1 callers
Method
cache
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 callers
Method
calc
deps/kmeans1d/kmeans1d/_core.cpp:145
↓ 1 callers
Function
calculateCheckLevel
@return {!CheckLevel}
deps/protobuf/js/experimental/runtime/internal/checks.js:55
↓ 1 callers
Method
calculateHashCodeForObject
(Object a)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:161
↓ 1 callers
Method
calculateLabel
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyFieldDescriptor.java:239
↓ 1 callers
Method
calculateSubtype
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyFieldDescriptor.java:249
↓ 1 callers
Method
calculate_qparams
Method that computes, processes and returns the learned quantization parameters.
coremltools/optimize/torch/quantization/modules/learnable_fake_quantize.py:197
↓ 1 callers
Function
calibration_loader
()
coremltools/test/optimize/torch/conversion/quantization/test_quantization_conversion.py:100
↓ 1 callers
Function
calibration_loader
()
coremltools/test/optimize/torch/conversion/joint/test_joint_compression_conversion.py:88
↓ 1 callers
Function
calibration_loader
()
coremltools/test/optimize/torch/conversion/palettization/test_palettization_conversion.py:448
↓ 1 callers
Function
calibration_loader
()
coremltools/test/optimize/torch/palettization/test_post_training_palettization.py:219
↓ 1 callers
Method
callBlockingMethod
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 callers
Method
callBlockingMethod
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 callers
Method
callMethod
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 callers
Function
call_operator_delete
deps/pybind11/include/pybind11/pybind11.h:1525
↓ 1 callers
Function
camel2underscore
($input)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:41
↓ 1 callers
Function
camelCase
(str)
deps/protobuf/js/commonjs/rewrite_tests_for_commonjs.js:46
↓ 1 callers
Function
camelCase
(str)
deps/protobuf/js/compatibility_tests/v3.0.0/commonjs/rewrite_tests_for_commonjs.js:46
↓ 1 callers
Method
camelCaseToSnakeCase
(String camelCase)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageLiteToString.java:270
↓ 1 callers
Function
can_squash
(trans1, trans2)
coremltools/converters/mil/mil/tests/test_block.py:422
↓ 1 callers
Method
can_transpose_pass
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1429
↓ 1 callers
Function
canonical_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 callers
Function
cast
deps/pybind11/include/pybind11/eigen/tensor.h:218
↓ 1 callers
Method
char_
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 callers
Function
check
deps/pybind11/tests/test_pytypes.cpp:18
↓ 1 callers
Function
check
(result)
deps/protobuf/js/binary/utils_test.js:724
↓ 1 callers
Function
check
(result)
deps/protobuf/js/compatibility_tests/v3.1.0/binary/utils_test.js:648
↓ 1 callers
Function
check
(result)
deps/protobuf/js/compatibility_tests/v3.0.0/binary/utils_test.js:648
↓ 1 callers
Function
checkAllFields
* 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 callers
Function
checkAllFields
* 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 callers
Function
checkAllFields
* 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 callers
Function
checkCriticalFieldNumber
* 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
← previous
next →
10,501–10,600 of 41,379, ranked by callers