MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 23 callersMethodSetValue
(T value)
deps/protobuf/csharp/src/Google.Protobuf/ExtensionValue.cs:121
↓ 23 callersMethodToByteArray
<summary> Converts this <see cref="ByteString"/> into a byte array. </summary> <remarks>The data is copied - changes to the returned array will not be
deps/protobuf/csharp/src/Google.Protobuf/ByteString.cs:134
↓ 23 callersMethodWriteVarint32
deps/protobuf/src/google/protobuf/io/coded_stream.h:1685
↓ 23 callersMethodadd_inner_product
Add an inner product layer to the model. Refer to the ``InnerProductLayerParams`` message in the specification (NeuralNetwork
coremltools/models/neural_network/builder.py:1462
↓ 23 callersMethodadd_transpose
Add a N-D transpose layer with axes as a parameter. Refer to the ``TransposeLayerParams`` message in the specification (NeuralNetwork
coremltools/models/neural_network/builder.py:4958
↓ 23 callersMethodarrayOffset
Returns the offset within this buffer's backing array of the first element of the buffer <i>(optional operation)</i>. <p>If this buffer is backed by
deps/protobuf/java/core/src/main/java/com/google/protobuf/AllocatedBuffer.java:92
↓ 23 callersMethodgetMessageType
If the extension is a message extension (i.e., getLiteType() == MESSAGE), returns the type of the message, otherwise undefined.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Extension.java:77
↓ 23 callersMethodget_compiled_model_path
Returns the path for the underlying compiled ML Model. **Important**: This path is available only for the lifetime of this Python ob
coremltools/models/model.py:758
↓ 23 callersMethoditerator
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteStringTest.java:220
↓ 23 callersMethodlimit
Returns this buffer's limit. @return The limit of this buffer
deps/protobuf/java/core/src/main/java/com/google/protobuf/AllocatedBuffer.java:116
↓ 23 callersMethodmaterialized_val_inference
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/quantization_ops.py:236
↓ 23 callersMethodnewDecoder
(byte[] data, int blockSize)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java:62
↓ 23 callersMethodoffset
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5745
↓ 23 callersMethodoptional
($name, $type, $number, $type_name = null)
deps/protobuf/php/src/Google/Protobuf/Internal/MessageBuilderContext.php:83
↓ 23 callersFunctionquantize_model
(model, data, config=None)
coremltools/test/optimize/torch/quantization/test_configure.py:72
↓ 23 callersMethodrank
(self)
coremltools/converters/mil/mil/var.py:243
↓ 23 callersMethodskipField
Skips the current field and advances the reader to the next field. @return {@code true} if there are more fields or {@code false} if the end of input
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:73
↓ 23 callersMethodstep
(self)
coremltools/optimize/torch/pruning/magnitude_pruner.py:531
↓ 23 callersMethodtoByteArray
Copies bytes to a {@code byte[]}. @return copied bytes
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:705
↓ 23 callersMethodweak
deps/protobuf/src/google/protobuf/descriptor.pb.h:13215
↓ 23 callersMethodwriteMessage
Writes a field of type {@link FieldType#MESSAGE}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:102
↓ 22 callersMethodCopyStateTo
(CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:361
↓ 22 callersFunctionFieldName
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:447
↓ 22 callersMethodGetMetadata
deps/protobuf/src/google/protobuf/api.pb.cc:596
↓ 22 callersMethodGetOrInitialize
<summary> Gets the value of the specified repeated extension, registering it if it doesn't exist </summary>
deps/protobuf/csharp/src/Google.Protobuf/ExtensionSet.cs:93
↓ 22 callersMethodMerge
deps/protobuf/src/google/protobuf/text_format.cc:1625
↓ 22 callersMethodNext
deps/protobuf/src/google/protobuf/io/printer.cc:232
↓ 22 callersFunctionToUpper
deps/protobuf/src/google/protobuf/stubs/strutil.h:193
↓ 22 callersMethodWriteFloat
<summary> Writes a float field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:113
↓ 22 callersMethodaddField
Add a field to the {@code UnknownFieldSet}. If a field with the same number already exists, it is removed.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:491
↓ 22 callersMethodassertAllFieldsSet
Assert (using {@code junit.framework.Assert}} that all fields of {@code message} are set to the values assigned by {@code setAllFields}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:489
↓ 22 callersMethodassertNotEqual
(Object unexpected, Object actual)
deps/protobuf/java/core/src/test/java/com/google/protobuf/LazyFieldTest.java:123
↓ 22 callersFunctioncast
deps/pybind11/include/pybind11/stl.h:261
↓ 22 callersMethoddtype
deps/pybind11/include/pybind11/numpy.h:640
↓ 22 callersMethodgetDefaultInstance
Get a {@code DynamicMessage} representing the default instance of the given type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:78
↓ 22 callersMethodgetOptions
Get the {@code MessageOptions}, defined in {@code descriptor.proto}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:710
↓ 22 callersMethodinc_ref
deps/pybind11/include/pybind11/gil.h:91
↓ 22 callersMethodmain
(String[] args)
deps/protobuf/examples/AddPerson.java:62
↓ 22 callersMethodmethod
deps/pybind11/tests/test_numpy_vectorize.cpp:80
↓ 22 callersMethodrequireWireType
(int requiredWireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStreamReader.java:102
↓ 22 callersFunctionruby_to_Message
deps/protobuf/ruby/ext/google/protobuf_c/message.c:71
↓ 22 callersMethodsetValue
(V value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:282
↓ 22 callersMethodsetWidth
mlmodel/src/LayerShapeConstraints.cpp:874
↓ 22 callersMethodswap
deps/protobuf/src/google/protobuf/map.h:1335
↓ 22 callersFunctionupb_array_size
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6875
↓ 22 callersFunctionupb_fielddef_type
deps/protobuf/php/ext/google/protobuf/php-upb.c:5132
↓ 21 callersFunctionAdd
deps/protobuf/src/google/protobuf/reflection.h:372
↓ 21 callersFunctionAssureWritable
deps/protobuf/python/google/protobuf/pyext/message.cc:866
↓ 21 callersFunctionCheckInvalidAccess
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:189
↓ 21 callersMethodClone
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3412
↓ 21 callersMethodCopyFrom
Copies the content of the specified message into the current message. The method clears the current message and then merges the specified mes
deps/protobuf/python/google/protobuf/message.py:117
↓ 21 callersFunctionHasDescriptorMethods
Do message classes in this file have descriptor and reflection methods?
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:407
↓ 21 callersFunctionHasPrefixString
---------------------------------------------------------------------- HasPrefixString() Check if a string begins with a given prefix. StripPrefixStri
deps/protobuf/src/google/protobuf/stubs/strutil.h:116
↓ 21 callersFunctionMergeFrom
deps/protobuf/src/google/protobuf/empty.pb.h:150
↓ 21 callersMethodReadFloat
<summary> Reads a float field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:176
↓ 21 callersMethodWriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto2.cs:7958
↓ 21 callersFunctionaddSoftmaxLayer
mlmodel/tests/ModelCreationUtils.cpp:151
↓ 21 callersFunctionassert_ops_in_mil_program
(mlmodel, expected_op_list)
coremltools/converters/mil/testing_utils.py:849
↓ 21 callersMethodcheckInt32
(&$var)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:111
↓ 21 callersFunctiondescriptor
deps/protobuf/src/google/protobuf/api.pb.h:109
↓ 21 callersFunctionf
(*args, **kwargs)
deps/pybind11/tests/test_callbacks.py:51
↓ 21 callersFunctionfind
deps/nlohmann/json.hpp:21201
↓ 21 callersMethodgetAllFields
Returns a collection of all the fields in this message which are set and their corresponding values. A singular ("required" or "optional") field is se
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java:82
↓ 21 callersMethodgetGeneratedPool
* @return DescriptorPool */
deps/protobuf/php/src/Google/Protobuf/DescriptorPool.php:44
↓ 21 callersMethodgetMethod
* Generated from protobuf field <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> * @return \Google\Protobuf\Internal\Repe
deps/protobuf/php/src/Google/Protobuf/Internal/ServiceDescriptorProto.php:85
↓ 21 callersMethodgetNumArrayEntries
@return The number of entries in the entry array.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:178
↓ 21 callersMethodgetObject
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:560
↓ 21 callersMethodgetSyntax
Gets syntax for this type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageInfo.java:36
↓ 21 callersFunctionget_test_model_and_data_complex
()
coremltools/test/optimize/coreml/test_post_training_quantization.py:83
↓ 21 callersMethodnanos
deps/protobuf/src/google/protobuf/duration.pb.h:261
↓ 21 callersMethodpop
deps/protobuf/src/google/protobuf/util/internal/proto_writer.cc:345
↓ 21 callersFunctionprint_copy_created
deps/pybind11/tests/constructor_stats.h:282
↓ 21 callersFunctionprint_move_created
deps/pybind11/tests/constructor_stats.h:288
↓ 21 callersMethodremove
Remove an op from the data structure.
coremltools/converters/mil/mil/utils.py:131
↓ 21 callersMethodrequireWireType
(int requiredWireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1701
↓ 21 callersFunctionruby_to_Map
deps/protobuf/ruby/ext/google/protobuf_c/map.c:72
↓ 21 callersFunctionruby_to_RepeatedField
deps/protobuf/ruby/ext/google/protobuf_c/repeated_field.c:63
↓ 21 callersMethodset_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:10164
↓ 21 callersMethodto_list
(self, allow_symbolic=False)
coremltools/converters/mil/input_types.py:527
↓ 21 callersFunctionwalkModelAndPipeline
A utility function to traverse a pipeline model and invoke a handler. If the model is not a pipeline, it simply invokes the handler with the model.
mlmodel/src/Utils.cpp:65
↓ 20 callersMethodCalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3543
↓ 20 callersMethodComputeInt64Size
<summary> Computes the number of bytes that would be needed to encode an int64 field, including the tag. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:80
↓ 20 callersMethodCopyTo
deps/protobuf/src/google/protobuf/stubs/bytestream.cc:42
↓ 20 callersMethodCreateFullTestAllTypes
<summary> Creates a new sample TestAllTypes message with all fields populated. The "oneof" field is populated with the string property (OneofString).
deps/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/SampleMessages.cs:47
↓ 20 callersMethodFindValueByNumber
deps/protobuf/src/google/protobuf/descriptor.cc:2337
↓ 20 callersMethodGetHashCode
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3478
↓ 20 callersMethodGetOneofGeneratorInfo
deps/protobuf/src/google/protobuf/compiler/java/java_context.cc:181
↓ 20 callersMethodMergeFrom
(Aggregate other)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3562
↓ 20 callersFunctionMutableRepeatedField
deps/protobuf/src/google/protobuf/message.h:856
↓ 20 callersFunctionReadTag
Same as ParseVarint but only accept 5 bytes at most.
deps/protobuf/src/google/protobuf/parse_context.h:550
↓ 20 callersMethodSlice
Gets a sub-span starting at index */
mlmodel/src/MILBlob/Util/Span.hpp:316
↓ 20 callersFunction_maintain_shape
(x, y)
coremltools/converters/mil/mil/ops/defs/iOS15/elementwise_unary.py:22
↓ 20 callersMethodaddInt
Like {@link #add(Integer)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/IntArrayList.java:193
↓ 20 callersMethodadd_elementwise
Add an element-wise operation layer to the model. Refer to the specification (NeuralNetwork.proto) for more details. Paramet
coremltools/models/neural_network/builder.py:1925
↓ 20 callersMethodallocate
deps/protobuf/src/google/protobuf/map.h:118
↓ 20 callersMethodclearField
Clears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:208
↓ 20 callersMethodcomputeLengthDelimitedFieldSize
(int fieldLength)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:885
↓ 20 callersFunctioncpp_type
deps/protobuf/src/google/protobuf/extension_set.cc:67
↓ 20 callersMethodempty
deps/pybind11/include/pybind11/pytypes.h:2123
↓ 20 callersFunctionend
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:306
← previousnext →601–700 of 41,379, ranked by callers