MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 120 callersFunctionmax
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:6664
↓ 119 callersMethodOutdent
deps/protobuf/src/google/protobuf/io/printer.cc:188
↓ 118 callersMethodwarning
Return the collected error text
deps/protobuf/src/google/protobuf/compiler/importer_unittest.cc:127
↓ 117 callersMethodnumber
deps/protobuf/src/google/protobuf/type.pb.h:1748
↓ 116 callersMethodend
deps/protobuf/src/google/protobuf/map.h:1201
↓ 115 callersMethodsqueeze
Return a new view with all of the dimensions of length 1 removed
deps/pybind11/include/pybind11/numpy.h:1044
↓ 114 callersMethodCalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:19191
↓ 113 callersMethodCheckNotNull
<summary> Throws an ArgumentNullException if the given value is null, otherwise return the value to the caller. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ProtoPreconditions.cs:51
↓ 111 callersMethodAdd
deps/protobuf/src/google/protobuf/repeated_field.h:673
↓ 111 callersMethodMergeFrom
(OneBytes other)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:19204
↓ 111 callersMethodReadMessage
(this CodedInputStream stream, MessageParser<T> parser)
deps/protobuf/csharp/src/Google.Protobuf.Test/CodedInputStreamExtensions.cs:45
↓ 108 callersMethodParseJson
<summary> Parses a message from the given JSON. </summary> <param name="json">The JSON to parse.</param> <returns>The parsed message.</returns> <excep
deps/protobuf/csharp/src/Google.Protobuf/MessageParser.cs:179
↓ 107 callersMethodAdd
<summary> Adds <paramref name="value"/> to the <paramref name="list"/>, creating a new list if <paramref name="list"/> is null. The list is returned -
deps/protobuf/csharp/src/Google.Protobuf/UnknownField.cs:280
↓ 107 callersMethodmul
! @brief returns x * y @note The result is rounded. (Only the upper q bits are returned.) */
deps/nlohmann/json.hpp:14693
↓ 106 callersMethodClone
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:19093
↓ 106 callersFunctionassert_equal
(actual, expected_data, expected_dtype)
deps/pybind11/tests/test_numpy_dtypes.py:85
↓ 105 callersMethodremove_ops
Remove ops in `ops_to_remove`. Args: ops_to_remove: List[Operation]. All ops in this list must be pre-existing in the block.
coremltools/converters/mil/mil/block.py:889
↓ 104 callersMethodconcat
Concatenate the given {@code ByteString} to this one. Short concatenations, of total size smaller than {@link ByteString#CONCATENATE_BY_COPY_SIZE}, ar
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:582
↓ 103 callersMethodfrom_dict
Construct an ``OptimizationConfig`` instance from a nested dictionary. The dictionary should have the structure that only contains (i
coremltools/optimize/coreml/_config.py:1032
↓ 102 callersMethodComputeInt32Size
<summary> Computes the number of bytes that would be needed to encode an int32 field, including the tag. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:89
↓ 102 callersMethodSerializeToString
Serializes the protocol message to a binary string. Keyword Args: deterministic (bool): If true, requests deterministic serialization
deps/protobuf/python/google/protobuf/message.py:201
↓ 102 callersMethodgetNumber
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:200
↓ 100 callersMethodindex
To save space, index() is computed by looking at the descriptor's position in the parent's array of children.
deps/protobuf/src/google/protobuf/descriptor.h:2310
↓ 100 callersFunctionto_string
deps/protobuf/php/ext/google/protobuf/convert.c:333
↓ 99 callersMethodGetHashCode
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:19144
↓ 98 callersMethodGetDescriptor
Retrieves this service's descriptor.
deps/protobuf/python/google/protobuf/service.py:61
↓ 98 callersMethodshape
(self)
coremltools/converters/mil/mil/var.py:239
↓ 97 callersMethodPrint
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc:1018
↓ 97 callersMethodsub
! @brief returns x - y @pre x.e == y.e and x.f >= y.f */
deps/nlohmann/json.hpp:14681
↓ 97 callersMethodsubstr
deps/protobuf/src/google/protobuf/stubs/stringpiece.cc:246
↓ 96 callersMethodgetName
Get the type's unqualified name.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:676
↓ 95 callersMethodMutable
deps/protobuf/src/google/protobuf/arenastring.cc:120
↓ 95 callersFunctionmake_input
Ensure that variables, if const, are added to builder. variables: list[Var] or Var or str. Inputs for an nn layer. Returns: lis
coremltools/converters/mil/backend/nn/op_mapping.py:57
↓ 94 callersMethodclone
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:137
↓ 93 callersMethodreset
Resets the RpcController to its initial state so that it may be reused in a new call. This can be called from the client side only. It must not be cal
deps/protobuf/java/core/src/main/java/com/google/protobuf/RpcController.java:58
↓ 92 callersMethodsum
deps/pybind11/tests/test_methods_and_attributes.cpp:161
↓ 90 callersFunction_upb_hasbit
deps/protobuf/php/ext/google/protobuf/php-upb.h:1269
↓ 90 callersFunction_upb_hasbit
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1273
↓ 90 callersFunction_upb_sethas
deps/protobuf/php/ext/google/protobuf/php-upb.h:1273
↓ 90 callersFunction_upb_sethas
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1277
↓ 89 callersMethodHasField
Checks if a certain field is set for the message. For a oneof group, checks if any field inside is set. Note that if the field_name is not de
deps/protobuf/python/google/protobuf/message.py:263
↓ 89 callersMethodlength
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:201
↓ 88 callersMethoddata
deps/protobuf/src/google/protobuf/stubs/substitute.h:135
↓ 88 callersMethodvalue
deps/protobuf/src/google/protobuf/wrappers.pb.h:1440
↓ 87 callersMethodfind
deps/protobuf/src/google/protobuf/stubs/stringpiece.cc:89
↓ 85 callersMethodbegin
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:910
↓ 85 callersMethodreplace_uses_of_var_after_op
Replace all uses of `old_var` with `new_var` after `anchor_op`, and before `end_op` (inclusive). That is all the ops that us
coremltools/converters/mil/mil/block.py:747
↓ 83 callersMethodset
Replaces the element at the specified position in this list with the specified element (optional operation). @param index index of the element to rep
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringList.java:107
↓ 81 callersFunctionis_symbolic
(val)
coremltools/converters/mil/mil/types/symbolic.py:34
↓ 80 callersMethodIsDefault
deps/protobuf/src/google/protobuf/arena_impl.h:104
↓ 79 callersMethodis_extension
deps/protobuf/src/google/protobuf/descriptor.pb.h:13745
↓ 79 callersFunctionopen
deps/protobuf/src/google/protobuf/io/io_win32.cc:256
↓ 78 callersMethodCopyFrom
deps/protobuf/src/google/protobuf/api.pb.cc:559
↓ 78 callersMethodMergeFromString
deps/protobuf/src/google/protobuf/text_format.cc:1636
↓ 78 callersMethodfindFieldByName
Finds a field by name. @param name The unqualified name of the field (e.g. "foo"). For protocol buffer messages that follow <a href=https://d
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:794
↓ 78 callersMethodisRepeated
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:63
↓ 77 callersMethodWriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestProto3.cs:6014
↓ 77 callersMethodencode
(msg)
deps/protobuf/ruby/lib/google/protobuf.rb:62
↓ 77 callersMethodpush
(ThreadContext context, IRubyObject[] args)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyRepeatedField.java:168
↓ 77 callersMethodsave
Save the model to an ``.mlmodel`` format. For an MIL program, the ``save_path`` is a package directory containing the ``mlmodel`` and
coremltools/models/model.py:693
↓ 76 callersFunctionconst_name
deps/pybind11/include/pybind11/detail/descr.h:60
↓ 75 callersFunctionvalidate
mlmodel/src/Validation/PipelineValidator.cpp:18
↓ 73 callersMethodComputeStringSize
<summary> Computes the number of bytes that would be needed to encode a string field, including the tag. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:133
↓ 73 callersMethodremove
(Object key)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:112
↓ 72 callersMethodcopyFrom
Copies the given bytes into a {@code ByteString}. @param bytes source array @param offset offset in source array @param size number of bytes to copy
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:361
↓ 71 callersMethodComputeMessageSize
<summary> Computes the number of bytes that would be needed to encode an embedded message field, including the tag. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:152
↓ 71 callersMethodGet
deps/protobuf/src/google/protobuf/arenastring.h:104
↓ 71 callersMethoddata
deps/protobuf/src/google/protobuf/repeated_field.h:798
↓ 71 callersMethodsetField_
* Sets data for a singular field specified by the given field number. * @param {number} fieldNumber * @param {T} value * @param {function(!Wr
deps/protobuf/js/experimental/runtime/kernel/kernel.js:470
↓ 71 callersFunctionstr
deps/protobuf/src/google/protobuf/util/internal/datapiece.h:122
↓ 70 callersMethodFormat
<summary> Formats the specified message as JSON. </summary> <param name="message">The message to format.</param> <returns>The formatted message.</retu
deps/protobuf/csharp/src/Google.Protobuf/JsonFormatter.cs:144
↓ 70 callersMethodModel
coremlpython/CoreMLPython.h:240
↓ 70 callersFunctionget_new_symbol
Returns a new symbol, optionally named. name: str (optional) Optional name that provides more readability. If the name specified is
coremltools/converters/mil/mil/program.py:415
↓ 69 callersMethodcopy
(self)
coremltools/converters/mil/frontend/tensorflow/tfssa.py:69
↓ 69 callersMethodsetField
Sets a field to the given value. The value must be of the correct type for this field, i.e. the same type that {@link Message#getField(Descriptors.Fie
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:202
↓ 68 callersMethodgetSerializedSize
Compute the serialized size of the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:84
↓ 67 callersMethodWriteEnum
<summary> Writes an enum value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:224
↓ 67 callersMethodWriteTag
<summary> Encodes and writes a tag. </summary> <param name="fieldNumber">The number of the field to write the tag for</param> <param name="type">The w
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:282
↓ 67 callersMethodwriteTo
Writes the given message to the target {@link Writer}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Schema.java:43
↓ 66 callersMethodForMessage
<summary> Retrieves a codec suitable for a message field with the given tag. </summary> <param name="tag">The tag.</param> <param name="parser">A pars
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:404
↓ 66 callersMethodParseFromString
deps/protobuf/src/google/protobuf/text_format.cc:1618
↓ 66 callersFunctionany
deps/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.h:309
↓ 66 callersMethoddescription
Get the description for the KNearestNeighborsClassifier model. Returns ------- The description.
coremltools/models/nearest_neighbors/builder.py:246
↓ 66 callersMethodfit
Compute k-means clustering.
coremltools/optimize/torch/palettization/_efficient_kmeans.py:172
↓ 66 callersMethodname
($value)
deps/protobuf/php/src/Google/Protobuf/Syntax.php:34
↓ 65 callersFunctionAddError
Convenience method to add an error at the current line and column.
deps/protobuf/src/google/protobuf/io/tokenizer.h:336
↓ 65 callersMethodMakeTag
<summary> Makes a tag value given a field number and wire type. </summary>
deps/protobuf/csharp/src/Google.Protobuf/WireFormat.cs:99
↓ 65 callersMethodParseFrom
<summary> Parses a message from a byte array. </summary> <param name="data">The byte array containing the message. Must not be null.</param> <returns>
deps/protobuf/csharp/src/Google.Protobuf/MessageParser.cs:73
↓ 64 callersMethodbegin
deps/protobuf/src/google/protobuf/map.h:1200
↓ 64 callersMethodtoBytes
Helper to convert a String to ByteString.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:263
↓ 64 callersMethodtruncatedMessage
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:106
↓ 63 callersMethodClear
deps/protobuf/src/google/protobuf/api.pb.cc:266
↓ 63 callersMethodReadEnum
<summary> Reads an enum field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:282
↓ 63 callersMethodfind
deps/nlohmann/json.hpp:16800
↓ 63 callersFunctionmin
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:6669
↓ 63 callersMethodtoBuilder
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:100
↓ 62 callersMethodFindFieldByName
deps/protobuf/src/google/protobuf/descriptor.cc:2077
↓ 62 callersMethodis_map
deps/protobuf/src/google/protobuf/descriptor.h:2287
↓ 61 callersMethodParseFromString
Parse serialized protocol buffer data into this message. Like :func:`MergeFromString()`, except we clear the object first.
deps/protobuf/python/google/protobuf/message.py:193
↓ 61 callersMethod_get_rank
(self, name)
coremltools/models/neural_network/builder.py:1432
← previousnext →101–200 of 41,379, ranked by callers