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
checkCriticalRange
* Ensures the range of [start, end) is with the range of [0, size). * @param {number} start * @param {number} end * @param {number} size * @throws
deps/protobuf/js/experimental/runtime/internal/checks.js:214
↓ 1 callers
Function
checkCriticalTypeIterable
* Checks whether a given object is an iterable. * @param {*} value * @return {!Iterable<*>}
deps/protobuf/js/experimental/runtime/internal/checks.js:353
↓ 1 callers
Function
checkCriticalWireType
* Ensures that wire type is valid. * @param {!WireType} wireType * @throws {!Error} If the wire type is invalid and the check state is critical.
deps/protobuf/js/experimental/runtime/internal/checks.js:312
↓ 1 callers
Method
checkEqualsIsConsistent
Asserts that the given field sets are equal and have identical hash codes.
deps/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java:390
↓ 1 callers
Method
checkEqualsIsConsistent
Asserts that the given proto has symmetric equals and hashCode methods.
deps/protobuf/java/core/src/test/java/com/google/protobuf/AbstractMessageTest.java:549
↓ 1 callers
Function
checkExtensions
* Helper: verify that all expected extensions are present. * @param {!proto.jspb.test.TestExtendable} msg
deps/protobuf/js/binary/proto_test.js:285
↓ 1 callers
Function
checkExtensions
* Helper: verify that all expected extensions are present. * @param {!proto.jspb.test.TestExtendable} msg
deps/protobuf/js/compatibility_tests/v3.1.0/binary/proto_test.js:280
↓ 1 callers
Function
checkExtensions
* Helper: verify that all expected extensions are present. * @param {!proto.jspb.test.TestExtendable} msg
deps/protobuf/js/compatibility_tests/v3.0.0/binary/proto_test.js:280
↓ 1 callers
Method
checkForNullKeysAndValues
(Map<?, ?> m)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:118
↓ 1 callers
Method
checkMapField
(&$var, $key_type, $value_type, $klass = null)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:227
↓ 1 callers
Function
checkMapFields
(msg)
deps/protobuf/js/maps_test.js:131
↓ 1 callers
Function
checkMapFields
(msg)
deps/protobuf/js/compatibility_tests/v3.1.0/maps_test.js:113
↓ 1 callers
Method
checkNotEqual
Asserts that the given field sets are not equal and have different hash codes. <p><b>Note:</b> It's valid for non-equal objects to have the same hash
deps/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java:379
↓ 1 callers
Method
checkNotEqual
Asserts that the given protos are not equal and have different hash codes. <p><b>Note:</b> It's valid for non-equal objects to have the same hash cod
deps/protobuf/java/core/src/test/java/com/google/protobuf/AbstractMessageTest.java:571
↓ 1 callers
Function
checkSingleWeightType
Returns true if the weight params object has only a single type encoded in it
mlmodel/src/Validation/ValidatorUtils-inl.hpp:31
↓ 1 callers
Function
checkTypeDouble
* Checks whether a given object is a number. * @param {*} value * @throws {!Error} If the value is not float and the check state is debug.
deps/protobuf/js/experimental/runtime/internal/checks.js:412
↓ 1 callers
Function
checkTypeFloat
* Checks whether a given object is a number and within float32 precision. * @param {*} value * @throws {!Error} If the value is not float and the ch
deps/protobuf/js/experimental/runtime/internal/checks.js:538
↓ 1 callers
Method
checkUnknownFields
(final List<UnknownField> unknownFields)
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1709
↓ 1 callers
Method
checkUnsetIncludingDefaultValueFields
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:274
↓ 1 callers
Method
checkUnsetPrintingEnumsAsInts
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:244
↓ 1 callers
Function
checkWireType
* Ensures that wire type is valid. * @param {!WireType} wireType * @throws {!Error} If the wire type is invalid and the check state is debug.
deps/protobuf/js/experimental/runtime/internal/checks.js:300
↓ 1 callers
Method
check_app_signing_credentials
( cls, credentials: AppSigningCredentials, )
coremltools/models/ml_program/experimental/remote_device.py:1141
↓ 1 callers
Method
check_cos
(model: Union[ct.models.MLModel, ct.models.CompiledMLModel])
coremltools/converters/mil/backend/mil/test_load.py:548
↓ 1 callers
Function
check_deployment_compatibility
(spec, representation, deployment_target)
coremltools/converters/mil/_deployment_compatibility.py:146
↓ 1 callers
Method
check_holder_compat
deps/pybind11/include/pybind11/detail/type_caster_base.h:673
↓ 1 callers
Function
check_if_number_of_inputs_expected
(num_inputs: int, expected: Union[int, List, Tuple])
coremltools/converters/mil/frontend/torch/ops.py:272
↓ 1 callers
Function
check_if_number_of_inputs_more_than_min_expected
(num_inputs: int, min_expected: int)
coremltools/converters/mil/frontend/torch/ops.py:279
↓ 1 callers
Method
check_ops
Returns the set of ops in @self.graph that are implemented, and the set for which no conversion function is registered.
coremltools/converters/mil/frontend/torch/converter.py:1248
↓ 1 callers
Function
check_output_shapes
x: list[Var] or tuple[Var] node: ParsedTFNode
coremltools/converters/mil/frontend/tensorflow/convert_utils.py:40
↓ 1 callers
Method
check_placeholder_output
Handle the cases where placeholder is output. There is a case where the program is like main(%Placeholder: (5,fp32)) {
coremltools/converters/mil/frontend/tensorflow/converter.py:376
↓ 1 callers
Method
check_sin
(model: Union[ct.models.MLModel, ct.models.CompiledMLModel])
coremltools/converters/mil/backend/mil/test_load.py:541
↓ 1 callers
Method
check_state_model
(mlmodel, expected_ops, run_prediction=True)
coremltools/converters/mil/frontend/torch/test/test_torch_stateful_model.py:898
↓ 1 callers
Method
class_
deps/pybind11/include/pybind11/pybind11.h:1614
↓ 1 callers
Function
class_wrapper
(pass_cls: Type[AbstractGraphPass])
coremltools/converters/mil/mil/passes/pass_registry.py:61
↓ 1 callers
Method
cleanup
(self)
coremltools/optimize/torch/layerwise_compression/algorithms.py:324
↓ 1 callers
Method
clear
* Clear all containing fields. * @return null. */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:548
↓ 1 callers
Method
clear
(final Builder builder)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:2507
↓ 1 callers
Method
clear
(Builder builder)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:2649
↓ 1 callers
Method
clear
(final Builder builder)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2556
↓ 1 callers
Method
clear
(Builder builder)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2711
↓ 1 callers
Method
clear
Clears the value of the field. @return the builder
deps/protobuf/java/core/src/main/java/com/google/protobuf/SingleFieldBuilderV3.java:190
↓ 1 callers
Method
clearField
(FieldDescriptor field)
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:550
↓ 1 callers
Method
clearKey
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:276
↓ 1 callers
Method
clearMessage
* @param {number} typeId
deps/protobuf/js/experimental/runtime/kernel/message_set.js:144
↓ 1 callers
Method
clearOneof
Clears the oneof. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the oneof.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:287
↓ 1 callers
Method
clearValue
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:288
↓ 1 callers
Method
clear_extension_range
deps/protobuf/src/google/protobuf/descriptor.pb.h:9688
↓ 1 callers
Method
clear_file
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1848
↓ 1 callers
Function
clear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
deps/pybind11/include/pybind11/detail/class.h:416
↓ 1 callers
Method
clear_json_name
string json_name = 10;
deps/protobuf/src/google/protobuf/type.pb.h:1944
↓ 1 callers
Method
clear_package
deps/protobuf/src/google/protobuf/descriptor.pb.h:8599
↓ 1 callers
Method
clear_path
deps/protobuf/src/google/protobuf/descriptor.pb.h:14104
↓ 1 callers
Function
clear_patients
deps/pybind11/include/pybind11/detail/class.h:389
↓ 1 callers
Method
clear_values
deps/protobuf/src/google/protobuf/struct.pb.h:1122
↓ 1 callers
Method
client_streaming
deps/protobuf/src/google/protobuf/descriptor.pb.h:11842
↓ 1 callers
Method
clone
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/AbstractMessageTest.java:136
↓ 1 callers
Method
cloneFieldEntry
( Map<T, Object> map, Map.Entry<T, Object> entry, boolean copyList)
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:214
↓ 1 callers
Method
clone_spec
(cls, spec)
coremltools/optimize/coreml/experimental/_model_debugger.py:142
↓ 1 callers
Function
close_no_eintr
EINTR sucks.
deps/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:73
↓ 1 callers
Function
codePointsToString
* Combines an array of codePoints into a string. * @param {!Array<number>} codePoints * @return {string}
deps/protobuf/js/experimental/runtime/kernel/textencoding.js:13
↓ 1 callers
Method
coded_tag
deps/protobuf/src/google/protobuf/generated_message_tctable_decl.h:59
↓ 1 callers
Method
codepoints
(String str)
deps/protobuf/java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java:342
↓ 1 callers
Method
coerceType
(final Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:2916
↓ 1 callers
Method
coerceType
(final Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2970
↓ 1 callers
Function
combine
boost::hash_combine
deps/nlohmann/json.hpp:4891
↓ 1 callers
Method
compare
Compares two timestamps. The value returned is identical to what would be returned by: {@code Timestamps.comparator().compare(x, y)}. @return the val
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Timestamps.java:134
↓ 1 callers
Method
compare
Compares two durations. The value returned is identical to what would be returned by: {@code Durations.comparator().compare(x, y)}. @return the value
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Durations.java:105
↓ 1 callers
Function
compareArrayTypes
mlmodel/src/Comparison.cpp:194
↓ 1 callers
Method
compareBytes
Compares two bytes fields. The parameters must be either a byte array or a ByteString object. They can be of different type though.
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:183
↓ 1 callers
Function
compareDictionaryTypes
mlmodel/src/Comparison.cpp:216
↓ 1 callers
Function
compareImageTypes
mlmodel/src/Comparison.cpp:226
↓ 1 callers
Method
compareMapField
Compares two map fields. The parameters must be a list of MapEntry messages.
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:219
↓ 1 callers
Function
compareSequenceTypes
mlmodel/src/Comparison.cpp:242
↓ 1 callers
Function
compareStateTypes
mlmodel/src/Comparison.cpp:256
↓ 1 callers
Method
compareTo
(Entry other)
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:423
↓ 1 callers
Function
compare_elem
(dt, ds)
coremltools/converters/mil/frontend/tensorflow/convert_utils.py:21
↓ 1 callers
Function
compare_models
Utility function to compare the performance of a full precision vs quantized model full_precision_model: MLModel The full precision
coremltools/models/neural_network/quantization_utils.py:1419
↓ 1 callers
Function
compare_shapes
Inputs: - mlmodel: MLModel. - input_key_values: str -> np.array or PIL.Image. Keys must match those in input_placehold
coremltools/converters/mil/testing_utils.py:465
↓ 1 callers
Function
compatible_shapes
(tf_shape, inf_shape)
coremltools/converters/mil/frontend/tensorflow/convert_utils.py:20
↓ 1 callers
Method
complete
Completes the write operation and returns a queue of {@link AllocatedBuffer} objects in forward-writing order. This method should only be called once.
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:165
↓ 1 callers
Function
componentsJoinedBy
mlmodel/src/Validation/ValidatorUtils-inl.hpp:259
↓ 1 callers
Method
computeByteBufferSizeNoTag
Compute the number of bytes that would be needed to encode a {@code bytes} field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:871
↓ 1 callers
Method
computeLazyFieldMessageSetExtensionSize
Compute the number of bytes that would be needed to encode a lazily parsed MessageSet extension field to the stream. For historical reasons, the wire
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:699
↓ 1 callers
Method
computeMessageSize
Computes the message size for the provided key and value as though they were wrapped by a {@link MapEntryLite}. This helper method avoids allocation o
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntryLite.java:156
↓ 1 callers
Function
compute_SNR_and_PSNR
(x, y)
coremltools/test/optimize/torch/conversion/conversion_utils.py:121
↓ 1 callers
Function
compute_boundaries
deps/nlohmann/json.hpp:14800
↓ 1 callers
Function
compute_gather_helper
(params, indices, axis)
coremltools/converters/mil/mil/ops/defs/_utils.py:396
↓ 1 callers
Function
compute_ground_truth_answer
(input)
coremltools/test/ml_program/experimental/test_debugging_utils.py:43
↓ 1 callers
Function
compute_inertial
Compute the inertia (k-means loss, i.e. weighted sum of squared differences)
deps/kmeans1d/tests/test_kmeans1d.py:33
↓ 1 callers
Method
compute_mask
(self, t: _torch.Tensor, default_mask: _torch.Tensor)
coremltools/optimize/torch/pruning/magnitude_pruner.py:407
↓ 1 callers
Function
compute_max_rank
(graph)
coremltools/converters/mil/frontend/tensorflow/tf_graph_pass/cond_to_where.py:13
↓ 1 callers
Function
compute_qparams_by_dtype
Similar to `compute_qparams`, ut use `dtype` to specify quant dtype.
coremltools/optimize/_utils.py:246
↓ 1 callers
Function
compute_snr_and_psnr
Compute the Signal-to-Noise Ratio (SNR) and Peak Signal-to-Noise Ratio (PSNR) between two signals. This function calculates the SNR and PSNR
coremltools/models/ml_program/experimental/debugging_utils.py:1170
↓ 1 callers
Method
compute_sparsity
Compute the sparsity at the next step given the previous sparsity and the module optimization config. Args: step
coremltools/optimize/torch/pruning/pruning_scheduler.py:34
↓ 1 callers
Method
concatenateBytes
Concatenates two strings by copying data values. This is called in a few cases in order to reduce the growth of the number of tree nodes. @param left
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:230
↓ 1 callers
Method
cond_to_where
(self, graph)
coremltools/converters/mil/frontend/tensorflow/tf_graph_pass/cond_to_where.py:97
↓ 1 callers
Function
connect_dests
(g, source, dests)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:91
↓ 1 callers
Function
connect_global_initializer
(graph)
coremltools/converters/mil/frontend/tensorflow/convert_utils.py:74
↓ 1 callers
Function
connect_sources
(g, sources, dest)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:96
↓ 1 callers
Method
constRefQualified
deps/pybind11/tests/test_methods_and_attributes.cpp:169
← previous
next →
10,601–10,700 of 41,379, ranked by callers