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
↓ 3 callers
Method
get_options
Gets options of a pass that has been set by the user. Return None if the pass doesn't have any associated option set by the user.
coremltools/converters/mil/mil/passes/pass_pipeline.py:352
↓ 3 callers
Function
get_output_names
:param: list[ct.TensorType/ct.ImageType] :return: list[str] or None
coremltools/converters/mil/frontend/_utils.py:434
↓ 3 callers
Function
get_python_state_dict
deps/pybind11/include/pybind11/detail/internals.h:433
↓ 3 callers
Method
get_quantized_per_tensor
Quantizes the provided named var as per quantization params. zero_point will be cast to the appropriate dtype based on torch_dtype.
coremltools/converters/mil/frontend/torch/converter.py:216
↓ 3 callers
Method
get_result
(self)
coremltools/converters/mil/frontend/tensorflow/tf_graph_pass/visitors.py:232
↓ 3 callers
Method
get_scope_info
Get the scope information (``scope_name``, ``scope_type``) of a TorchScript node. In a TorchScript node, a model hierarchy is represe
coremltools/converters/mil/frontend/torch/internal_graph.py:342
↓ 3 callers
Function
get_simple_topk_pixel_unshuffle_program
(opset_version=None)
coremltools/converters/mil/mil/tests/test_programs.py:180
↓ 3 callers
Function
get_str
deps/protobuf/ruby/ext/google/protobuf_c/defs.c:59
↓ 3 callers
Function
get_thread_state_unchecked
deps/pybind11/include/pybind11/detail/type_caster_base.h:517
↓ 3 callers
Method
get_value_and_holder
* Extracts C++ value and holder pointer references from an instance (which may contain multiple * values/holders for python-side multiple inheritance
deps/pybind11/include/pybind11/detail/type_caster_base.h:409
↓ 3 callers
Method
get_var_from_name
(self, name)
coremltools/converters/mil/frontend/milproto/load.py:60
↓ 3 callers
Method
get_version
(self)
mlmodel/docs/readme_session.py:108
↓ 3 callers
Function
ghtonl
=================================================================== emulates google3/util/endian/endian.h TODO(xiaofeng): PROTOBUF_LITTLE_ENDIAN is u
deps/protobuf/src/google/protobuf/stubs/common.cc:301
↓ 3 callers
Method
grouped_channelwise_compress
Compress original_data into n-bit representation by grouped channelwise palettization. Supported nbits: 1, 2, 3, 4, 6, 8 Sup
coremltools/optimize/coreml/_quantization_passes.py:877
↓ 3 callers
Method
hasDefaultValue
Returns true if the field had an explicitly-defined default value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1211
↓ 3 callers
Method
hasExtendee
()
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto.php:362
↓ 3 callers
Method
hasField
(FieldDescriptor field)
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:186
↓ 3 callers
Method
hasField
Check if the given field number is present in the set.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:122
↓ 3 callers
Method
hasJsonValue
($msg)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:604
↓ 3 callers
Method
hasMethod
(Class<?> clazz, String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/FieldPresenceTest.java:54
↓ 3 callers
Method
hasNext
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:311
↓ 3 callers
Method
hasNext
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:634
↓ 3 callers
Function
hasOpsets
mlmodel/src/Utils.cpp:425
↓ 3 callers
Function
has_drive_letter
deps/protobuf/src/google/protobuf/io/io_win32.cc:108
↓ 3 callers
Method
has_extendee
deps/protobuf/src/google/protobuf/descriptor.pb.h:10243
↓ 3 callers
Method
has_key?
(key)
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:193
↓ 3 callers
Function
has_longpath_prefix
deps/protobuf/src/google/protobuf/io/io_win32.cc:114
↓ 3 callers
Method
has_package
deps/protobuf/src/google/protobuf/descriptor.pb.h:8596
↓ 3 callers
Method
hashLong
Helper method for implementing {@link Message#hashCode()} for longs. @see Long#hashCode()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:224
↓ 3 callers
Method
includingDefaultValueFields
Creates a new {@link Printer} that will also print fields set to their defaults. Empty repeated fields and map fields will be printed as well. The new
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:212
↓ 3 callers
Function
infer_complex_dtype
Infers the complex dtype from real and imaginary part's dtypes.
coremltools/converters/mil/mil/types/type_mapping.py:585
↓ 3 callers
Method
init_instance
Performs instance initialization including constructing a holder and registering the known instance. Should be called as soon as the `type` value_ptr
deps/pybind11/include/pybind11/pybind11.h:1955
↓ 3 callers
Function
inline_and_annotate_module
Inlines and annotates a TorchScript module. This function takes a TorchScript module and performs two operations: 1. Inlining: It in
coremltools/models/ml_program/experimental/torch/debugging_utils.py:975
↓ 3 callers
Method
insert_op_before
Insert an op right before before_op. If before_op is None, then the new op is appended in the end.
coremltools/converters/mil/mil/utils.py:98
↓ 3 callers
Method
instance_registered
deps/pybind11/include/pybind11/detail/type_caster_base.h:306
↓ 3 callers
Function
int_tabent
deps/protobuf/php/ext/google/protobuf/php-upb.c:2595
↓ 3 callers
Function
int_tabent
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2595
↓ 3 callers
Function
internal_default_instance
deps/protobuf/src/google/protobuf/type.pb.h:224
↓ 3 callers
Method
intersection
Calculates the intersection of two FieldMasks.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:297
↓ 3 callers
Function
intkey
deps/protobuf/php/ext/google/protobuf/php-upb.c:1922
↓ 3 callers
Function
intkey
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1922
↓ 3 callers
Method
isEmpty
Returns {@code true} if empty, {@code false} otherwise.
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:117
↓ 3 callers
Method
isEnforceUtf8
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5741
↓ 3 callers
Method
isFullRegistry
(ExtensionRegistryLite registry)
deps/protobuf/java/core/src/main/java/com/google/protobuf/ExtensionRegistryFactory.java:74
↓ 3 callers
Method
isLite
Returns whether or not this extension is a Lite Extension.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Extension.java:51
↓ 3 callers
Method
isNegative
Returns whether the given {@link Duration} is negative or not.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Durations.java:148
↓ 3 callers
Method
isNotTrailingByte
Returns whether the byte is not a valid continuation of the form '10XXXXXX'.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java:1976
↓ 3 callers
Method
isPacked
Does this field have the {@code [packed = true]} option or is this field packable in proto3 and not explicitly set to unpacked?
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1193
↓ 3 callers
Method
isRepeated
()
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:127
↓ 3 callers
Function
is_boolean
! @brief return whether value is a boolean This function returns true if and only if the JSON value is a boolean. @return `true` if type
deps/nlohmann/json.hpp:19296
↓ 3 callers
Function
is_function_record_capsule
Determine whether or not the following capsule contains a pybind11 function record. Note that we use `internals` to make sure that only ABI compatible
deps/pybind11/include/pybind11/detail/internals.h:708
↓ 3 callers
Function
isxdigit
The definitions of these in ctype.h change based on locale. Since our string manipulation is all in relation to the protocol buffer and C++ languages
deps/protobuf/src/google/protobuf/stubs/strutil.cc:72
↓ 3 callers
Method
iterator
Return a {@link ByteString.ByteIterator} over the bytes in the ByteString. To avoid auto-boxing, you may get the iterator manually and call {@link Byt
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:174
↓ 3 callers
Method
iterator
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:468
↓ 3 callers
Function
jsondec_arrend
deps/protobuf/php/ext/google/protobuf/php-upb.c:7542
↓ 3 callers
Function
jsondec_arrend
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7157
↓ 3 callers
Function
jsondec_arrnext
deps/protobuf/php/ext/google/protobuf/php-upb.c:7547
↓ 3 callers
Function
jsondec_arrnext
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7162
↓ 3 callers
Function
jsondec_arrstart
deps/protobuf/php/ext/google/protobuf/php-upb.c:7537
↓ 3 callers
Function
jsondec_arrstart
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7152
↓ 3 callers
Function
jsondec_false
deps/protobuf/php/ext/google/protobuf/php-upb.c:7467
↓ 3 callers
Function
jsondec_false
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7082
↓ 3 callers
Function
jsondec_tomsg
deps/protobuf/php/ext/google/protobuf/php-upb.c:8229
↓ 3 callers
Function
jsondec_tomsg
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7844
↓ 3 callers
Function
jsondec_true
deps/protobuf/php/ext/google/protobuf/php-upb.c:7466
↓ 3 callers
Function
jsondec_true
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7081
↓ 3 callers
Function
jsondec_wellknownvalue
deps/protobuf/php/ext/google/protobuf/php-upb.c:8512
↓ 3 callers
Function
jsondec_wellknownvalue
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8127
↓ 3 callers
Function
jsonenc_msgfield
deps/protobuf/php/ext/google/protobuf/php-upb.c:9294
↓ 3 callers
Function
jsonenc_msgfield
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8909
↓ 3 callers
Function
jsonenc_value
deps/protobuf/php/ext/google/protobuf/php-upb.c:9262
↓ 3 callers
Function
jsonenc_value
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8877
↓ 3 callers
Function
keep_alive_impl
deps/pybind11/include/pybind11/pybind11.h:2318
↓ 3 callers
Method
key
(self)
coremltools/models/ml_program/experimental/torch/debugging_utils.py:103
↓ 3 callers
Method
kvUpdateHelper
($field, $update_key, $update_value)
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1948
↓ 3 callers
Method
listen
()
coremltools/modelrunner/ModelRunner/DirectoryMonitor.swift:84
↓ 3 callers
Method
load
Loads the model on the remote device asynchronously.
coremltools/models/ml_program/experimental/remote_device.py:2392
↓ 3 callers
Method
loadClass
(String name, boolean resolve)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ExtensionRegistryFactoryTest.java:277
↓ 3 callers
Method
makeTag
($number, $type)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:396
↓ 3 callers
Function
make_key_iterator
deps/pybind11/include/pybind11/pybind11.h:2525
↓ 3 callers
Function
make_nn_classifier
Convert a model of type "neuralNetwork" to type "neuralNetworkClassifier" Parameters ---------- TODO Returns ------- mo
coremltools/models/neural_network/utils.py:75
↓ 3 callers
Method
markClean
Called by the subclass or a builder to notify us that a message was built and may be cached and therefore invalidations are needed.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:423
↓ 3 callers
Function
measure
(_ body: () throws -> T)
coremltools/modelrunner/ModelRunner/ModelService.swift:20
↓ 3 callers
Method
mergeField
Parse a single field from {@code tokenizer} and merge it into {@code builder}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1768
↓ 3 callers
Method
mergeFromFieldMask
Merges all field paths in a FieldMask into this tree.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java:131
↓ 3 callers
Method
mergeIntoSelf
(final ThreadContext context, IRubyObject hashmap)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java:406
↓ 3 callers
Method
mergeOneFieldFrom
Merges one field into the unknown fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:81
↓ 3 callers
Method
messageFactory
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/AbstractProto2SchemaTest.java:48
↓ 3 callers
Method
messageFactory
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/AbstractSchemaTest.java:61
↓ 3 callers
Method
messageFactory
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/AbstractProto2LiteSchemaTest.java:48
↓ 3 callers
Function
metaclass
Override pybind11's default metaclass
deps/pybind11/include/pybind11/attr.h:92
↓ 3 callers
Method
mungedBytes
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/NioByteStringTest.java:611
↓ 3 callers
Method
mutable_content
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1606
↓ 3 callers
Function
mutable_data
deps/pybind11/include/pybind11/numpy.h:1224
↓ 3 callers
Method
mutable_dependency
deps/protobuf/src/google/protobuf/descriptor.pb.h:8682
↓ 3 callers
Method
mutable_enum_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:8879
↓ 3 callers
Method
mutable_file
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1851
↓ 3 callers
Method
mutable_source_code_info
deps/protobuf/src/google/protobuf/descriptor.pb.h:9144
↓ 3 callers
Function
mutable_string_data
Return a pointer to mutable characters underlying the given string. The return value is valid until the next time the string is resized. We trust th
deps/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h:387
↓ 3 callers
Method
mutable_type_name
deps/protobuf/src/google/protobuf/descriptor.pb.h:10192
← previous
next →
4,501–4,600 of 41,379, ranked by callers