MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 27 callersMethodWriteUInt64
<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 callersFunction_upb_has_submsg_nohasbit
deps/protobuf/php/ext/google/protobuf/php-upb.h:1326
↓ 27 callersFunction_upb_has_submsg_nohasbit
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1330
↓ 27 callersFunction_upb_symtab_loaddefinit
deps/protobuf/php/ext/google/protobuf/php-upb.c:6927
↓ 27 callersMethodclose
(self)
deps/protobuf/python/google/protobuf/text_format.py:106
↓ 27 callersMethodcontainsKey
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 callersMethodcount
deps/nlohmann/json.hpp:16788
↓ 27 callersMethodgetContainingOneof
Get the field's containing oneof.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1247
↓ 27 callersMethodgetMessage
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 callersMethodinsert
deps/nlohmann/json.hpp:16824
↓ 27 callersMethodkeySet
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:350
↓ 27 callersMethodnewBuilder
Create a new {@link Builder}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:66
↓ 27 callersMethodprepare
(self, inplace: bool = False)
coremltools/optimize/torch/pruning/magnitude_pruner.py:499
↓ 27 callersMethodrelease
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 callersMethodserializeToString
* Serialize the message to string. * @return string Serialized binary protobuf data. */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1560
↓ 27 callersMethodset_options
Sets options for a specific pass.
coremltools/converters/mil/mil/passes/pass_pipeline.py:363
↓ 27 callersMethodvalueOf
(String userFriendly)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Utf8Utils.java:76
↓ 26 callersMethodAddRange
<summary> Adds the specified extensions to the registry </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionRegistry.cs:101
↓ 26 callersMethodCalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:6015
↓ 26 callersMethodGetHashCode
()
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:5785
↓ 26 callersMethodNext
<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 callersMethodPrintString
deps/protobuf/src/google/protobuf/text_format.cc:1761
↓ 26 callersMethodReadGroup
<summary> Reads an embedded group field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:256
↓ 26 callersMethodReadUInt32
<summary> Reads a uint32 field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:273
↓ 26 callersFunctionSupportUnknownEnumValue
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 callersMethodToString
()
deps/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/FieldCodecTest.cs:208
↓ 26 callersMethodWriteDouble
<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 callersMethodWriteFixed32
<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 callersMethodWriteGroup
<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 callersMethodadd_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 callersFunctionbuiltin_to_string
Given a builtin type, return its corresponding string representation.
coremltools/converters/mil/mil/types/type_mapping.py:227
↓ 26 callersFunctionconvert
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 callersMethodisRepeated
Is this field declared repeated?
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1184
↓ 26 callersMethodlabel
deps/protobuf/src/google/protobuf/descriptor.h:2260
↓ 26 callersMethodmerge
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 callersMethodmessage_set_wire_format
deps/protobuf/src/google/protobuf/descriptor.pb.h:12917
↓ 26 callersMethodmsgclass
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptor.java:102
↓ 26 callersFunctionnext
deps/protobuf/src/google/protobuf/arena_impl.h:273
↓ 26 callersFunctionswap
deps/protobuf/src/google/protobuf/api.pb.h:128
↓ 26 callersMethodwriteUInt32NoTag
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:396
↓ 25 callersFunctionAssignDescriptors
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:2999
↓ 25 callersFunctionCEscape
deps/protobuf/src/google/protobuf/stubs/strutil.cc:595
↓ 25 callersMethodCopyFrom
<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 callersMethodDescriptorPool
deps/protobuf/src/google/protobuf/descriptor.cc:1898
↓ 25 callersMethodListFields
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 callersMethodMergeFromString
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 callersMethodModified
(self)
deps/protobuf/python/google/protobuf/internal/python_message.py:1508
↓ 25 callersMethodReadDouble
<summary> Reads a double field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:167
↓ 25 callersMethodWrite
(ref WriteContext ctx, T value, FieldCodec<T> codec)
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:619
↓ 25 callersMethodWriteUInt32
<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 callersFunction_add_elementwise_unary
( const_context, builder, op, mode, output_name=None, **kwargs )
coremltools/converters/mil/backend/nn/op_mapping.py:669
↓ 25 callersFunction_check_visible_modules
(actual, expected)
coremltools/test/api/test_api_visibilities.py:16
↓ 25 callersFunction_get_visible_items
(d)
coremltools/test/api/test_api_visibilities.py:12
↓ 25 callersMethodarray
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 callersMethoddeprecated
deps/protobuf/src/google/protobuf/descriptor.pb.h:12334
↓ 25 callersMethodgetRepeatedFieldCount
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 callersMethodget_primitive
(cls)
coremltools/converters/mil/mil/types/type_tensor.py:81
↓ 25 callersMethodis_required
deps/protobuf/src/google/protobuf/descriptor.h:2271
↓ 25 callersFunctionrepr
deps/pybind11/include/pybind11/pytypes.h:2467
↓ 25 callersMethodstep
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 callersFunctionupb_msgdef_itof
deps/protobuf/php/ext/google/protobuf/php-upb.c:5365
↓ 25 callersFunctionverify_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 callersMethodwriteFixed32
Writes a field of type {@link FieldType#FIXED32}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:81
↓ 25 callersMethodwriteString
Writes a field of type {@link FieldType#STRING}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:87
↓ 24 callersMethodCheckNoSpaceLeft
()
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:356
↓ 24 callersFunctionF
Shorthand to get a FieldDescriptor for a field of unittest::TestAllTypes.
deps/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc:83
↓ 24 callersMethodGetArenaForAllocation
Provides access to protected GetArenaForAllocation to generated messages.
deps/protobuf/src/google/protobuf/arena.h:405
↓ 24 callersMethodGetExtension
(pb::Extension<FileOptions, TValue> extension)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:6364
↓ 24 callersMethodGetFieldGeneratorInfo
deps/protobuf/src/google/protobuf/compiler/java/java_context.cc:170
↓ 24 callersMethodGetOptions
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 callersFunctionIsMapFieldInApi
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:83
↓ 24 callersMethodListFields
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:1504
↓ 24 callersMethodTestMessage
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/OldExtensions1.cs:59
↓ 24 callersFunctionWriteFieldDocComment
deps/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc:176
↓ 24 callersMethodalloc
deps/pybind11/include/pybind11/eigen/tensor.h:80
↓ 24 callersFunctionassert_output_dtype
(mlmodel, expected_type_str, expected_name=None, index=0)
coremltools/converters/mil/testing_utils.py:738
↓ 24 callersMethodbegin
mlmodel/src/MILBlob/Util/Span.hpp:352
↓ 24 callersMethodcomputeUInt32SizeNoTag
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 callersFunctioncreateBufferDecoder
* @param {...number} bytes * @return {!BufferDecoder}
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder_helper.js:12
↓ 24 callersMethodfindFieldByNumber
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 callersMethodgetContainingType
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 callersMethodgetJavaType
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 callersMethodgetType
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 callersMethodgetUnknownFields
Get the {@link UnknownFieldSet} for this message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java:132
↓ 24 callersFunctionis_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 callersFunctionmake_tuple
deps/pybind11/include/pybind11/cast.h:1383
↓ 24 callersMethodmutableCopyWithCapacity
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 callersMethodprintToString
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 callersMethodreadUInt32
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 callersMethodtype
deps/protobuf/src/google/protobuf/descriptor.cc:164
↓ 24 callersMethodupdateSequenceRange
mlmodel/src/LayerShapeConstraints.cpp:725
↓ 24 callersMethodwithField
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 callersMethodwrap
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 callersMethodEquals
(object other)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:5743
↓ 23 callersMethodForEnum
<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 callersMethodGet
<summary> Gets the value of the specified extension </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:61
↓ 23 callersMethodHas
<summary> Gets whether the value of the specified extension is set </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:143
↓ 23 callersFunctionHasHasbit
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:443
↓ 23 callersMethodMutableMessage
deps/protobuf/src/google/protobuf/extension_set.cc:642
↓ 23 callersMethodSet
<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
← previousnext →501–600 of 41,379, ranked by callers