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
↓ 9 callers
Method
addFloat
Like {@link #add(Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:677
↓ 9 callers
Method
addInt
Like {@link #add(Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:597
↓ 9 callers
Method
addItem
modelpackage/src/ModelPackage.cpp:409
↓ 9 callers
Method
addLengthDelimited
Add a length-delimited value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:1035
↓ 9 callers
Method
addLong
Like {@link #add(Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:637
↓ 9 callers
Method
add_message_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:8858
↓ 9 callers
Method
add_values
deps/protobuf/src/google/protobuf/struct.pb.h:1144
↓ 9 callers
Method
asReadOnlyByteBuffer
Constructs a read-only {@code java.nio.ByteBuffer} whose content is equal to the contents of this byte string. The result uses the same backing array
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:777
↓ 9 callers
Method
assertAllFieldsSetViaReflection
Assert (using {@code junit.framework.Assert}} that all fields of {@code message} are set to the values assigned by {@code setAllFields}, using the {@l
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3039
↓ 9 callers
Method
assertStringContains
* Polyfill for phpunit6. */
deps/protobuf/php/tests/test_base.php:18
↓ 9 callers
Method
bar
(self)
deps/pybind11/tests/test_multiple_inheritance.py:42
↓ 9 callers
Function
begin
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:305
↓ 9 callers
Function
buildBasicUpdatableModelWithCategoricalCrossEntropyAndSoftmax
mlmodel/tests/UpdatableModelValidatorTests.cpp:715
↓ 9 callers
Method
camelcase_name
Camelcase name of this field. Returns: str: the name in CamelCase.
deps/protobuf/python/google/protobuf/descriptor.py:610
↓ 9 callers
Method
cardinality
deps/protobuf/src/google/protobuf/type.pb.h:1728
↓ 9 callers
Function
checkCriticalTypeSignedInt32Array
* Checks whether a given object is an array of numbers. * @param {*} values
deps/protobuf/js/experimental/runtime/internal/checks.js:478
↓ 9 callers
Function
checkCriticalTypeSignedInt64Array
* Checks whether a given object is an array of long instances. * @param {*} values * @throws {!Error} If values is not an array of long instances.
deps/protobuf/js/experimental/runtime/internal/checks.js:522
↓ 9 callers
Method
checkFieldNumber
(int fieldNumber)
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:259
↓ 9 callers
Function
checkInstanceCreator
* Checks if the instanceCreator returns an instance that implements the * InternalMessage interface. * @param {function(!Kernel):T} instanceCreator
deps/protobuf/js/experimental/runtime/kernel/kernel.js:61
↓ 9 callers
Method
checkNotLite
Checks that the {@link Extension} is non-Lite and returns it as a {@link GeneratedExtension}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:3008
↓ 9 callers
Method
checkNotLite
Checks that the {@link Extension} is non-Lite and returns it as a {@link GeneratedExtension}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:3062
↓ 9 callers
Function
compile_model
Compiles a Core ML model. Parameters ---------- model: Model_pb2 | str Either a Core ML model specification (protobuf object
coremltools/models/utils.py:1044
↓ 9 callers
Method
compress
Compresses model using samples from ``dataloader``. Args: dataloader (:py:class:`Iterable`): An iterable where each elem
coremltools/optimize/torch/layerwise_compression/layerwise_compressor.py:407
↓ 9 callers
Method
computeUInt64SizeNoTag
Compute the number of bytes that would be needed to encode a {@code uint64} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:770
↓ 9 callers
Method
copyMemory
(byte[] src, long srcIndex, long targetOffset, long length)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:241
↓ 9 callers
Method
decodeFixed32
Decodes and returns a fixed32 value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:154
↓ 9 callers
Method
decodeFixed64
Decodes and returns a fixed64 value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:162
↓ 9 callers
Function
delim
deps/protobuf/conformance/binary_json_conformance_suite.cc:140
↓ 9 callers
Function
elements
Return pointer to elements array. pre-condition: the array must have been allocated.
deps/protobuf/src/google/protobuf/repeated_field.h:352
↓ 9 callers
Function
empty
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:240
↓ 9 callers
Method
enummodule
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnumDescriptor.java:104
↓ 9 callers
Method
f
Shorthand to get a FieldDescriptor for a field of unittest::TestAllTypes.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:2779
↓ 9 callers
Function
fft_canonicalize_shapes_dims
Canonicalize shapes and dims for N-D FFT (based on PyTorch's fftn documentation): - shapes: Signal size in the transformed dimensions. If giv
coremltools/converters/mil/mil/ops/defs/complex_dialect_ops.py:65
↓ 9 callers
Method
field
(Class<?> clazz, String name)
deps/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java:1313
↓ 9 callers
Method
field
(String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java:872
↓ 9 callers
Method
fields_size
deps/protobuf/src/google/protobuf/type.pb.h:1440
↓ 9 callers
Method
finalize
Removes :py:class:`FakePalettize` layers from a model and creates new model weights from the ``LUT`` and ``indices`` buffers.
coremltools/optimize/torch/palettization/palettizer.py:299
↓ 9 callers
Method
findValueByName
Find an enum value by name. @param name The unqualified name of the value (e.g. "FOO"). @return the value's descriptor, or {@code null} if not found.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1797
↓ 9 callers
Method
from_state_dict
Initialize per parameter CompressionMetadata from state_dict
coremltools/optimize/torch/_utils/metadata_utils.py:119
↓ 9 callers
Method
func
(self, x, *args)
deps/pybind11/tests/test_pytypes.py:387
↓ 9 callers
Method
getDescriptorByClassName
* @param string $className A fully qualified protobuf class name * @return Descriptor */
deps/protobuf/php/src/Google/Protobuf/DescriptorPool.php:61
↓ 9 callers
Method
getDescriptorForField
(ThreadContext context, FieldDescriptor fieldDescriptor)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:1096
↓ 9 callers
Method
getFieldInternal
(ThreadContext context, FieldDescriptor fieldDescriptor)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:942
↓ 9 callers
Method
getFields
()
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyOneofDescriptor.java:66
↓ 9 callers
Method
getFromMessage
Get the unknown fields from the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:69
↓ 9 callers
Method
getKey
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:413
↓ 9 callers
Method
getMessageSetWireFormat
* Set true to use the old proto1 MessageSet wire format for extensions. * This is provided for backwards-compatibility with the MessageSet wire
deps/protobuf/php/src/Google/Protobuf/Internal/MessageOptions.php:164
↓ 9 callers
Method
getMethodOrDie
Calls Class.getMethod and throws a RuntimeException if it fails.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:1840
↓ 9 callers
Method
getName
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptor.java:78
↓ 9 callers
Method
getOneofs
Get a list of this message type's oneofs.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:720
↓ 9 callers
Method
getPackage
Get the proto package name. This is the package name given by the {@code package} statement in the {@code .proto} file, which differs from the Java pa
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:124
↓ 9 callers
Method
getSetter
()
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:92
↓ 9 callers
Method
getType
* @return int */
deps/protobuf/php/src/Google/Protobuf/FieldDescriptor.php:79
↓ 9 callers
Method
has_optional_keyword
deps/protobuf/src/google/protobuf/descriptor.h:2291
↓ 9 callers
Method
has_options
deps/protobuf/src/google/protobuf/descriptor.pb.h:8995
↓ 9 callers
Method
insert
deps/pybind11/include/pybind11/pytypes.h:2195
↓ 9 callers
Method
internalGetFieldAccessorTable
Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with Descr
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:104
↓ 9 callers
Method
internalGetFieldAccessorTable
Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with Descr
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:129
↓ 9 callers
Method
is
* This method returns whether the type_url in any_message is corresponded * to the given class. * @param klass: The fully qualified PHP clas
deps/protobuf/php/src/Google/Protobuf/Internal/AnyBase.php:78
↓ 9 callers
Method
isOptional
Is this field declared optional?
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1179
↓ 9 callers
Method
is_unsigned
(cls)
coremltools/converters/mil/mil/types/type_int.py:87
↓ 9 callers
Function
jsondec_peek
deps/protobuf/php/ext/google/protobuf/php-upb.c:7516
↓ 9 callers
Function
jsondec_peek
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7131
↓ 9 callers
Function
jsonenc_printf
deps/protobuf/php/ext/google/protobuf/php-upb.c:8874
↓ 9 callers
Function
jsonenc_printf
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8489
↓ 9 callers
Method
load
Asynchronously loads the ``MLModel``.
coremltools/models/ml_program/experimental/async_wrapper.py:82
↓ 9 callers
Method
mergeMessage
Helper method to merge two MessageLite instances.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:386
↓ 9 callers
Method
mutable_field
deps/protobuf/src/google/protobuf/descriptor.pb.h:9531
↓ 9 callers
Method
name
deps/protobuf/src/google/protobuf/descriptor_database.cc:447
↓ 9 callers
Method
newBuilder
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/TypeRegistry.java:59
↓ 9 callers
Function
next
deps/protobuf/php/ext/google/protobuf/php-upb.c:2101
↓ 9 callers
Method
next
deps/protobuf/java/kotlin/src/main/kotlin/com/google/protobuf/UnmodifiableCollections.kt:66
↓ 9 callers
Method
parseException
Returns a {@link ParseException} with the current line and column numbers in the description, suitable for throwing.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1321
↓ 9 callers
Method
parseFrom
Parse a message of the given type from the given input stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:90
↓ 9 callers
Method
popLimit
Discards the current limit, returning to the previous limit. @param oldLimit The old limit, as returned by {@code pushLimit}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:481
↓ 9 callers
Method
read
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ParserTest.java:299
↓ 9 callers
Method
readUint64
(&$input, &$value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:185
↓ 9 callers
Method
removeAll
(Collection<?> c)
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java:153
↓ 9 callers
Function
rename_feature
Rename a feature in the specification. Parameters ---------- spec: Model_pb The specification containing the feature to rena
coremltools/models/utils.py:585
↓ 9 callers
Method
request
deps/pybind11/include/pybind11/pytypes.h:2274
↓ 9 callers
Method
requireBytes
(int size)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1695
↓ 9 callers
Function
ruby_to_EnumDescriptor
deps/protobuf/ruby/ext/google/protobuf_c/defs.c:1013
↓ 9 callers
Method
sax_parse
deps/nlohmann/json.hpp:10594
↓ 9 callers
Function
set
Sets the current value of the proto extension in this builder.*/
deps/protobuf/java/kotlin/src/main/kotlin/com/google/protobuf/ExtendableMessageExtensions.kt:37
↓ 9 callers
Method
setLocation
Record the starting location of a single value for a field. @param fieldDescriptor the field @param location source code location information
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java:181
↓ 9 callers
Method
setType
($type)
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:132
↓ 9 callers
Function
spatial_dimensions_out_shape
Args pad_type: string. Must be one of ('same', 'same_lower', 'valid', 'custom') input_shape: [iH, iW, ...]: spatial input dims (
coremltools/converters/mil/mil/ops/defs/_utils.py:239
↓ 9 callers
Method
startsWith
Tests if this bytestring starts with the specified prefix. Similar to {@link String#startsWith(String)} @param prefix the prefix. @return <code>true<
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:333
↓ 9 callers
Method
subtype
! @brief return the binary subtype Returns the numerical subtype of the value if it has a subtype. If it does not have a subtype, this fu
deps/nlohmann/json.hpp:4812
↓ 9 callers
Function
symtab_errf
deps/protobuf/php/ext/google/protobuf/php-upb.c:5729
↓ 9 callers
Function
symtab_errf
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5344
↓ 9 callers
Function
upb_arena_free
deps/protobuf/php/ext/google/protobuf/php-upb.c:2893
↓ 9 callers
Function
upb_arena_new
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:489
↓ 9 callers
Function
upb_fielddef_haspresence
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4944
↓ 9 callers
Function
upb_msg_has
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6677
↓ 9 callers
Function
upb_msg_mutable
deps/protobuf/php/ext/google/protobuf/php-upb.c:7098
↓ 9 callers
Function
upb_msg_new
deps/protobuf/php/ext/google/protobuf/php-upb.c:7046
↓ 9 callers
Function
upb_msgdef_wellknowntype
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5078
↓ 9 callers
Method
verifyContainingType
Verifies that the field is a field of this message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:612
↓ 9 callers
Method
width
(self)
coremltools/converters/mil/mil/types/type_int.py:28
← previous
next →
1,501–1,600 of 41,379, ranked by callers