MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 61 callersMethodcontaining_oneof
deps/protobuf/src/google/protobuf/descriptor.h:2246
↓ 61 callersMethodgetTagWireType
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 callersMethodgood
mlmodel/src/Result.cpp:27
↓ 61 callersMethodhashCode
Compute a hashCode for the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:75
↓ 61 callersMethodmin
(self)
coremltools/models/neural_network/update_optimizer_utils.py:158
↓ 60 callersMethodattr
deps/pybind11/include/pybind11/pytypes.h:2506
↓ 60 callersMethodgetClass
* @return string PHP class name */
deps/protobuf/php/src/Google/Protobuf/descriptor.php:62
↓ 59 callersMethodParse
deps/protobuf/src/google/protobuf/text_format.cc:1601
↓ 59 callersMethodstr
deps/pybind11/include/pybind11/pytypes.h:1738
↓ 58 callersFunction_parse_positional_args
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:585
↓ 58 callersMethoderase
deps/protobuf/src/google/protobuf/map.h:1305
↓ 58 callersMethodgetDescriptorForType
Get the {@code ServiceDescriptor} describing this service and its methods.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Service.java:48
↓ 58 callersMethodok
deps/protobuf/src/google/protobuf/stubs/statusor.h:231
↓ 58 callersFunctiontype
deps/protobuf/src/google/protobuf/map_field.h:89
↓ 57 callersMethodNew
deps/protobuf/src/google/protobuf/arena.cc:115
↓ 57 callersMethodcheckString
(&$var, $check_utf8)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:93
↓ 57 callersFunctionhex2bin
(s)
deps/protobuf/ruby/tests/encode_decode_test.rb:10
↓ 56 callersMethodClearField
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 callersMethodapply
(self, prog: Program)
coremltools/converters/mil/mil/passes/graph_pass.py:62
↓ 56 callersFunctioncreate
deps/nlohmann/json.hpp:17704
↓ 56 callersMethodlength
* Returns the length of the underlying buffer. * @return {number}
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:100
↓ 56 callersMethodmakeTag
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 callersMethodwrite
(self, val)
deps/protobuf/python/google/protobuf/text_format.py:103
↓ 55 callersFunction_GetDescriptor
Unchecked accessor to the C++ pointer.
deps/protobuf/python/google/protobuf/pyext/descriptor.cc:461
↓ 55 callersMethod_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 callersMethodgetFullName
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 callersMethodmakeImmutable
Marks repeated/map/extension/unknown fields as immutable.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:63
↓ 54 callersMethodSerializeToString
deps/protobuf/src/google/protobuf/message_lite.cc:462
↓ 54 callersMethodSize
mlmodel/src/MILBlob/Util/Span.hpp:274
↓ 54 callersMethodappend
( self, node_name: str, op_kind: str, node_shape: _List[int], param_co
coremltools/optimize/torch/_utils/graph_utils.py:300
↓ 54 callersMethodposition
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 callersMethodReadBool
<summary> Reads a bool field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:230
↓ 53 callersMethodToDiagnosticString
<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 callersMethodWriteBool
<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 callersMethodWriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:5825
↓ 53 callersMethod_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 callersFunctiondoc
Sanitize docstrings and add custom failure explanation
deps/pybind11/tests/conftest.py:176
↓ 53 callersMethodgetBytes
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalTestDataProvider.java:87
↓ 53 callersMethodgetInstance
Gets the singleton instance of the Protobuf runtime.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Protobuf.java:54
↓ 53 callersMethodgetKey
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:131
↓ 53 callersMethodinitOnce
()
deps/protobuf/php/src/GPBMetadata/Google/Protobuf/Api.php:11
↓ 53 callersMethodmax
(self)
coremltools/models/neural_network/update_optimizer_utils.py:162
↓ 53 callersMethodmaximum
mlmodel/src/LayerShapeConstraints.cpp:311
↓ 53 callersMethodnewBuilderForType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:97
↓ 53 callersMethodreplace
(ThreadContext context, IRubyObject list)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyRepeatedField.java:197
↓ 52 callersMethodbuildPartial
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:134
↓ 52 callersFunctioncount
deps/nlohmann/json.hpp:21252
↓ 52 callersMethodgetExtension
Get the value of an extension.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:907
↓ 52 callersMethodmergeFromString
* 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 callersMethodread
(byte[] b, int off, int len)
deps/protobuf/java/lite/src/test/java/com/google/protobuf/LiteTest.java:1442
↓ 51 callersMethodClearToEmpty
deps/protobuf/src/google/protobuf/arenastring.cc:236
↓ 51 callersMethodGetImmutableClassName
deps/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h:98
↓ 51 callersFunction_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 callersMethoddata
deps/pybind11/tests/test_buffers.cpp:119
↓ 51 callersMethodsetExtension
Set the value of an extension.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:1293
↓ 51 callersFunctionsetattr
deps/pybind11/include/pybind11/pytypes.h:922
↓ 51 callersFunctionverify_prediction
(mlmodel, multiarray_type=None)
coremltools/converters/mil/testing_utils.py:827
↓ 50 callersMethodForInt32
<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 callersMethodentrySet
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:80
↓ 50 callersMethodfind
deps/protobuf/src/google/protobuf/map.h:1245
↓ 50 callersMethodrelease
deps/pybind11/include/pybind11/pybind11.h:378
↓ 49 callersMethodInitialize
(ref Span<byte> buffer, ref WriterInternalState state, out WriteContext ctx)
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:58
↓ 49 callersMethodcheckRepeatedField
(&$var, $type, $klass = null)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:201
↓ 49 callersMethoddecode
(klass, proto)
deps/protobuf/ruby/lib/google/protobuf.rb:70
↓ 49 callersMethodempty
! @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 callersMethodinvalidWireType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:133
↓ 49 callersMethodsort
(self, *args, **kwargs)
deps/protobuf/python/google/protobuf/internal/containers.py:84
↓ 48 callersMethodEquals
(object other)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:19125
↓ 48 callersMethodappend
deps/pybind11/include/pybind11/pytypes.h:2187
↓ 48 callersMethodnewInstance
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 callersMethodvalues
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:355
↓ 47 callersMethodIsNull
deps/protobuf/src/google/protobuf/descriptor.cc:168
↓ 47 callersMethodReadBytes
<summary> Reads a bytes field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:265
↓ 47 callersMethodSetAllocated
deps/protobuf/src/google/protobuf/arenastring.cc:193
↓ 47 callersMethodputByte
(Object target, long offset, byte value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:123
↓ 46 callersMethodcomputeTagSize
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 callersMethodnewInstance
Create a new CodedInputStream wrapping the given InputStream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:80
↓ 46 callersMethodupdate
(self)
coremltools/converters/mil/mil/passes/defs/optimize_repeat_ops.py:1445
↓ 45 callersMethodTryMergeFieldFrom
<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 callersMethodUnsafeSetDefault
deps/protobuf/src/google/protobuf/arenastring.h:351
↓ 45 callersFunctionany_symbolic
(val)
coremltools/converters/mil/mil/types/symbolic.py:57
↓ 45 callersMethodcheckNotNull
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 callersMethodemptyList
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/IntArrayList.java:53
↓ 45 callersMethodisInitialized
Checks whether all required fields are set.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:66
↓ 45 callersFunctionload_boston
()
coremltools/test/utils.py:14
↓ 44 callersFunctionGetJavaType
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.cc:361
↓ 44 callersMethodReadInt64
<summary> Reads an int64 field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:194
↓ 44 callersFunction_parse_keyword_args
(context, node, dim)
coremltools/converters/mil/frontend/torch/ops.py:595
↓ 44 callersMethodadd_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 callersMethodensureIsMutable
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 callersMethodresize
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 callersMethodsubstring
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 callersMethodWriteInt64
<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 callersMethodcount
deps/protobuf/src/google/protobuf/map.h:1240
↓ 43 callersMethodcurrent
* 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 callersMethodend
mlmodel/src/MILBlob/Util/Span.hpp:357
↓ 43 callersMethodfile
deps/protobuf/src/google/protobuf/descriptor.h:2328
↓ 43 callersMethodmerge
(ParserImpl parser, JsonElement json, Message.Builder builder)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1352
↓ 43 callersMethodnewBuilder
Construct a {@link Message.Builder} for the given type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:140
↓ 43 callersMethodpop
Remove and discard the top context frame.
coremltools/converters/mil/frontend/torch/converter.py:509
← previousnext →201–300 of 41,379, ranked by callers