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
↓ 11 callers
Method
Clear
<summary> Clears the oneof in the specified message. </summary>
deps/protobuf/csharp/src/Google.Protobuf/Reflection/OneofAccessor.cs:84
↓ 11 callers
Method
Clone
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto2.cs:7918
↓ 11 callers
Method
ComputeUInt32Size
<summary> Computes the number of bytes that would be needed to encode a uint32 field, including the tag. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:171
↓ 11 callers
Method
EndObject
deps/protobuf/src/google/protobuf/util/internal/proto_writer.cc:489
↓ 11 callers
Method
EnforceLite
deps/protobuf/src/google/protobuf/compiler/java/java_context.h:87
↓ 11 callers
Function
EscapeJavadoc
deps/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc:48
↓ 11 callers
Function
ExpectAllFieldsSet
deps/protobuf/src/google/protobuf/proto3_arena_unittest.cc:92
↓ 11 callers
Function
FindPtrOrNull
deps/protobuf/src/google/protobuf/stubs/map_util.h:165
↓ 11 callers
Method
ForBytes
<summary> Retrieves a codec suitable for a bytes field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the give
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:64
↓ 11 callers
Method
GetOptions
<summary> The <c>EnumOptions</c>, defined in <c>descriptor.proto</c>. If the options message is not present (i.e. there are no options), <c>null</c> i
deps/protobuf/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs:140
↓ 11 callers
Method
GetSourceLocation
deps/protobuf/src/google/protobuf/descriptor.cc:1884
↓ 11 callers
Function
HasDescriptorMethods
Does this message class have descriptor and reflection methods?
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.h:248
↓ 11 callers
Method
IsInitialized
Checks if the message is initialized. Returns: bool: The method returns True if the message is initialized (i.e. all of its required
deps/protobuf/python/google/protobuf/message.py:145
↓ 11 callers
Method
MergeFrom
(self, other)
deps/protobuf/python/google/protobuf/internal/containers.py:389
↓ 11 callers
Method
MergeFrom
(EnumOnlyProto2 other)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto2.cs:7990
↓ 11 callers
Method
NestedMessage
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:23214
↓ 11 callers
Function
OnShutdownDelete
deps/protobuf/src/google/protobuf/message_lite.h:582
↓ 11 callers
Method
ParseError
Creates and *returns* a ParseError for the current token.
deps/protobuf/python/google/protobuf/text_format.py:1527
↓ 11 callers
Method
ParseMessage
deps/protobuf/src/google/protobuf/parse_context.h:661
↓ 11 callers
Method
PushBack
TODO: Why do we allow a different token to be pushed back? It might be better to always remember the previous token returned, and allow a parameterles
deps/protobuf/csharp/src/Google.Protobuf/JsonTokenizer.cs:84
↓ 11 callers
Method
Read
(byte[] buffer, int offset, int count)
deps/protobuf/csharp/src/Google.Protobuf.Test/CodedInputStreamTest.cs:678
↓ 11 callers
Method
ReadLittleEndian32
deps/protobuf/src/google/protobuf/io/coded_stream.h:1378
↓ 11 callers
Method
ReadSFixed64
<summary> Reads an sfixed64 field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:301
↓ 11 callers
Method
ReadSInt64
<summary> Reads an sint64 field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:319
↓ 11 callers
Method
SetType
deps/protobuf/src/google/protobuf/unknown_field_set.h:402
↓ 11 callers
Method
Size
(self)
deps/protobuf/python/google/protobuf/internal/reflection_test.py:2296
↓ 11 callers
Method
UnknownFields
Returns the UnknownFieldSet. Returns: UnknownFieldSet: The unknown fields stored in this message.
deps/protobuf/python/google/protobuf/message.py:337
↓ 11 callers
Function
ValidateSymbolName
Returns true if and only if all characters in the name are alphanumerics, underscores, or periods.
deps/protobuf/src/google/protobuf/descriptor_database.cc:153
↓ 11 callers
Function
WriteBlobFile
mlmodel/tests/MILBlob/BlobUtils.hpp:30
↓ 11 callers
Method
WriteSFixed64
<summary> Writes an sfixed64 value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:242
↓ 11 callers
Method
WriteSInt32
<summary> Writes an sint32 value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:251
↓ 11 callers
Method
WriteSInt64
<summary> Writes an sint64 value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:260
↓ 11 callers
Function
WriteVarint
deps/protobuf/src/google/protobuf/parse_context.cc:300
↓ 11 callers
Method
_InternalParse
deps/protobuf/src/google/protobuf/api.pb.cc:285
↓ 11 callers
Method
_internal_value
deps/protobuf/src/google/protobuf/wrappers.pb.h:1437
↓ 11 callers
Function
_upb_array_ptr
deps/protobuf/php/ext/google/protobuf/php-upb.h:1350
↓ 11 callers
Function
_upb_array_ptr
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1354
↓ 11 callers
Method
addMessageType
($desc)
deps/protobuf/php/src/Google/Protobuf/Internal/FileDescriptor.php:57
↓ 11 callers
Function
aggregated_pad
Args pad_type: string. Must be one of ('same', 'same_lower', 'valid', 'custom') kernel_shape: [kH, kW, ...]: spatial kernel dims
coremltools/converters/mil/mil/ops/defs/_utils.py:166
↓ 11 callers
Function
ascii_toupper
deps/protobuf/src/google/protobuf/stubs/strutil.h:91
↓ 11 callers
Method
assertPackedFieldsSet
Assert (using {@code junit.framework.Assert}} that all fields of {@code message} are set to the values assigned by {@code setPackedFields}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:1027
↓ 11 callers
Function
begin
deps/protobuf/php/ext/google/protobuf/php-upb.c:2110
↓ 11 callers
Function
callback
(_)
deps/pybind11/tests/test_pytypes.py:731
↓ 11 callers
Method
can_be_folded_to_const
When translating frontend ops to PyMIL ops, some vars could be directly folded into a const. For example, in PyTorch's `to()` op, the
coremltools/converters/mil/mil/var.py:214
↓ 11 callers
Function
checkCriticalType
* Ensures the given value has the correct type. * @param {boolean} expression * @param {string} errorMsg * @throws {!Error} If the value has the wr
deps/protobuf/js/experimental/runtime/internal/checks.js:328
↓ 11 callers
Method
checkLastTagWas
Verifies that the last call to readTag() returned the given tag value. This is used to verify that a nested group ended with the correct end tag. @th
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:221
↓ 11 callers
Function
concat
deps/pybind11/include/pybind11/detail/descr.h:139
↓ 11 callers
Method
contains
deps/pybind11/include/pybind11/pytypes.h:2523
↓ 11 callers
Method
createTypeError
(ThreadContext context, String message)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/Utils.java:283
↓ 11 callers
Function
delete_node
(g, node)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:161
↓ 11 callers
Method
dump
! @brief internal implementation of the serialization function This function is called by the public member function dump and organizes t
deps/nlohmann/json.hpp:15810
↓ 11 callers
Method
eq
(ThreadContext context, IRubyObject _other)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java:203
↓ 11 callers
Method
export
Export a pymil program into mil proto with the given specification version.
coremltools/converters/mil/backend/mil/load.py:494
↓ 11 callers
Method
fromBits
* Constructs a Int64 given two 32 bit numbers * @param {number} lowBits * @param {number} highBits * @return {!Int64}
deps/protobuf/js/experimental/runtime/int64.js:35
↓ 11 callers
Method
getMessageType
For embedded message and group fields, gets the field's type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1315
↓ 11 callers
Method
getType
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyFieldDescriptor.java:127
↓ 11 callers
Method
getValue
Returns message instance. It may do some thread-safe delayed parsing of bytes. @param defaultInstance its message's default instance. It's also used
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyFieldLite.java:222
↓ 11 callers
Method
getZero
@return {!Int64}
deps/protobuf/js/experimental/runtime/int64.js:15
↓ 11 callers
Method
hasExtension
Check if a singular extension is present.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:899
↓ 11 callers
Method
hasOneof
Returns true if the given oneof is set. @throws IllegalArgumentException if {@code oneof.getContainingType() != getDescriptorForType()}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:281
↓ 11 callers
Method
has_default_value
deps/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc:266
↓ 11 callers
Method
isImmutable
Whether toImmutable() has been called on this map field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldSchema.java:43
↓ 11 callers
Method
is_optional
deps/protobuf/src/google/protobuf/descriptor.h:2275
↓ 11 callers
Method
is_packable
deps/protobuf/src/google/protobuf/descriptor.h:2283
↓ 11 callers
Method
load_from_path
Loads the compute plan of a compiled model. The path must be the location of the ``mlmodelc`` directory. Parameters
coremltools/models/compute_plan.py:403
↓ 11 callers
Method
newInput
Creates an {@code InputStream} which can be used to read the bytes. <p>The {@link InputStream} returned by this method is guaranteed to be completely
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:953
↓ 11 callers
Method
nextToken
Advance to the next token.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:965
↓ 11 callers
Method
numberAt
(int pos)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5721
↓ 11 callers
Method
op_list
(self)
coremltools/converters/mil/experimental/passes/generic_pass_infrastructure.py:83
↓ 11 callers
Method
optimize_for
deps/protobuf/src/google/protobuf/descriptor.pb.h:12124
↓ 11 callers
Function
readPacked
* Read packed values. * @param {!BufferDecoder} bufferDecoder Binary format encoded bytes. * @param {number} start Start of the data. * @param {fun
deps/protobuf/js/experimental/runtime/kernel/reader.js:329
↓ 11 callers
Function
readRepeatedPrimitive
* Converts all entries of the index array to the template type using given read * methods and return an Iterable containing those converted values.
deps/protobuf/js/experimental/runtime/kernel/kernel.js:100
↓ 11 callers
Method
requireSpace
(int size)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:1438
↓ 11 callers
Method
requireSpace
(int size)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:2525
↓ 11 callers
Method
requireSpace
(int size)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:3064
↓ 11 callers
Function
ruby_to_Descriptor
deps/protobuf/ruby/ext/google/protobuf_c/defs.c:244
↓ 11 callers
Method
run_compare_torch
Traces a model and runs a numerical test. Args: input_as_shape <bool>: If true generates random input data with shape.
coremltools/converters/mil/frontend/torch/test/testing_utils.py:329
↓ 11 callers
Method
setFields
(TestMessage $m)
deps/protobuf/php/tests/test_base.php:10
↓ 11 callers
Method
setNumberValue
* Represents a double value. * * Generated from protobuf field <code>double number_value = 2;</code> * @param float $var * @return
deps/protobuf/php/src/Google/Protobuf/Value.php:103
↓ 11 callers
Method
toJsonString
(Message message)
deps/protobuf/java/util/src/test/java/com/google/protobuf/util/JsonFormatTest.java:172
↓ 11 callers
Function
unpack_def
deps/protobuf/php/ext/google/protobuf/php-upb.c:4969
↓ 11 callers
Function
unpack_def
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4584
↓ 11 callers
Function
upb_fielddef_ismap
deps/protobuf/php/ext/google/protobuf/php-upb.c:5320
↓ 11 callers
Function
upb_fielddef_ismap
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4935
↓ 11 callers
Function
upb_mapiter_key
Returns the key and value for this entry of the map. */
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6949
↓ 11 callers
Function
upb_msg_new
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6661
↓ 11 callers
Function
upb_strtable_done
deps/protobuf/php/ext/google/protobuf/php-upb.c:2356
↓ 11 callers
Function
upb_strtable_done
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2356
↓ 11 callers
Method
what
returns the explanatory string
deps/nlohmann/json.hpp:2643
↓ 11 callers
Method
writeUInt32
Writes a field of type {@link FieldType#UINT32}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:93
↓ 11 callers
Method
writeUInt64NoTag
(long value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:419
↓ 11 callers
Method
writeVarint32
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:866
↓ 11 callers
Method
write_character
deps/nlohmann/json.hpp:12932
↓ 10 callers
Method
AssertNextTag
(this CodedInputStream input, uint expectedTag)
deps/protobuf/csharp/src/Google.Protobuf.Test/CodedInputStreamExtensions.cs:39
↓ 10 callers
Method
BackUp
deps/protobuf/src/google/protobuf/io/gzip_stream.cc:171
↓ 10 callers
Method
CalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto2.cs:7980
↓ 10 callers
Method
CalculateSize
(ICodecTestData codec)
deps/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/FieldCodecTest.cs:80
↓ 10 callers
Method
CheckTypeAndMergeFrom
deps/protobuf/src/google/protobuf/message.cc:93
↓ 10 callers
Function
ClassName
deps/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:601
↓ 10 callers
Method
EndList
deps/protobuf/src/google/protobuf/util/internal/proto_writer.cc:532
← previous
next →
1,201–1,300 of 41,379, ranked by callers