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
↓ 27 callers
Method
WriteUInt64
<summary> Writes a uint64 field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:122
↓ 27 callers
Function
_upb_has_submsg_nohasbit
deps/protobuf/php/ext/google/protobuf/php-upb.h:1326
↓ 27 callers
Function
_upb_has_submsg_nohasbit
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1330
↓ 27 callers
Function
_upb_symtab_loaddefinit
deps/protobuf/php/ext/google/protobuf/php-upb.c:6927
↓ 27 callers
Method
close
(self)
deps/protobuf/python/google/protobuf/text_format.py:106
↓ 27 callers
Method
containsKey
The implementation throws a {@code ClassCastException} if o is not an object of type {@code K}. <p>{@inheritDoc}
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:215
↓ 27 callers
Method
count
deps/nlohmann/json.hpp:16788
↓ 27 callers
Method
getContainingOneof
Get the field's containing oneof.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1247
↓ 27 callers
Method
getMessage
Get the message for the field. If the message is currently stored as a {@code Builder}, it is converted to a {@code Message} by calling {@link Message
deps/protobuf/java/core/src/main/java/com/google/protobuf/SingleFieldBuilder.java:97
↓ 27 callers
Method
insert
deps/nlohmann/json.hpp:16824
↓ 27 callers
Method
keySet
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:350
↓ 27 callers
Method
newBuilder
Create a new {@link Builder}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:66
↓ 27 callers
Method
prepare
(self, inplace: bool = False)
coremltools/optimize/torch/pruning/magnitude_pruner.py:499
↓ 27 callers
Method
release
Releases ownership of the object without decrementing the reference count. The caller now owns the returned reference.
deps/protobuf/python/google/protobuf/pyext/scoped_pyobject_ptr.h:70
↓ 27 callers
Method
serializeToString
* Serialize the message to string. * @return string Serialized binary protobuf data. */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1560
↓ 27 callers
Method
set_options
Sets options for a specific pass.
coremltools/converters/mil/mil/passes/pass_pipeline.py:363
↓ 27 callers
Method
valueOf
(String userFriendly)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Utf8Utils.java:76
↓ 26 callers
Method
AddRange
<summary> Adds the specified extensions to the registry </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionRegistry.cs:101
↓ 26 callers
Method
CalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:6015
↓ 26 callers
Method
GetHashCode
()
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:5785
↓ 26 callers
Method
Next
<summary> Returns the next JSON token in the stream. An EndDocument token is returned to indicate the end of the stream, after which point <c>Next()</
deps/protobuf/csharp/src/Google.Protobuf/JsonTokenizer.cs:109
↓ 26 callers
Method
PrintString
deps/protobuf/src/google/protobuf/text_format.cc:1761
↓ 26 callers
Method
ReadGroup
<summary> Reads an embedded group field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:256
↓ 26 callers
Method
ReadUInt32
<summary> Reads a uint32 field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:273
↓ 26 callers
Function
SupportUnknownEnumValue
Whether unknown enum values are kept (i.e., not stored in UnknownFieldSet but in the message and can be queried using additional getters that return i
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.h:393
↓ 26 callers
Method
ToString
()
deps/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/FieldCodecTest.cs:208
↓ 26 callers
Method
WriteDouble
<summary> Writes a double field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:104
↓ 26 callers
Method
WriteFixed32
<summary> Writes a fixed32 field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:158
↓ 26 callers
Method
WriteGroup
<summary> Writes a group, without a tag, to the stream. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:196
↓ 26 callers
Method
add_batched_mat_mul
Add a N-D Batched Matrix Multiplication layer with NumPy-like broadcasting. Refer to the ``BatchedMatMulLayerParams`` message in the
coremltools/models/neural_network/builder.py:7035
↓ 26 callers
Function
builtin_to_string
Given a builtin type, return its corresponding string representation.
coremltools/converters/mil/mil/types/type_mapping.py:227
↓ 26 callers
Function
convert
Convert a Support Vector Regressor (SVR) model to the protobuf spec. Parameters ---------- model: SVR A trained SVR encoder model.
coremltools/converters/sklearn/_SVR.py:53
↓ 26 callers
Method
isRepeated
Is this field declared repeated?
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1184
↓ 26 callers
Method
label
deps/protobuf/src/google/protobuf/descriptor.h:2260
↓ 26 callers
Method
merge
Parse a text-format message from {@code input} and merge the contents into {@code builder}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1448
↓ 26 callers
Method
message_set_wire_format
deps/protobuf/src/google/protobuf/descriptor.pb.h:12917
↓ 26 callers
Method
msgclass
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptor.java:102
↓ 26 callers
Function
next
deps/protobuf/src/google/protobuf/arena_impl.h:273
↓ 26 callers
Function
swap
deps/protobuf/src/google/protobuf/api.pb.h:128
↓ 26 callers
Method
writeUInt32NoTag
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:396
↓ 25 callers
Function
AssignDescriptors
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:2999
↓ 25 callers
Function
CEscape
deps/protobuf/src/google/protobuf/stubs/strutil.cc:595
↓ 25 callers
Method
CopyFrom
<summary> Constructs a <see cref="ByteString" /> from the given array. The contents are copied, so further modifications to the array will not be refl
deps/protobuf/csharp/src/Google.Protobuf/ByteString.cs:212
↓ 25 callers
Method
DescriptorPool
deps/protobuf/src/google/protobuf/descriptor.cc:1898
↓ 25 callers
Method
ListFields
Returns a list of (FieldDescriptor, value) tuples for present fields. A message field is non-empty if HasField() would return true. A singular
deps/protobuf/python/google/protobuf/message.py:248
↓ 25 callers
Method
MergeFromString
Merges serialized protocol buffer data into this message. When we find a field in `serialized` that is already present in this message:
deps/protobuf/python/google/protobuf/message.py:160
↓ 25 callers
Method
Modified
(self)
deps/protobuf/python/google/protobuf/internal/python_message.py:1508
↓ 25 callers
Method
ReadDouble
<summary> Reads a double field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:167
↓ 25 callers
Method
Write
(ref WriteContext ctx, T value, FieldCodec<T> codec)
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:619
↓ 25 callers
Method
WriteUInt32
<summary> Writes a uint32 value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:215
↓ 25 callers
Function
_add_elementwise_unary
( const_context, builder, op, mode, output_name=None, **kwargs )
coremltools/converters/mil/backend/nn/op_mapping.py:669
↓ 25 callers
Function
_check_visible_modules
(actual, expected)
coremltools/test/api/test_api_visibilities.py:16
↓ 25 callers
Function
_get_visible_items
(d)
coremltools/test/api/test_api_visibilities.py:12
↓ 25 callers
Method
array
Returns the byte array that backs this buffer <i>(optional operation)</i>. <p>Call {@link #hasArray()} before invoking this method in order to ensure
deps/protobuf/java/core/src/main/java/com/google/protobuf/AllocatedBuffer.java:76
↓ 25 callers
Method
deprecated
deps/protobuf/src/google/protobuf/descriptor.pb.h:12334
↓ 25 callers
Method
getRepeatedFieldCount
Gets the number of elements of a repeated field. This is exactly equivalent to calling the generated "Count" accessor method corresponding to the fiel
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java:119
↓ 25 callers
Method
get_primitive
(cls)
coremltools/converters/mil/mil/types/type_tensor.py:81
↓ 25 callers
Method
is_required
deps/protobuf/src/google/protobuf/descriptor.h:2271
↓ 25 callers
Function
repr
deps/pybind11/include/pybind11/pytypes.h:2467
↓ 25 callers
Method
step
Steps through the milestones defined for this quantizer. The first milestone corresponds to enabling observers, the second t
coremltools/optimize/torch/quantization/quantizer.py:236
↓ 25 callers
Function
upb_msgdef_itof
deps/protobuf/php/ext/google/protobuf/php-upb.c:5365
↓ 25 callers
Function
verify_model_outputs
This utility functions does the following checks: (1) Verify the output of the compressed model has the same shape / type of the original mo
coremltools/test/optimize/coreml/test_post_training_quantization.py:199
↓ 25 callers
Method
writeFixed32
Writes a field of type {@link FieldType#FIXED32}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:81
↓ 25 callers
Method
writeString
Writes a field of type {@link FieldType#STRING}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:87
↓ 24 callers
Method
CheckNoSpaceLeft
()
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:356
↓ 24 callers
Function
F
Shorthand to get a FieldDescriptor for a field of unittest::TestAllTypes.
deps/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc:83
↓ 24 callers
Method
GetArenaForAllocation
Provides access to protected GetArenaForAllocation to generated messages.
deps/protobuf/src/google/protobuf/arena.h:405
↓ 24 callers
Method
GetExtension
(pb::Extension<FileOptions, TValue> extension)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:6364
↓ 24 callers
Method
GetFieldGeneratorInfo
deps/protobuf/src/google/protobuf/compiler/java/java_context.cc:170
↓ 24 callers
Method
GetOptions
Retrieves descriptor options. This method returns the options set or creates the default options for the descriptor.
deps/protobuf/python/google/protobuf/descriptor.py:157
↓ 24 callers
Function
IsMapFieldInApi
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:83
↓ 24 callers
Method
ListFields
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:1504
↓ 24 callers
Method
TestMessage
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/OldExtensions1.cs:59
↓ 24 callers
Function
WriteFieldDocComment
deps/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc:176
↓ 24 callers
Method
alloc
deps/pybind11/include/pybind11/eigen/tensor.h:80
↓ 24 callers
Function
assert_output_dtype
(mlmodel, expected_type_str, expected_name=None, index=0)
coremltools/converters/mil/testing_utils.py:738
↓ 24 callers
Method
begin
mlmodel/src/MILBlob/Util/Span.hpp:352
↓ 24 callers
Method
computeUInt32SizeNoTag
Compute the number of bytes that would be needed to encode a {@code uint32} field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:727
↓ 24 callers
Function
createBufferDecoder
* @param {...number} bytes * @return {!BufferDecoder}
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder_helper.js:12
↓ 24 callers
Method
findFieldByNumber
Finds a field by field number. @param number The field number within this message type. @return The field's descriptor, or {@code null} if not found.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:809
↓ 24 callers
Method
getContainingType
If this is a nested type, get the outer descriptor, otherwise null.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:705
↓ 24 callers
Method
getJavaType
Get the field's java type. This is just for convenience. Every {@code FieldDescriptorProto.Type} maps to exactly one Java type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1120
↓ 24 callers
Method
getType
Gets the required type for a field that would hold a value of this type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/JavaType.java:63
↓ 24 callers
Method
getUnknownFields
Get the {@link UnknownFieldSet} for this message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java:132
↓ 24 callers
Function
is_object
! @brief return whether value is an object This function returns true if and only if the JSON value is an object. @return `true` if type
deps/nlohmann/json.hpp:19433
↓ 24 callers
Function
make_tuple
deps/pybind11/include/pybind11/cast.h:1383
↓ 24 callers
Method
mutableCopyWithCapacity
Returns a mutable clone of this list with the specified capacity.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:603
↓ 24 callers
Method
printToString
Like {@code print()}, but writes directly to a {@code String} and returns it. @deprecated Use {@code message.toString()}
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:147
↓ 24 callers
Method
readUInt32
Reads and returns the next field of type {@code UINT32} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:171
↓ 24 callers
Method
type
deps/protobuf/src/google/protobuf/descriptor.cc:164
↓ 24 callers
Method
updateSequenceRange
mlmodel/src/LayerShapeConstraints.cpp:725
↓ 24 callers
Method
withField
Specifies the actual field on the message represented by this field. This should not be called for oneof member fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:470
↓ 24 callers
Method
wrap
Wraps the given bytes into a {@code ByteString}. Intended for internal only usage.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:377
↓ 23 callers
Method
Equals
(object other)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:5743
↓ 23 callers
Method
ForEnum
<summary> Retrieves a codec suitable for an enum field with the given tag. </summary> <param name="tag">The tag.</param> <param name="toInt32">A conve
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:209
↓ 23 callers
Method
Get
<summary> Gets the value of the specified extension </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:61
↓ 23 callers
Method
Has
<summary> Gets whether the value of the specified extension is set </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:143
↓ 23 callers
Function
HasHasbit
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:443
↓ 23 callers
Method
MutableMessage
deps/protobuf/src/google/protobuf/extension_set.cc:642
↓ 23 callers
Method
Set
<summary> Sets the value of the specified extension. This will make a new instance of ExtensionSet if the set is null. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:117
← previous
next →
501–600 of 41,379, ranked by callers