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
↓ 61 callers
Method
containing_oneof
deps/protobuf/src/google/protobuf/descriptor.h:2246
↓ 61 callers
Method
getTagWireType
Given a tag value, determines the wire type (the lower 3 bits).
deps/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java:66
↓ 61 callers
Method
good
mlmodel/src/Result.cpp:27
↓ 61 callers
Method
hashCode
Compute a hashCode for the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:75
↓ 61 callers
Method
min
(self)
coremltools/models/neural_network/update_optimizer_utils.py:158
↓ 60 callers
Method
attr
deps/pybind11/include/pybind11/pytypes.h:2506
↓ 60 callers
Method
getClass
* @return string PHP class name */
deps/protobuf/php/src/Google/Protobuf/descriptor.php:62
↓ 59 callers
Method
Parse
deps/protobuf/src/google/protobuf/text_format.cc:1601
↓ 59 callers
Method
str
deps/pybind11/include/pybind11/pytypes.h:1738
↓ 58 callers
Function
_parse_positional_args
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:585
↓ 58 callers
Method
erase
deps/protobuf/src/google/protobuf/map.h:1305
↓ 58 callers
Method
getDescriptorForType
Get the {@code ServiceDescriptor} describing this service and its methods.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Service.java:48
↓ 58 callers
Method
ok
deps/protobuf/src/google/protobuf/stubs/statusor.h:231
↓ 58 callers
Function
type
deps/protobuf/src/google/protobuf/map_field.h:89
↓ 57 callers
Method
New
deps/protobuf/src/google/protobuf/arena.cc:115
↓ 57 callers
Method
checkString
(&$var, $check_utf8)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:93
↓ 57 callers
Function
hex2bin
(s)
deps/protobuf/ruby/tests/encode_decode_test.rb:10
↓ 56 callers
Method
ClearField
Clears the contents of a given field. Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof grou
deps/protobuf/python/google/protobuf/message.py:281
↓ 56 callers
Method
apply
(self, prog: Program)
coremltools/converters/mil/mil/passes/graph_pass.py:62
↓ 56 callers
Function
create
deps/nlohmann/json.hpp:17704
↓ 56 callers
Method
length
* Returns the length of the underlying buffer. * @return {number}
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:100
↓ 56 callers
Method
makeTag
Makes a tag value given a field number and wire type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java:76
↓ 56 callers
Method
write
(self, val)
deps/protobuf/python/google/protobuf/text_format.py:103
↓ 55 callers
Function
_GetDescriptor
Unchecked accessor to the C++ pointer.
deps/protobuf/python/google/protobuf/pyext/descriptor.cc:461
↓ 55 callers
Method
_construct_test_graph
Construct an Function for the given @graph_inputs, @constants, and @test_node. Returns the output of the graph, which is the ssa
coremltools/converters/mil/frontend/torch/test/test_internal_graph.py:95
↓ 55 callers
Method
getFullName
Get the type's fully-qualified name, within the proto language's namespace. This differs from the Java name. For example, given this {@code .proto}:
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:693
↓ 55 callers
Method
makeImmutable
Marks repeated/map/extension/unknown fields as immutable.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:63
↓ 54 callers
Method
SerializeToString
deps/protobuf/src/google/protobuf/message_lite.cc:462
↓ 54 callers
Method
Size
mlmodel/src/MILBlob/Util/Span.hpp:274
↓ 54 callers
Method
append
( self, node_name: str, op_kind: str, node_shape: _List[int], param_co
coremltools/optimize/torch/_utils/graph_utils.py:300
↓ 54 callers
Method
position
Returns this buffer's position. @return The position of this buffer
deps/protobuf/java/core/src/main/java/com/google/protobuf/AllocatedBuffer.java:99
↓ 53 callers
Method
ReadBool
<summary> Reads a bool field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:230
↓ 53 callers
Method
ToDiagnosticString
<summary> Returns a string representation of this <see cref="Duration"/> for diagnostic purposes. </summary> <remarks> Normally the returned value wil
deps/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/DurationPartial.cs:239
↓ 53 callers
Method
WriteBool
<summary> Writes a bool field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:167
↓ 53 callers
Method
WriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:5825
↓ 53 callers
Method
_gen_constants
Helper function. Generates a list of internal constant nodes. Arguments: size: number of constants to generate vals:
coremltools/converters/mil/frontend/torch/test/test_internal_graph.py:66
↓ 53 callers
Function
doc
Sanitize docstrings and add custom failure explanation
deps/pybind11/tests/conftest.py:176
↓ 53 callers
Method
getBytes
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalTestDataProvider.java:87
↓ 53 callers
Method
getInstance
Gets the singleton instance of the Protobuf runtime.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Protobuf.java:54
↓ 53 callers
Method
getKey
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:131
↓ 53 callers
Method
initOnce
()
deps/protobuf/php/src/GPBMetadata/Google/Protobuf/Api.php:11
↓ 53 callers
Method
max
(self)
coremltools/models/neural_network/update_optimizer_utils.py:162
↓ 53 callers
Method
maximum
mlmodel/src/LayerShapeConstraints.cpp:311
↓ 53 callers
Method
newBuilderForType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:97
↓ 53 callers
Method
replace
(ThreadContext context, IRubyObject list)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyRepeatedField.java:197
↓ 52 callers
Method
buildPartial
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:134
↓ 52 callers
Function
count
deps/nlohmann/json.hpp:21252
↓ 52 callers
Method
getExtension
Get the value of an extension.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:907
↓ 52 callers
Method
mergeFromString
* Parses a protocol buffer contained in a string. * * This function takes a string in the (non-human-readable) binary wire * format, ma
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:772
↓ 52 callers
Method
read
(byte[] b, int off, int len)
deps/protobuf/java/lite/src/test/java/com/google/protobuf/LiteTest.java:1442
↓ 51 callers
Method
ClearToEmpty
deps/protobuf/src/google/protobuf/arenastring.cc:236
↓ 51 callers
Method
GetImmutableClassName
deps/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h:98
↓ 51 callers
Function
_macos_version
Returns macOS version as a tuple of integers, making it easy to do proper version comparisons. On non-Macs, it returns an empty tuple.
coremltools/test/optimize/torch/utils.py:69
↓ 51 callers
Method
data
deps/pybind11/tests/test_buffers.cpp:119
↓ 51 callers
Method
setExtension
Set the value of an extension.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:1293
↓ 51 callers
Function
setattr
deps/pybind11/include/pybind11/pytypes.h:922
↓ 51 callers
Function
verify_prediction
(mlmodel, multiarray_type=None)
coremltools/converters/mil/testing_utils.py:827
↓ 50 callers
Method
ForInt32
<summary> Retrieves a codec suitable for an int32 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the giv
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:84
↓ 50 callers
Method
entrySet
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:80
↓ 50 callers
Method
find
deps/protobuf/src/google/protobuf/map.h:1245
↓ 50 callers
Method
release
deps/pybind11/include/pybind11/pybind11.h:378
↓ 49 callers
Method
Initialize
(ref Span<byte> buffer, ref WriterInternalState state, out WriteContext ctx)
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:58
↓ 49 callers
Method
checkRepeatedField
(&$var, $type, $klass = null)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:201
↓ 49 callers
Method
decode
(klass, proto)
deps/protobuf/ruby/lib/google/protobuf.rb:70
↓ 49 callers
Method
empty
! @brief return whether pointer points to the root document @return true iff the JSON pointer points to the root document @complexity Co
deps/nlohmann/json.hpp:12183
↓ 49 callers
Method
invalidWireType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:133
↓ 49 callers
Method
sort
(self, *args, **kwargs)
deps/protobuf/python/google/protobuf/internal/containers.py:84
↓ 48 callers
Method
Equals
(object other)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:19125
↓ 48 callers
Method
append
deps/pybind11/include/pybind11/pytypes.h:2187
↓ 48 callers
Method
newInstance
Create a new {@code CodedOutputStream} wrapping the given {@code OutputStream}. <p>NOTE: The provided {@link OutputStream} <strong>MUST NOT</strong>
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:92
↓ 48 callers
Method
values
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:355
↓ 47 callers
Method
IsNull
deps/protobuf/src/google/protobuf/descriptor.cc:168
↓ 47 callers
Method
ReadBytes
<summary> Reads a bytes field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:265
↓ 47 callers
Method
SetAllocated
deps/protobuf/src/google/protobuf/arenastring.cc:193
↓ 47 callers
Method
putByte
(Object target, long offset, byte value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:123
↓ 46 callers
Method
computeTagSize
Compute the number of bytes that would be needed to encode a tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:709
↓ 46 callers
Method
newInstance
Create a new CodedInputStream wrapping the given InputStream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:80
↓ 46 callers
Method
update
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1445
↓ 45 callers
Method
TryMergeFieldFrom
<summary> Tries to merge a field from the coded input, returning true if the field was merged. If the set is null or the field was not otherwise merge
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:185
↓ 45 callers
Method
UnsafeSetDefault
deps/protobuf/src/google/protobuf/arenastring.h:351
↓ 45 callers
Function
any_symbolic
(val)
coremltools/converters/mil/mil/types/symbolic.py:57
↓ 45 callers
Method
checkNotNull
Throws an appropriate {@link NullPointerException} if the given objects is {@code null}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:62
↓ 45 callers
Method
emptyList
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/IntArrayList.java:53
↓ 45 callers
Method
isInitialized
Checks whether all required fields are set.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:66
↓ 45 callers
Function
load_boston
()
coremltools/test/utils.py:14
↓ 44 callers
Function
GetJavaType
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.cc:361
↓ 44 callers
Method
ReadInt64
<summary> Reads an int64 field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:194
↓ 44 callers
Function
_parse_keyword_args
(context, node, dim)
coremltools/converters/mil/frontend/torch/ops.py:595
↓ 44 callers
Method
add_activation
Add an activation layer to the model. Refer to the specification (NeuralNetwork.proto) for more details. Parameters
coremltools/models/neural_network/builder.py:1726
↓ 44 callers
Method
ensureIsMutable
Throws an {@link UnsupportedOperationException} if the list is immutable. Subclasses are responsible for invoking this method on mutate operations.
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java:175
↓ 44 callers
Method
resize
Resize array to given shape If refcheck is true and more that one reference exist to this array then resize will succeed only if it makes a reshape, i
deps/pybind11/include/pybind11/numpy.h:1052
↓ 44 callers
Method
substring
Return the substring from {@code beginIndex}, inclusive, to the end of the string. @param beginIndex start at this index @return substring sharing un
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:310
↓ 43 callers
Method
WriteInt64
<summary> Writes an int64 field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:131
↓ 43 callers
Method
count
deps/protobuf/src/google/protobuf/map.h:1240
↓ 43 callers
Method
current
* Return the element at the current position. * * @return object The element at the current position. */
deps/protobuf/php/src/Google/Protobuf/Internal/MapFieldIter.php:81
↓ 43 callers
Method
end
mlmodel/src/MILBlob/Util/Span.hpp:357
↓ 43 callers
Method
file
deps/protobuf/src/google/protobuf/descriptor.h:2328
↓ 43 callers
Method
merge
(ParserImpl parser, JsonElement json, Message.Builder builder)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1352
↓ 43 callers
Method
newBuilder
Construct a {@link Message.Builder} for the given type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:140
↓ 43 callers
Method
pop
Remove and discard the top context frame.
coremltools/converters/mil/frontend/torch/converter.py:509
← previous
next →
201–300 of 41,379, ranked by callers