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
↓ 23 callers
Method
SetValue
(T value)
deps/protobuf/csharp/src/Google.Protobuf/ExtensionValue.cs:121
↓ 23 callers
Method
ToByteArray
<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 callers
Method
WriteVarint32
deps/protobuf/src/google/protobuf/io/coded_stream.h:1685
↓ 23 callers
Method
add_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 callers
Method
add_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 callers
Method
arrayOffset
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 callers
Method
getMessageType
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 callers
Method
get_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 callers
Method
iterator
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteStringTest.java:220
↓ 23 callers
Method
limit
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 callers
Method
materialized_val_inference
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/quantization_ops.py:236
↓ 23 callers
Method
newDecoder
(byte[] data, int blockSize)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java:62
↓ 23 callers
Method
offset
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5745
↓ 23 callers
Method
optional
($name, $type, $number, $type_name = null)
deps/protobuf/php/src/Google/Protobuf/Internal/MessageBuilderContext.php:83
↓ 23 callers
Function
quantize_model
(model, data, config=None)
coremltools/test/optimize/torch/quantization/test_configure.py:72
↓ 23 callers
Method
rank
(self)
coremltools/converters/mil/mil/var.py:243
↓ 23 callers
Method
skipField
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 callers
Method
step
(self)
coremltools/optimize/torch/pruning/magnitude_pruner.py:531
↓ 23 callers
Method
toByteArray
Copies bytes to a {@code byte[]}. @return copied bytes
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:705
↓ 23 callers
Method
weak
deps/protobuf/src/google/protobuf/descriptor.pb.h:13215
↓ 23 callers
Method
writeMessage
Writes a field of type {@link FieldType#MESSAGE}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:102
↓ 22 callers
Method
CopyStateTo
(CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:361
↓ 22 callers
Function
FieldName
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:447
↓ 22 callers
Method
GetMetadata
deps/protobuf/src/google/protobuf/api.pb.cc:596
↓ 22 callers
Method
GetOrInitialize
<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 callers
Method
Merge
deps/protobuf/src/google/protobuf/text_format.cc:1625
↓ 22 callers
Method
Next
deps/protobuf/src/google/protobuf/io/printer.cc:232
↓ 22 callers
Function
ToUpper
deps/protobuf/src/google/protobuf/stubs/strutil.h:193
↓ 22 callers
Method
WriteFloat
<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 callers
Method
addField
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 callers
Method
assertAllFieldsSet
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 callers
Method
assertNotEqual
(Object unexpected, Object actual)
deps/protobuf/java/core/src/test/java/com/google/protobuf/LazyFieldTest.java:123
↓ 22 callers
Function
cast
deps/pybind11/include/pybind11/stl.h:261
↓ 22 callers
Method
dtype
deps/pybind11/include/pybind11/numpy.h:640
↓ 22 callers
Method
getDefaultInstance
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 callers
Method
getOptions
Get the {@code MessageOptions}, defined in {@code descriptor.proto}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:710
↓ 22 callers
Method
inc_ref
deps/pybind11/include/pybind11/gil.h:91
↓ 22 callers
Method
main
(String[] args)
deps/protobuf/examples/AddPerson.java:62
↓ 22 callers
Method
method
deps/pybind11/tests/test_numpy_vectorize.cpp:80
↓ 22 callers
Method
requireWireType
(int requiredWireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStreamReader.java:102
↓ 22 callers
Function
ruby_to_Message
deps/protobuf/ruby/ext/google/protobuf_c/message.c:71
↓ 22 callers
Method
setValue
(V value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:282
↓ 22 callers
Method
setWidth
mlmodel/src/LayerShapeConstraints.cpp:874
↓ 22 callers
Method
swap
deps/protobuf/src/google/protobuf/map.h:1335
↓ 22 callers
Function
upb_array_size
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6875
↓ 22 callers
Function
upb_fielddef_type
deps/protobuf/php/ext/google/protobuf/php-upb.c:5132
↓ 21 callers
Function
Add
deps/protobuf/src/google/protobuf/reflection.h:372
↓ 21 callers
Function
AssureWritable
deps/protobuf/python/google/protobuf/pyext/message.cc:866
↓ 21 callers
Function
CheckInvalidAccess
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:189
↓ 21 callers
Method
Clone
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3412
↓ 21 callers
Method
CopyFrom
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 callers
Function
HasDescriptorMethods
Do message classes in this file have descriptor and reflection methods?
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:407
↓ 21 callers
Function
HasPrefixString
---------------------------------------------------------------------- HasPrefixString() Check if a string begins with a given prefix. StripPrefixStri
deps/protobuf/src/google/protobuf/stubs/strutil.h:116
↓ 21 callers
Function
MergeFrom
deps/protobuf/src/google/protobuf/empty.pb.h:150
↓ 21 callers
Method
ReadFloat
<summary> Reads a float field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:176
↓ 21 callers
Method
WriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto2.cs:7958
↓ 21 callers
Function
addSoftmaxLayer
mlmodel/tests/ModelCreationUtils.cpp:151
↓ 21 callers
Function
assert_ops_in_mil_program
(mlmodel, expected_op_list)
coremltools/converters/mil/testing_utils.py:849
↓ 21 callers
Method
checkInt32
(&$var)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:111
↓ 21 callers
Function
descriptor
deps/protobuf/src/google/protobuf/api.pb.h:109
↓ 21 callers
Function
f
(*args, **kwargs)
deps/pybind11/tests/test_callbacks.py:51
↓ 21 callers
Function
find
deps/nlohmann/json.hpp:21201
↓ 21 callers
Method
getAllFields
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 callers
Method
getGeneratedPool
* @return DescriptorPool */
deps/protobuf/php/src/Google/Protobuf/DescriptorPool.php:44
↓ 21 callers
Method
getMethod
* 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 callers
Method
getNumArrayEntries
@return The number of entries in the entry array.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:178
↓ 21 callers
Method
getObject
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:560
↓ 21 callers
Method
getSyntax
Gets syntax for this type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageInfo.java:36
↓ 21 callers
Function
get_test_model_and_data_complex
()
coremltools/test/optimize/coreml/test_post_training_quantization.py:83
↓ 21 callers
Method
nanos
deps/protobuf/src/google/protobuf/duration.pb.h:261
↓ 21 callers
Method
pop
deps/protobuf/src/google/protobuf/util/internal/proto_writer.cc:345
↓ 21 callers
Function
print_copy_created
deps/pybind11/tests/constructor_stats.h:282
↓ 21 callers
Function
print_move_created
deps/pybind11/tests/constructor_stats.h:288
↓ 21 callers
Method
remove
Remove an op from the data structure.
coremltools/converters/mil/mil/utils.py:131
↓ 21 callers
Method
requireWireType
(int requiredWireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1701
↓ 21 callers
Function
ruby_to_Map
deps/protobuf/ruby/ext/google/protobuf_c/map.c:72
↓ 21 callers
Function
ruby_to_RepeatedField
deps/protobuf/ruby/ext/google/protobuf_c/repeated_field.c:63
↓ 21 callers
Method
set_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:10164
↓ 21 callers
Method
to_list
(self, allow_symbolic=False)
coremltools/converters/mil/input_types.py:527
↓ 21 callers
Function
walkModelAndPipeline
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 callers
Method
CalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3543
↓ 20 callers
Method
ComputeInt64Size
<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 callers
Method
CopyTo
deps/protobuf/src/google/protobuf/stubs/bytestream.cc:42
↓ 20 callers
Method
CreateFullTestAllTypes
<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 callers
Method
FindValueByNumber
deps/protobuf/src/google/protobuf/descriptor.cc:2337
↓ 20 callers
Method
GetHashCode
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3478
↓ 20 callers
Method
GetOneofGeneratorInfo
deps/protobuf/src/google/protobuf/compiler/java/java_context.cc:181
↓ 20 callers
Method
MergeFrom
(Aggregate other)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs:3562
↓ 20 callers
Function
MutableRepeatedField
deps/protobuf/src/google/protobuf/message.h:856
↓ 20 callers
Function
ReadTag
Same as ParseVarint but only accept 5 bytes at most.
deps/protobuf/src/google/protobuf/parse_context.h:550
↓ 20 callers
Method
Slice
Gets a sub-span starting at index */
mlmodel/src/MILBlob/Util/Span.hpp:316
↓ 20 callers
Function
_maintain_shape
(x, y)
coremltools/converters/mil/mil/ops/defs/iOS15/elementwise_unary.py:22
↓ 20 callers
Method
addInt
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 callers
Method
add_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 callers
Method
allocate
deps/protobuf/src/google/protobuf/map.h:118
↓ 20 callers
Method
clearField
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 callers
Method
computeLengthDelimitedFieldSize
(int fieldLength)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:885
↓ 20 callers
Function
cpp_type
deps/protobuf/src/google/protobuf/extension_set.cc:67
↓ 20 callers
Method
empty
deps/pybind11/include/pybind11/pytypes.h:2123
↓ 20 callers
Function
end
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:306
← previous
next →
601–700 of 41,379, ranked by callers